Security alerts triaged by reachability
The agent checks whether the vulnerable code in each dependency or scanning alert is actually used, ranks the alerts and opens fix pull requests for real ones. It defaults to caution. The security lead approves.
What the agent does
- 1
Read the alerts.
- 2
Check whether the vulnerable code is used.
- 3
Rank them.
- 4
Open fix pull requests for real issues. → security lead approves
Enough to decide?
Similar setup documented- Required input
- No example input written yet
- Example output
- No example output written yet
- Stop condition
- ignoring a real issue; conservative default
- Reviewer
- Reviewer to be named · About this entry
- Last run
- Not run by us yet
What it costs to run
A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.
Checked 2026-11-25 source
$0.001 to $0.17 per run · $0.009 per run with a mid-priced model
- Small, cheap model
- $0.001 per runPer 100 runs: $0.06
- Typical
- $0.009 per runPer 100 runs: $0.85
- Large model
- $0.17 per runPer 100 runs: $16.80
Free tiers and local models can bring this to zero while you test.
How we worked this out
- 4 model calls, one per step (at least 2)
- 2,000 input tokens per call
- 500 output tokens per call
- each call re-reads the earlier outputs
- no retries, no loops, no cached-input discount
- Longer inputs cost more; agents that retry or loop use more calls.
- Free tiers may cover small volumes: see free AI tokens.
- Local models have no per-token price but need your own hardware.
Works with
Tags
Before you start
- Access the agent needs
- code-repo
- Who approves
- security lead approves
- What to log
- every action it proposes and the decision taken
- When to stop
- ignoring a real issue; conservative default
Why it is worth it
Scanners raise far more alerts than anyone can fix. Many are in code your app never calls, and finding the few real ones is the job.
Start this week
- Run the agent on your current alert list.
- Ask it to rank each alert by whether the vulnerable code is actually reachable, with the evidence.
- Have the security lead approve the ranking and the fix pull requests.
Watch out for
Wrongly dismissing a real issue is the risk. When unsure, the agent should rank it high.
Measure this
Open alerts that are actually reachable, and time to fix them.
About this entry
Similar setup documented Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1
What we checked
| Item | Result | Date | By | Source and note |
|---|---|---|---|---|
| Text and steps | Checked | 2026-11-25 | — | — |
| Human checkpoint and risks | Checked | 2026-11-25 | Reviewer to be named | — |
| Workflow run | Not checked yet | — | — | — |
| Cost estimate | Checked | 2026-11-25 | — | source · mid-priced model assumed |
| Tool links | Not checked yet | — | — | — |
| Outside evidence | Checked, with limits | 2026-11-27 | — | — |
Limitations
- An organisation has published a related setup, not this exact workflow. What differs is shown with the evidence.
- Results reported by a vendor or customer are their claims, not our measurements.
- Not checked yet: workflow run, tool links.
Change history
- Evidence label changed: Proposed pattern to Similar setup documented spec v2026-11-27.1
- Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
- Added to the catalogue spec v2026-11-25.1
Evidence
- TRM Labs · Adjacent pattern Close: an agent opens fix pull requests for vulnerable dependencies and humans merge. Differs: the post does not describe a reachability check or ranking, and the alert triage part is a separate workflow. No reachability analysis or ranking is described. The 17% figure is about alert triage, not fix PRs. Company's own figures. · source · 2026-11-27
- Cursor (Anysphere) · Adjacent pattern Close: a dependency-patching agent runs reachability analysis to keep only impactful vulnerabilities, runs tests and opens a pull request. Differs: the post does not say a security lead approves before merge. Human review or approval before merge is not stated; current production use is implied, not confirmed; the four scanning agents are proprietary. Company's own description. · source · 2026-11-27
Spec versions
- v2026-11-27.1 · Evidence label changed: Proposed pattern to Similar setup documented
- v2026-11-26.1 · Long text added: why it is worth it, how to start, what to watch out for, how to measure it
- v2026-11-25.1 · Added to the catalogue
Run it with AI
Pick the AI you already use.
You are helping developer. Goal: Security alerts triaged by reachability. The agent checks whether the vulnerable code in each dependency or scanning alert is actually used, ranks the alerts and opens fix pull requests for real ones. It defaults to caution. The security lead approves. Work through these steps and show your result for each: 1. Read the alerts. 2. Check whether the vulnerable code is used. 3. Rank them. 4. Open fix pull requests for real issues. Tools or data I can give you: code-repo. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: security lead approves. Watch for: ignoring a real issue; conservative default.
Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
Nothing happened? The Claude Desktop app (Mac, Windows, or Linux, where it is still in beta) may not be installed. Use the copy button instead.
ROLE: Assistant for developer. TASK: Security alerts triaged by reachability. SUMMARY: The agent checks whether the vulnerable code in each dependency or scanning alert is actually used, ranks the alerts and opens fix pull requests for real ones. It defaults to caution. The security lead approves. PROCEDURE: 1. Read the alerts. 2. Check whether the vulnerable code is used. 3. Rank them. 4. Open fix pull requests for real issues. HUMAN CHECKPOINT: security lead approves GUARDRAILS: ignoring a real issue; conservative default RULES: ask when inputs are missing; never invent facts; cite where each fact came from.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "security-alert-triager-0080",
"goal": "Security alerts triaged by reachability",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"code-repo"
],
"plan": [
"Read the alerts.",
"Check whether the vulnerable code is used.",
"Rank them.",
"Open fix pull requests for real issues."
],
"human_in_the_loop": "security lead approves",
"guardrails": "ignoring a real issue; conservative default",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"trigger": "On a schedule",
"steps": [
{
"n": 1,
"do": "Read the alerts."
},
{
"n": 2,
"do": "Check whether the vulnerable code is used."
},
{
"n": 3,
"do": "Rank them."
},
{
"n": 4,
"do": "Open fix pull requests for real issues."
}
],
"connects": [
"code-repo"
],
"approval": "security lead approves",
"stop_on": "ignoring a real issue; conservative default"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "security-alert-triager-0080",
"goal": "Security alerts triaged by reachability",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"code-repo"
],
"plan": [
"Read the alerts.",
"Check whether the vulnerable code is used.",
"Rank them.",
"Open fix pull requests for real issues."
],
"human_in_the_loop": "security lead approves",
"guardrails": "ignoring a real issue; conservative default",
"output": "a draft for human review"
}Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping developer. Goal: Security alerts triaged by reachability. The agent checks whether the vulnerable code in each dependency or scanning alert is actually used, ranks the alerts and opens fix pull requests for real ones. It defaults to caution. The security lead approves. Work through these steps and show your result for each: 1. Read the alerts. 2. Check whether the vulnerable code is used. 3. Rank them. 4. Open fix pull requests for real issues. Tools or data I can give you: code-repo. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: security lead approves. Watch for: ignoring a real issue; conservative default.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping developer. Goal: Security alerts triaged by reachability. The agent checks whether the vulnerable code in each dependency or scanning alert is actually used, ranks the alerts and opens fix pull requests for real ones. It defaults to caution. The security lead approves. Work through these steps and show your result for each: 1. Read the alerts. 2. Check whether the vulnerable code is used. 3. Rank them. 4. Open fix pull requests for real issues. Tools or data I can give you: code-repo. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: security lead approves. Watch for: ignoring a real issue; conservative default.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "security-alert-triager-0080",
"goal": "Security alerts triaged by reachability",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"code-repo"
],
"plan": [
"Read the alerts.",
"Check whether the vulnerable code is used.",
"Rank them.",
"Open fix pull requests for real issues."
],
"human_in_the_loop": "security lead approves",
"guardrails": "ignoring a real issue; conservative default",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "security-alert-triager-0080",
"goal": "Security alerts triaged by reachability",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"code-repo"
],
"plan": [
"Read the alerts.",
"Check whether the vulnerable code is used.",
"Rank them.",
"Open fix pull requests for real issues."
],
"human_in_the_loop": "security lead approves",
"guardrails": "ignoring a real issue; conservative default",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
At a glance
- For
- developer
- Industry
- software
- Autonomy
- supervised
- Difficulty
- Works with
- Steps
- 4 · 1 human checkpoint
- Runs as
- scheduled
- Needs approval
- security lead approves
- What it costs to run
- $0.009 per run with a mid-priced model
- Evidence
- ID
UC-0080
Compare routes for this job
Share this comparison| For this job | n8n | Claude | ChatGPT | Claude Code |
|---|---|---|---|---|
| What you do by hand | Build and test the workflow once. After that it runs on each new item, and you do the human checkpoint this use case names (approve, edit or decide) before anything goes out. | Paste or attach the input each time, check the answer, and carry the result to where it goes yourself. | Set up the assistant once with your instructions and files. Then paste or attach each new input, check the answer and carry the result on. | Describe the task, then review every change it proposes before you accept it. |
| Human checkpoint | security lead approves | |||
| Typical API cost (same for every route) | $0.009 per run with a mid-priced model checked 2026-11-25 · pricing source | |||
| Learning curve | Terminal | Point and click | Point and click | Terminal |
| Price model | free | free tier | free tier | paid |
| Where your data goes | It runs where you install it. Your workflow data goes to the apps and models it connects to. By default n8n also sends anonymous usage data to its makers; our beginner guide switches that off. | What you type and upload goes to Anthropic's servers and is handled under its terms. Check its data settings before you use real work data. | What you type and upload goes to OpenAI's servers and is handled under its terms. Check its data settings before you use real work data. | Your code and prompts go to Anthropic, or to the cloud provider you set it up with, under that provider's terms. |
| Before you start | Docker or a similar tool on your computer, or a server. Our tested examples have a beginner guide. | An account on the website. The free plan is enough to try it. | An account on the website. The free plan is enough to try it. | A paid Claude plan or API credit, then install it and open a terminal in your project. |
| Evidence for this route | Proposed pattern | Proposed pattern | Proposed pattern | Proposed pattern |
| Open | Open in run panel Tool page | Open in run panel Tool page | Open in run panel Tool page | Open in run panel Tool page |
Where to go from here
All developer use casesSimilar work
These use cases do the same kinds of work as this one. Each card shows what they have in common.
Flaky test hunter
The agent reruns suspected flaky tests from CI history, finds timing or order problems and proposes fixes. Tests it cannot fix are quarantined with a ticket each, after you approve.
Noisy alert tuning
The agent finds noisy alert rules in the history, proposes threshold or rule changes and replays them on past data before opening a pull request. The on-call engineer approves.
Why two tables don't join
The agent compares key formats in two tables, finds mismatches, proposes normalisation rules and tests the join rate. You review a sample and approve the rules.
Same kinds of tools, a different job
These use cases connect to the same kinds of tools as this one, so part of your setup carries over.
Notebook reproducibility check
The agent reruns each notebook in a clean environment with fixed seeds and compares the outputs with the saved ones, reporting differences. The author fixes them.
First-pass pull request reviewer
The agent reads the diff and the code around it, runs linters, lists issues by severity and posts review comments. You can mark false positives so it learns. You decide what to act on.
Failing test reproduced and patched
The agent reads the CI failure, checks out the branch, reproduces the failure, edits the code and runs the tests before opening a pull request. It never edits a test without flagging it, so a real bug is not hidden. You review the patch.