11 critical or high. Mitigated means a @mitigates covers the same asset and threat; accepted means an @accepts in code signs the risk off. Acceptances shown here are read from @accepts annotations in this repository, not from the server decision log. An annotation is a proposal signed in a commit; the signer is free text and is not verified.
Counting only the files tagged @feature "Expense Tracking" and the definitions they reference.
4 of 5 exposures are open
1 critical or high. Mitigated means a @mitigates covers the same asset and threat; accepted means an @accepts in code signs the risk off. Acceptances shown here are read from @accepts annotations in this repository, not from the server decision log. An annotation is a proposal signed in a commit; the signer is free text and is not verified.
131 claims in this model have never been checked against the code beneath them. A first whole-repository verify records the baseline; from then on a stale claim stands out.
#api, #db, #assistant, #notify and 2 more carry open exposures but no @owns, so nobody is accountable for closing them. Name the team in the definitions file.
user_id and category are interpolated into the SELECT with %-formatting; category comes straight from the ?category= query string
app/db.py:9
○open
high
#db → #excessive-agency
Model-written SQL runs with the service's database rights; nothing approves a write
app/assistant.py:28
○open
high
#assistant → #ssrf
The destination URL is model output; the same unvalidated send_webhook the API uses
app/assistant.py:36
○open
high
#assistant → #prompt-injection
Receipt text the user uploaded is placed in the model's context; an instruction written on a receipt reaches a model that can call run_report_query
app/assistant.py:41
○open
high
#config → #weak-secret
EXPENSE_SECRET falls back to the literal 'dev-secret-change-me'; with it unset, every session token is forgeable by anyone who has read this file
app/config.py:3
○open
high
#api → #ssrf
body['webhook'] is handed to notify.send_webhook with no validation, so an authenticated user chooses what host the server calls
app/main.py:31
○open
high
#notify → #ssrf
url is body['webhook'] from POST /expenses, POSTed unvalidated — no scheme check, no host allowlist, so 169.254.169.254 and http://localhost/ are both reachable
app/notify.py:5
○open
high
#receipts → #path-traversal
filename is joined onto the upload root with no normalisation or containment check; os.path.join also discards the prefix entirely if filename is absolute
From git history: the author, co-authors and any AI tool credited on the commit that introduced each exposure's code. 0 of 17 exposures were introduced with AI help.
Every @exposes in the model, as a matrix of asset against threat and as rows. A cell is warm while something in it is open (in its worst open severity), a mint wash once everything in it is mitigated or refuted, hollow when accepted. Rows run in model order; columns by how many exposures each threat has. Click a cell to pin it — the table narrows to that pair. Click a row for detail; type / to search.
15 exposures
StatusSeverity
Showing claims credited to
Asset × threat
17 exposures in 12 cells2 assets and 0 threats with nothing in this filter are folded — untick to see the complete gridmargins: open (warm) and resolved (mint) per row and column
Pinned
Confirmed exploitable (2)
Verified through pentest, scanning, or manual reproduction — not false positives.
Description
✕Confirmednew
critical
#db#sqli
GET /expenses?category=x'%20OR%20'1'='1 as user 2 returned 14 rows, including user 7's expenses
One table, every exposure, open first. Open rows have no covering control.
Acceptances shown here are read from @accepts annotations in this repository, not from the server decision log. An annotation is a proposal signed in a commit; the signer is free text and is not verified.
Description
○Open
critical
#db#sqli
user_id and category are interpolated into the SELECT with %-formatting; category comes straight from the ?category= query string
url is body['webhook'] from POST /expenses, POSTed unvalidated — no scheme check, no host allowlist, so 169.254.169.254 and http://localhost/ are both reachable
filename is joined onto the upload root with no normalisation or containment check; os.path.join also discards the prefix entirely if filename is absolute
candidate == record['password_hash'] is a plain string compare that short-circuits on the first differing byte, unlike verify_token which uses compare_digest
The same rows, cut by owner, data class, severity and status, threat class, control and file. Pick a feature in the top bar and every breakdown recomputes for it.
Who owns the open risk0 teams · 6 unowned
Open exposures rolled up to the team named by @owns on the asset. An exposed asset with no owner has nobody accountable for closing it.
No @owns in the model, so no team is accountable for anything here.
Open critical and high cells are the ones to close first; a large mitigated column with a small open one is a model in good shape. Stronger ink is more.
What each declared control actually mitigates. A control declared in the definitions that no @mitigates names is doing nothing for the model — either it is missing annotations or it is not real.
Exposures each person's commits introduced, per quarter. A row that stays strong is someone who keeps introducing exposed code; a row that fades is improvement. Click a name for their claims.
Open critical and high cells are the ones to close first; a large mitigated column with a small open one is a model in good shape. Stronger ink is more.
What each declared control actually mitigates. A control declared in the definitions that no @mitigates names is doing nothing for the model — either it is missing annotations or it is not real.
Exposures each person's commits introduced, per quarter. A row that stays strong is someone who keeps introducing exposed code; a row that fades is improvement. Click a name for their claims.
Every flow, from where data starts (left) to where it lands (right). Flows between the same groups bundle into a ribbon. Bold flows cross a trust boundary — ⊢ counts them. Click a node for its detail.
28 of 28 flows drawn · 12 nodes · 5 ribbons10 cross a declared trust boundary (stronger ink, ⊢ in the pill)7 tick names folded to avoid collisions — hover a tick for it
asset with an open exposure (worst severity)asset, all mitigatedasset, nothing declaredoutside the modelcrosses a trust boundary
Focus#api
17 flows drawn among 11 nodes (budget: 7 per column)10 flows among these nodes run backwards or within a column and are listed in the table, not drawnClick a card to step to it; the trail takes you back. A bar ⊢ marks a trust boundary. Hover a line to see how the data moves.
#api4 open · worst high⊢ #data-boundary, #http-boundaryfinancialpiiOpen neighbourhood →