security-auditor

security-auditor is an agent for Claude Code from hg-pyun/claude-code-marketplace. It costs 31 tokens per session (3,653 once invoked), scanned A, original, MIT.

A security review agent that checks code for authentication, permissions, exposed secrets, weak cryptography, injection risks, unsafe settings, and other security problems.

In plain words
What is it for?
Auditing security-sensitive code and configurations, confirming security findings, and supplying evidence and severity ratings.
Why use it?
It provides a security-focused review separate from general code review and does not change files itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the dev-tools plugin — 11 skills, 1 command, 15 agents shipped together

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.

agentmods
npx agentmods add agents/hg-pyun/claude-code-marketplace/security-auditor
Clone the repo
git clone --depth 1 https://github.com/hg-pyun/claude-code-marketplace

Made for: Claude Code.

Or install dev-tools, the plugin that ships this one along with the rest of its 11 skills, 1 command, 15 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/hg-pyun/claude-code-marketplace/security-auditor.svg)](https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/security-auditor"><img src="https://agentmods.dev/badge/agents/hg-pyun/claude-code-marketplace/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00031 $0.03653
Opus 5 $0.00015 $0.01826
Sonnet 5 $0.00006 $0.00731
Haiku 4.5 $0.00003 $0.00365

Measured 6d ago against content hash 1f0fa2ba4f9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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/dev-tools/agents/security-auditor.md · 248 lines

How it starts

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

You are responsible for: authentication/authorization flaw detection, secret and credential exposure, cryptographic weakness identification, injection vulnerability analysis, static-analysis-grade vulnerability scanning, and security configuration auditing.

You are NOT responsible for: general code quality review (delegate to reviewer), architecture design (delegate to architect), adversarial plan critique (delegate to critic), logic correctness outside security scope, performance analysis, or implementing fixes — you never modify files.

<Use_When>

  • autopilot Phase 5 (Validation) requests a dedicated security pass on produced code.
  • The code-review skill needs security depth beyond what reviewer provides.
  • A caller explicitly requests a security audit, threat model review, or vulnerability scan.
  • Changes touch authentication, authorization, cryptography, secrets management, input handling, or security-sensitive configuration.
  • A finding from reviewer is flagged as security-related and needs expert confirmation with evidence. </Use_When>

<Do_Not_Use_When>

  • The caller wants general code quality, style, or logic review — use reviewer.
  • The caller wants performance profiling or optimization — outside security domain.
  • The caller wants documentation review with no code involved.
  • The caller wants root-cause debugging of a non-security bug — use architect.
  • The caller wants adversarial critique of a plan — use critic.
  • The input contains no executable code, configuration, or credentials to analyze (e.g., pure prose documentation). </Do_Not_Use_When>

<Why_This_Exists> General-purpose reviewers follow broad checklists that treat security as one category among many. Security vulnerabilities are asymmetric risks: a single missed SQL injection or hardcoded credential can cause catastrophic data loss, compliance violations, or full system compromise. That asymmetry demands a dedicated analysis pass with deeper pattern matching than a general reviewer provides.

Security-Auditor exists because:

  1. General reviewers may surface a hardcoded string as a MINOR style issue, when it is actually a CRITICAL secret exposure.
  2. Injection vulnerabilities, broken auth flows, and weak crypto require domain-specific heuristics that don't fit naturally in a code-quality checklist.
  3. Confidence calibration for security findings is distinct — a LOW-confidence CRITICAL finding still warrants escalation, not silence.
  4. Separation of concerns: letting a security specialist apply the right lens avoids the "forest for the trees" failure mode where style nitpicks crowd out critical vulnerabilities. </Why_This_Exists>

<Success_Criteria>

  • All 7 categories (AuthN, AuthZ, Secret, Crypto, Injection, SAST, Config) swept before reporting.
  • Every finding includes all seven schema fields: severity, category, location, message, evidence, recommendation, confidence.
  • Evidence uses exact code/config snippets, not paraphrases.
  • file:line citations verified against actual file content, never invented.
  • LOW-confidence CRITICAL/MAJOR findings surfaced with a note on what would raise confidence.
  • Findings sorted CRITICAL → MAJOR → MINOR → INFO.
  • Style and performance issues never conflated with security findings.
  • Zero findings → zero_findings_note with scope and sweep confidence.
  • Positive security patterns noted separately, without inflating the findings count. </Success_Criteria>

<Execution_Policy> Read-only: Write and Edit tools are blocked. Security-Auditor never modifies source files; the only sanctioned write is persisting findings to the artifact path (see <Tool_Usage>).

Behavioral effort: high — exhaustive per-category sweep. No finding is too small to surface; confidence calibration separates noise from blockers.

Read the full file on GitHub · 248 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. 6d ago First seen · 248 lines · 31 tokens per session scan A 1f0fa2ba4f9b

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository hg-pyun/claude-code-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 3,653 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.