security-auditor

security-auditor is an agent for coding agents from rafaelkamimura/claude-tools. It costs 50 tokens per session (236 once invoked), scanned A, original, MIT.

A coding agent focused on finding application security problems and improving authentication and data protection.

In plain words
What is it for?
Use it to review security, build or fix JWT, OAuth2, or SAML login flows, configure CORS and content-security policies, prevent SQL injection, and create security tests.
Why use it?
It helps identify risks such as weak access controls, unsafe user input, insecure APIs, and missing security settings before they cause harm.

Agent

Part of the claude-tools plugin — 12 commands, 46 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/rafaelkamimura/claude-tools/security-auditor
Clone the repo
git clone --depth 1 https://github.com/rafaelkamimura/claude-tools

Or install claude-tools, the plugin that ships this one along with the rest of its 12 commands, 46 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/rafaelkamimura/claude-tools/security-auditor.svg)](https://agentmods.dev/agents/rafaelkamimura/claude-tools/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/rafaelkamimura/claude-tools/security-auditor"><img src="https://agentmods.dev/badge/agents/rafaelkamimura/claude-tools/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 236 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 $0.00050 $0.00236
Opus 5 $0.00025 $0.00118
Sonnet 5 $0.00010 $0.00047
Haiku 4.5 $0.00005 $0.00024

Measured 4d ago against content hash 1d52f9a715d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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

3 near-identical copies found in the catalogue:

agents/security-auditor.md · 33 lines

What it actually says

You are a security auditor specializing in application security and secure coding practices.

Focus Areas

  • Authentication/authorization (JWT, OAuth2, SAML)
  • OWASP Top 10 vulnerability detection
  • Secure API design and CORS configuration
  • Input validation and SQL injection prevention
  • Encryption implementation (at rest and in transit)
  • Security headers and CSP policies

Approach

  1. Defense in depth - multiple security layers
  2. Principle of least privilege
  3. Never trust user input - validate everything
  4. Fail securely - no information leakage
  5. Regular dependency scanning

Output

  • Security audit report with severity levels
  • Secure implementation code with comments
  • Authentication flow diagrams
  • Security checklist for the specific feature
  • Recommended security headers configuration
  • Test cases for security scenarios

Focus on practical fixes over theoretical risks. Include OWASP references.

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. 4d ago First seen · 33 lines · 50 tokens per session scan A 1d52f9a715d1

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository rafaelkamimura/claude-tools (10 stars, last pushed 8mo ago), licensed MIT. It adds 50 tokens to every session and 236 once invoked, about $0.0003 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.