ArchSutra AI / Start here
Reading and triaging a report
How to read an ArchSutra report, decide what to fix first, accept risk on purpose, and tell us when a finding is wrong.
A report is only useful if you can decide what to do with it in a few minutes. This page gives you a reading order, a triage flowchart you can follow without thinking, and the rules for accepting a finding on purpose.
The reading order (5 minutes)#
flowchart LR a["1. Summary<br/>how many, how bad"] --> b["2. Scorecard<br/>where is the weakness,<br/>what was not assessed"] b --> c["3. Critical and high<br/>open each one"] c --> d["4. Blind spots<br/>what the scan cannot see"] d --> e["5. Decide: fix, ticket,<br/>accept or report as wrong"]
- Summary. Counts by severity, files scanned, and whether the scan was cut off (
TRUNCATED). - Scorecard. Five categories get a rating from the rules we have; five (reliability, performance, scalability, data integrity, cost) are always
not assessedfrom a static scan. - Critical and high findings. Open each in the HTML report (they start expanded).
- Scope and blind spots. The honest list of what this report cannot tell you.
Severity, confidence and actionability are three different things#
| Word | Question it answers | Example |
|---|---|---|
| Severity | If this is real, how much does it matter? | An exposed key is critical; a missing README is low |
| Confidence | How sure is the rule that it is real? | A committed private key is high; a "possible credential" is medium; an inferred AI-risk co-location is low |
| Actionable | Would the owners actually change something? | eval of a developer-typed value in a migration tool: real, but by design |
Why it matters. On 52 real repositories, most reported findings were genuine instances of the rule, but about half were not worth acting on. That is not a bug in your report: it is the difference between "this code does X" and "X is a problem here". Triage is where a human adds value (evidence).
Triage flowchart#
Follow it for every high or critical finding.
flowchart TD
f(["A finding"]) --> o{"Open the file and line.<br/>Does the code really<br/>do what it says?"}
o -- "No: comment, test data,<br/>vendored or wrong claim" --> fp["Report it as a false positive<br/>(helps everyone) and move on"]
o -- Yes --> r{"Can attacker-influenced input<br/>or a real failure reach it?"}
r -- Yes --> now["Fix now.<br/>Use the Fix and Verify steps"]
r -- "No, constant or internal" --> a{"Is it cheap to fix?"}
a -- Yes --> t["Fix in the next change<br/>(hardening)"]
a -- No --> s{"Accept on purpose?"}
s -- Yes --> sup["Add a suppression with<br/>a reason and an expiry"]
s -- No --> tk["Create a ticket<br/>with the finding ID"]What the common findings usually mean#
| Rule | Usually means | Often a false alarm when |
|---|---|---|
| AS-SEC-001 possible credential | A real secret, or a default password in seed data | The value is a placeholder such as password, or a public key (search-only keys, Firebase web keys) |
| AS-SEC-002 private key committed | Rotate it, even if you think it is a test key | It is clearly an example key in docs (verify it is unused) |
| AS-SEC-004 dynamic execution | Injection sink: check what reaches it | Constant input, or tooling that must hide an import |
| AS-SEC-005 SQL by interpolation | Injection risk | The interpolated value is an internal, already-quoted identifier |
| AS-ARC-001 cycle | Modules cannot be understood or split independently | A cycle among test helpers or via a data file import (we ignore the common cases) |
| AS-OPS-003 root container | Hardening gap | A dev container that is never deployed |
| AS-SUP-001/002/003 | Builds that are not reproducible | Intentional in a throwaway demo |
The full list with limits is the rule catalog.
Accept a risk on purpose (and keep it honest)#
Create .archsutra/suppress.json in the project:
{
"suppress": [
{
"rule": "AS-OPS-003",
"path": "tools/devcontainer/Dockerfile",
"reason": "Local dev container, never deployed",
"expires": "2027-06-30"
}
]
}Three rules keep suppression from becoming a hiding place:
- A reason is required. A row without one is ignored.
- It expires. After
expiresthe finding comes back for review. - It is specific. A rule plus a path, not a blanket ignore.
stateDiagram-v2 [*] --> Reported Reported --> Suppressed: reason + path + (optional) expiry Suppressed --> Reported: expiry date passes Suppressed --> Reported: row removed or reason missing Reported --> Fixed: code changed Fixed --> [*]
Tell us when a finding is wrong#
False positives are the most valuable feedback we get. They became the regression tests that raised measured precision from 50% to 69% and then 95%.
- Note the rule ID and the file and line.
- Say why it is wrong: comment or docstring, vendored code, test data, placeholder, wrong rule claim.
- Open a false-positive report.
What a report is not#
Warning. A report from this tool is a review aid. It is not a certification, a compliance attestation or a penetration test, and "no findings" is not "no problems". See the legal notes.
Next#
- Turn findings into a plan: ask Prime for a roadmap (scenario 1).
- Stop new ones: CI recipes.