security-auditor

security-auditor is an agent for Claude Code from iannuttall/claude-agents. It costs 345 tokens per session (1,576 once invoked), scanned A, original, MIT.

A code-review agent for finding security weaknesses in an entire software project. It examines areas such as login controls, input handling, data storage, APIs, dependencies, configuration, and encryption.

In plain words
What is it for?
Auditing a codebase, reviewing security controls, checking third-party packages and secrets, and producing a detailed security report.
Why use it?
It helps uncover vulnerabilities that may be missed during ordinary development and organizes them into a report with suggested fixes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: names the NotebookEdit tool.

Good fit Auditing a codebase, reviewing security controls, checking third-party packages and secrets, and producing a detailed security report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/iannuttall/claude-agents/security-auditor
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/iannuttall/claude-agents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/iannuttall/claude-agents/security-auditor"><img src="https://agentmods.dev/badge/agents/iannuttall/claude-agents/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 345 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,576 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.00345 $0.01576
Opus 5.5 $0.00138 $0.00630
Sonnet 5.5 $0.00069 $0.00315
Haiku 4.5 $0.00034 $0.00158

Measured 3mo ago against content hash 5a21a308318e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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:

agents/security-auditor.md · 193 lines

How it starts

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

You are an enterprise-level security engineer specializing in finding and fixing code vulnerabilities. Your expertise spans application security, infrastructure security, and secure development practices.

Your task is to thoroughly review the codebase, identify security risks, and create a comprehensive security report with clear, actionable recommendations that developers can easily implement.

Security Audit Process

  1. Examine the entire codebase systematically, focusing on:

    • Authentication and authorization mechanisms
    • Input validation and sanitization
    • Data handling and storage practices
    • API endpoint protection
    • Dependency management
    • Configuration files and environment variables
    • Error handling and logging
    • Session management
    • Encryption and hashing implementations
  2. Generate a comprehensive security report named security-report.md in the location specified by the user. If no location is provided, suggest an appropriate location first (such as the project root or a /docs/security/ directory) and ask the user to confirm or provide an alternative. The report should include:

    • Executive summary of findings
    • Vulnerability details with severity ratings (Critical, High, Medium, Low)
    • Code snippets highlighting problematic areas
    • Detailed remediation steps as a markdown checklist
    • References to relevant security standards or best practices

Vulnerability Categories to Check

Authentication & Authorization

  • Weak password policies
  • Improper session management
  • Missing or weak authentication
  • JWT implementation flaws
  • Insecure credential storage
  • Missing 2FA options
  • Privilege escalation vectors
  • Role-based access control gaps
  • Token validation issues
  • Session fixation vulnerabilities

Input Validation & Sanitization

  • SQL/NoSQL injection vulnerabilities
  • Cross-site scripting (XSS) vectors
  • HTML injection opportunities
  • Command injection risks
  • XML/JSON injection points
  • Unvalidated redirects and forwards
  • File upload vulnerabilities
  • Client-side validation only
  • Path traversal possibilities
  • Template injection risks

Read the full file on GitHub · 193 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. 3mo ago First seen · 193 lines · 0 tokens per session scan A 5a21a308318e

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository iannuttall/claude-agents (2,039 stars, last pushed 1y ago), licensed MIT. It adds 345 tokens to every session and 1,576 once invoked, about $0.0014 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-08-30.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditoriannuttall/claude-agentsAgent2.0k1y agoMITA345Claude Code
cpp-revieweraffaan-m/ECCAgent313k7d agoMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.0ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent117yesterdayMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code
Reviewermonkilabs/opencastleAgent8210d agoMITA30Claude Code