triage

triage is a command for Claude Code from alejandrosaenz117/bonfires-marketplace. It costs 48 tokens per session (1,875 once invoked), scanned A, original, MIT.

An AI-assisted dependency-vulnerability check that scans for CVEs and searches the source code to estimate whether vulnerable code is used.

In plain words
What is it for?
Use `/osv-scanner triage [path]` to rank dependency CVEs, review likely impact, and guide remediation order. It does not replace call-graph analysis, runtime testing, or human security review.
Why use it?
It helps prioritize security findings by separating likely reachable vulnerabilities from those not found in a text search, while making clear that the result is heuristic rather than proof.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the osv-scanner plugin — 1 skill, 2 commands shipped together

Good fit Use /osv-scanner triage [path] to rank dependency CVEs, review likely impact, and guide remediation order. It does not replace call-graph analysis, runtime testing, or human security review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alejandrosaenz117/bonfires-marketplace/triage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/alejandrosaenz117/bonfires-marketplace

Made for: Claude Code.

Or install osv-scanner, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triage

README.md
[![agentmods](https://agentmods.dev/badge/commands/alejandrosaenz117/bonfires-marketplace/triage/github.svg)](https://agentmods.dev/commands/alejandrosaenz117/bonfires-marketplace/triage)
Your own site
<a href="https://agentmods.dev/commands/alejandrosaenz117/bonfires-marketplace/triage"><img src="https://agentmods.dev/badge/commands/alejandrosaenz117/bonfires-marketplace/triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triage

Your own site · 80×15
<a href="https://agentmods.dev/commands/alejandrosaenz117/bonfires-marketplace/triage"><img src="https://agentmods.dev/badge/commands/alejandrosaenz117/bonfires-marketplace/triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01875
Opus 5 $0.00024 $0.00937
Sonnet 5 $0.00010 $0.00375
Haiku 4.5 $0.00005 $0.00187

Measured 12d ago against content hash 5c36952766ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/osv-scanner/commands/triage.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Reachability Triage for Dependencies

Usage: /osv-scanner triage [path]

Runs a vulnerability scan, then uses AI-powered code analysis to triage findings by likelihood of reachability. This helps you focus on CVEs that actually matter for your codebase.

⚠️ Important: Heuristic Triage

This is LLM-estimated static analysis, not deterministic call graph tracing. Useful for:

  • Quick prioritization of hundreds of CVEs down to actionable items
  • Understanding which vulnerabilities are low-risk for your specific codebase
  • Guidance on remediation order

Not a replacement for:

  • Deterministic call graph analysis (available in osv-scanner for Go and Rust via --call-analysis)
  • Human security review
  • Dynamic testing and runtime behavior analysis

NOT_FOUND_IN_GREP = absence of evidence, not evidence of absence. Transitive dependencies and dynamic code patterns may be reachable even when not detected by static grep search. Always treat CRITICAL/HIGH severity CVEs with caution.


How It Works

  1. Scan: Run scan_vulnerable_dependencies on the provided path (defaults to workspace root)
  2. Fetch details: For each CVE, retrieve the full advisory to identify which functions/APIs are vulnerable
  3. Search source code: Use Glob and Grep to find whether those specific functions are imported or called in your codebase
  4. Assign verdicts: Classify each finding as FOUND_IN_SOURCE, UNCERTAIN, or NOT_FOUND_IN_GREP with evidence
  5. Output triage report: Three-tier structured table with reasoning for each verdict

Verdict Definitions

FOUND_IN_SOURCE

The vulnerable function/method was found via grep in your source code. This CVE should be prioritized for fixing.

  • Evidence: Exact file path and line number where the vulnerable API was detected
  • Action: Upgrade the package, apply a patch, or change the code to avoid the vulnerable API
  • Confidence: High confidence, but always verify the code path manually

UNCERTAIN

The vulnerability cannot be statically determined. This includes:

  • Broad vulnerabilities affecting the entire package (not a specific function)
  • Dynamic code patterns (eval, dynamic require, reflection, metaprogramming)
  • Transitive dependencies (A→B→vulnerable C): grep cannot follow call chains
  • Functions called through variable names or reflection
  • Action: Review the advisory and your code path manually; likely mid-to-high priority depending on risk

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 135 lines · 48 tokens per session scan A 5c36952766ea

Subscribe to this mod's changes

triage is a command published in the GitHub repository alejandrosaenz117/bonfires-marketplace (4 stars, last pushed 12d ago), licensed MIT. It adds 48 tokens to every session and 1,875 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.