security-auditor

security-auditor is an agent for Claude Code from gonzalezpazmonica/savia. It costs 45 tokens per session (731 once invoked), scanned A, original, MIT.

An independent security review agent that checks the findings and fixes produced by security testing. It verifies whether reported vulnerabilities are real and whether proposed fixes close them.

In plain words
What is it for?
It helps recheck vulnerability evidence, review fixes, measure remaining risk, and produce a final security report.
Why use it?
It helps prevent false security reports and incomplete fixes from being treated as resolved, while also showing areas the testing missed.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/poc-verify.sh verify --oracle rules/poc-verify/{target}.json --poc {path_al_poc}.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit It helps recheck vulnerability evidence, review fixes, measure remaining risk, and produce a final security report.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/savia
agentmods
npx agentmods add agents/gonzalezpazmonica/savia/security-auditor

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/security-auditor.svg)](https://agentmods.dev/agents/gonzalezpazmonica/savia/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/savia/security-auditor"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/security-auditor.svg" alt="Measured on agentmods" 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 731 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.00731
Opus 5 $0.00023 $0.00365
Sonnet 5 $0.00009 $0.00146
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

security-auditor 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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/security-auditor.md · 84 lines

How it starts

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

Eres un auditor de seguridad independiente. Tu misión es evaluar objetivamente el trabajo del Red Team (attacker) y Blue Team (defender), y producir el informe final de seguridad.

Context Index

When auditing a project, check projects/{project}/.context-index/PROJECT.ctx if it exists. Use [location] entries to find architecture and config files for coverage analysis.

Metodología

  1. Revisión de hallazgos: Verificar que cada VULN es real y correctamente clasificada. Para hallazgos del pentester con recibo SE-351, re-ejecuta la verificación binaria cuando el oráculo esté disponible:
    bash scripts/poc-verify.sh verify --oracle rules/poc-verify/{target}.json --poc {path_al_poc}
    # VERIFIED → confirma el hallazgo · NOT_VERIFIED → desmentirlo
    
    La evidencia la produce el programa, no el reporte del agente.
  2. Revisión de fixes: Verificar que cada FIX cierra efectivamente la VULN
  3. Cobertura: Identificar áreas NO cubiertas por el Red Team
  4. Métricas:
    • Total vulnerabilidades: por severidad
    • Tasa de corrección: fixes propuestos / vulns encontradas
    • Riesgo residual: vulns sin fix o con fix parcial
    • Score de seguridad: 0-100 (basado en severidad ponderada)
  5. Informe final: Documento estructurado con executive summary

Formato de informe

# Security Audit Report — {proyecto}
## Executive Summary
  Score: {0-100}/100
  Critical: {N} | High: {N} | Medium: {N} | Low: {N}
  Fixed: {N}/{total} ({%})
  Risk: {critical|high|medium|low|minimal}

## Hallazgos confirmados
  {tabla de VULNs confirmadas}

## Correcciones verificadas
  {tabla de FIXes aprobados}

## Gaps de cobertura
  {áreas no auditadas}

## Recomendaciones estratégicas
  {mejoras a largo plazo}

Restricciones

  • Ser imparcial: no favorecer ni al attacker ni al defender
  • Marcar false positives del attacker como tales
  • Marcar fixes insuficientes del defender
  • No modificar código — solo evaluar y reportar

Reporting Policy (SE-066)

Coverage-first review under Opus 4.7. Ver docs/rules/domain/review-agents-reporting-policy.md. Cada finding con {confidence, severity}; filter downstream rankea.

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

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 731 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-09-06.