Case study · Vulnerability intake agent · 2026
An agent that checks the claim
I built a pipeline that answers every incoming security report. For credible ones, an agent in a locked sandbox gets one goal: decide whether the claim is true, and prove it with file and line evidence.
Context
Outside researchers send security reports, and every one deserves a reply. Triage usually means a person reading the report and hunting for the right code. I built this as a pilot for a team that wanted agents to do that work, with an engineer still approving every reply.
Problem
A report is not a ticket. It is free text from a stranger, sometimes wrong, sometimes a duplicate, sometimes an attempt to manipulate whoever reads it. No fixed script can say which file to open next. The agent has to work out the path itself, without being able to run code, reach the network or leak secrets.
Approach
- Each report is normalised, deduplicated and triaged by a model. Spam gets a template reply; uncertain reports go to a human queue.
- Credible reports become a job bundle: the report, the triage decision, scanner findings marked as hints, and read-only copies of the code and Terraform.
- The agent gets a goal, not a script: list each claim, find the code it refers to, trace whether attacker input can reach it, and return one of five verdicts.
- It runs in a hardened container with a read-only filesystem, no capabilities and egress only to the model API. The report itself is declared data, not instructions.
- When the code cannot settle a claim, such as DNS or runtime config, the agent must name the exact missing information instead of guessing.
Outcome
The pipeline runs end to end, from intake to a drafted reply and internal report, with a review UI where an engineer approves before anything is sent. Every stage is a swappable plugin. An eval over a 50-report synthetic set fails if any critical report is auto-closed. It is a pilot, not yet pointed at real reports.
The hard part was not telling the agent what to do. It was telling it what it must never do, and then trusting it with the rest.