Skip to content

triage-and-false-positives

Triage is the difference between a security agent and a `grep` wrapper. Raw scanner output is a starting point with a high noise floor; this reference is how you turn it into signal.

From plugin
vanara-agents-skills
954 skills54 agents
Install
$ npx -y skills add vanara-agents/skills --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Triage is the difference between a security agent and a `grep` wrapper. Raw scanner output is a starting point with a high noise floor; this reference is how you turn it into signal.

Agent definition

triage-and-false-positives.md

Triage and False Positives

Triage is the difference between a security agent and a `grep` wrapper. Raw scanner output is a starting point with a high noise floor; this reference is how you turn it into signal.

The triage pipeline

raw findings
  -> normalize    (one schema: id, package, severity, location, source-tool)
  -> dedupe       (same CVE from SCA + container scan = one finding)
  -> false-positive filter (suppress with a recorded reason)
  -> reachability assessment (is the vulnerable path used/exposed?)
  -> final severity (CVSS adjusted by reachability + impact)
  -> rank + bucket (fix now / plan / accept-monitor)

The bundled `scripts/parse-scan-results.mjs` automates normalize + dedupe + severity sort. Human judgment owns the false-positive and reachability steps.

Deduplication

The same underlying CVE often appears from multiple tools and multiple dependency paths. Collapse them:

  • Key on the advisory ID (CVE / GHSA) **plus** the affected package+version.
  • Keep the highest-confidence source and union the locations.
  • Count once in the summary. Reporting one CVE five times manufactures fake urgency and is a form of

alert fatigue.

Identifying false positives

Common false positives and how to confirm them:

| Pattern | Why it's flagged | How to confirm it's benign | |---|---|---| | Example/placeholder secret | Matches a key regex | Value is `AKIAEXAMPLE…`, in `*.example`, or in test fixtures | | Vendored test data | CVE in a bundled sample | Path is under `test/`, `fixtures/`, `__mocks__/` and not shipped | | Unreachable CVE | Vulnerable function never called | `grep` for the import/call; if absent, code path is dead | | Dev-only dependency | CVE in a build/test tool | Not in production bundle; lower severity, not zero | | Feature-gated advisory | Applies only with a flag on | Confirm the flag/default; note the qualifier |

**Always record the suppression reason.** A silently dropped finding is indistinguishable from a missed one. Put suppressed items in an "Accepted / suppressed" section with their justification.

Reachability — the multiplier

Reachability is what separates theoretical from exploitable risk:

  • **Exposed + reachable** (e.g. a deserialization CVE on a public POST handler): keep or raise severity.
  • **Present but unreachable** (vulnerable parser never invoked): downgrade, schedule, don't block.
  • **Dev/build-time only:** real but lower; an attacker needs supply-chain or CI access to exploit.

State the reasoning explicitly so a reviewer can overrule:

> CVE-2025-XXXX (CVSS 9.8) in `fast-xml@3.1.0`. The vulnerable `parseAttrs` path is only hit when > `allowAttributes:true`; this app calls the parser with defaults. **Downgraded critical -> medium**, > scheduled, not release-blocking.

Avoiding alert fatigue

  • Hard-rank. The top finding must be the genuinely most urgent, not the highest raw CVSS.
  • Bucket aggressively: *fix now* should be short (single digits ideally). Everything else goes to

*plan* or *accept/monitor*.

  • Push low/info findings into an appendix. Do not make a reader scroll past 200 lows to find the one

critical — that is how real issues get missed.

  • Be consistent run-to-run so developers can diff reports and see what's new.

When triage is genuinely uncertain

If you cannot determine reachability from static analysis alone, say so and assign provisional severity on the conservative side, with a note on what would resolve the uncertainty (e.g. "needs DAST against staging" or "confirm whether `module X` is in the production bundle"). Honest uncertainty beats false confidence in either direction.

Read more
Ships withvanara-agents-skills

🐒 Free agents, skills & packs for Claude Code One subscription. An army of Claude Code agents. 30 production-grade agents, skills, and packs for Claude Code — free, Apache-2.0, install with one command.

Get the whole plugin, auto-invoked
Stats
9
Stars
0
Views
3
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
10d ago
Last commit
24d ago
Created

Repo: vanara-agents/skills

Other agents on vanara-agents-skills.