You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bfe486f
Browse filesBrowse the repository at this point in the historyBrowse files
AI triage guardrails: a per scan cap and a reuse cache, so tokens stay cheap
The model is now a bounded advisor, not the scanner. Three limits, in code:
It is only ever sent findings that passed the deterministic filters, which was
already true and is the reason it never reads raw traffic.
A finding unchanged since the site's last reviewed scan reuses the verdict it
already got, by a fingerprint of what the model would read, so a re-scan that
turns up the same findings sends nothing and is billed nothing.
Of the rest, only the cap goes to the model, highest risk first; the overflow
keeps its computed risk and is marked not reviewed. The cap is a setting,
dast.ai_max_findings, default forty, so a noisy scan cannot run up a bill.
The review summary now reports how many were reused and how many were over the
cap. A pass that only reused verdicts makes no call and is a success.
0 commit comments