Walkthrough

Handing a security finding to your coding agent

The fix prompt exists because the agent that reads code all day can fix what the scan found, once a human has seen the evidence.

Tristan Roth,

A finding can carry a suggested diff you apply; Aevral never applies or merges it. The other artifact it hands you is a fix prompt: everything the coding agent needs to fix the finding, and nothing that lets it wander. This page is how to use it well.

What the prompt carries

Four things, always: the evidence (the file and the lines the finding is grounded on), the rule (the access rule in question, for example that a project update requires an ownership check), the boundary (fix the gate, not the symptom), and the review gate (a human reviews before merge). The prompt is small because the agent's job is small. The finding is a lead, not a decision: a human chooses to act on it, and the agent then investigates the lead and proposes a bounded fix. The patch stays a proposal until that same human reviews it before merge.

Phrasing it so the agent stays in its lane

Scope: change only the access path the finding names. Constraint: do not weaken or delete the tests that assert the boundary. Expectation: a minimal diff, because a security fix that refactors the file is a security fix nobody can review. For a dropped ownership check, the prompt is one sentence of context, one of evidence, one of expectation, and it ends: restore the check, do not touch anything else, and stop.

That last word is load-bearing. Coding agents fail open-ended tasks, not closed ones. The finding bounded the question; the prompt keeps the fix closed too.

The human in the loop is the product

Nothing in this flow auto-merges. The scan produces a lead, the agent proposes a fix, the human reads both and decides. A finding is a lead with evidence, not a confirmation; an agent patch is a proposal, not a merge. The two honesty rules meet in the same place: the human is the part of the loop that is not a probability distribution.

Sources

The scan product (fix prompt origin); FAQ (what Aevral does not do today).

Read next

Working a scan report of access-control leads; AI security engineers persona; The scan product; Security review for pull requests written by Claude Code.

More guides


Security review, handled.

Install the GitHub App and PR review starts on. Sign in with GitHub to connect it, then press Scan for the repository you already have.

Install the GitHub AppLog inSign up

For professional use. By installing, you confirm you can act for the account or organization that owns it, and you accept the Terms and DPA on its behalf.