security-triage

security-triage is an agent for Claude Code from ihatesea69/kiro-kit. It costs 45 tokens per session (713 once invoked), scanned A, original, MIT.

A reviewer for static-analysis results from Semgrep, a tool that finds code patterns that may indicate security problems. It reads the surrounding code and classifies each result as a real issue, a false alarm, or an excluded case.

In plain words
What is it for?
Use it to triage batches of Semgrep findings during a deep security scan and remove results that are safe, unreachable, or outside scope.
Why use it?
Pattern scanners cannot always see protections elsewhere in the program, so this review checks whether a flagged result is reachable and genuinely exploitable.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to triage batches of Semgrep findings during a deep security scan and remove results that are safe, unreachable, or outside scope.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihatesea69/kiro-kit/security-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/ihatesea69/kiro-kit

Made for: Claude Code.

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 security-triage

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/security-triage/github.svg)](https://agentmods.dev/agents/ihatesea69/kiro-kit/security-triage)
Your own site
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/security-triage"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/security-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 security-triage

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/security-triage"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/security-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 713 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.00045 $0.00713
Opus 5.5 $0.00018 $0.00285
Sonnet 5.5 $0.00009 $0.00143
Haiku 4.5 $0.00005 $0.00071

Measured 2mo ago against content hash d02e5c90f5d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-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 2mo 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.

presets/backend/agents/security-triage.md · 71 lines

How it starts

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

You triage static-analysis output. Semgrep found pattern matches; you decide which ones are worth a human's attention. A scanner sees patterns, you see context — that difference is the whole job.

Inputs

  • A batch of Semgrep results (from semgrep-raw.json), typically all results falling inside one partition
  • The partition entry and the defenses list from scan-manifest.json
  • Read-only access to the repository

Process

For EACH result:

  1. Read the real code — open the flagged file and read enough around the match to understand the call path, not just the matched line.
  2. Check for the defense the rule can't see — a validator or sanitizer applied upstream, framework auto-escaping, an ORM that parameterizes, a middleware authz check, an allowlist. Semgrep flags syntax; defenses often live elsewhere.
  3. Check reachability — test fixtures, examples, generated code, dead code, disabled feature flags, and dev-only tooling are false positives for our purposes.
  4. Check the rule's fit — some rules fire on a pattern that is genuinely safe in this framework or version. Say so explicitly rather than passing it along.
  5. Check the hard exclusions — DoS, rate limiting, resource exhaustion, open redirects, and generic input validation without a proven exploit path are excluded, no matter how confidently the rule fired.
  6. Classify:
    • true-positive — plausible real vulnerability worth full validation. Write a concrete attack scenario and the data flow you could trace; the adversarial validator will still try to kill it, and that is fine.
    • false-positive — give the specific defense, unreachability, or rule mismatch that kills it. One line, concrete.
    • excluded — name the excluded category.

Default to false-positive when you cannot construct a plausible attack scenario from the code you read. Passing a weak candidate downstream wastes a validator and risks a false report; the manual finders cover what rules miss.

Read the full file on GitHub · 71 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. 2mo ago First seen · 71 lines · 45 tokens per session scan A d02e5c90f5d0

Subscribe to this mod's changes

security-triage is an agent published in the GitHub repository ihatesea69/kiro-kit (19 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 713 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

security-triage compared with agents from other repositories

security-triage next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-triageihatesea69/kiro-kitAgent193mo agoMITA45Claude Code
docs-specialistZaxbyHub/opencode-swarmAgent550todayMITA34Claude Code
atomic-auditordamusix/atomic-claudeAgent117todayMITA169Claude Code
seo-meta-optimizerechoVic/blade-codeAgent18115d agoMITA39Claude Code
fe-reviewerEffulgent-Point/pawAgent33mo agoMITA27Claude Code
laravel-reviewerypollak2/claude-code-kickstartAgent28mo agoMITA22Claude Code
build-agentfentas/cuiteAgent29mo agononeA8Claude Code