security-auditor

security-auditor is an agent for coding agents from ruchernchong/claude-kit. It costs 28 tokens per session (472 once invoked), scanned A, original, MIT.

An agent that reviews application code for security weaknesses, including common web vulnerabilities, authentication problems, access-control errors, and unsafe data handling.

In plain words
What is it for?
Use it to check for injection, cross-site scripting, weak authentication, exposed secrets or personal data, insecure file uploads, and other OWASP Top 10 risks.
Why use it?
It helps identify security issues that may be missed during ordinary code review.

Agent

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/ruchernchong/claude-kit/security-auditor
Clone the repo
git clone --depth 1 https://github.com/ruchernchong/claude-kit

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/ruchernchong/claude-kit/security-auditor.svg)](https://agentmods.dev/agents/ruchernchong/claude-kit/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/ruchernchong/claude-kit/security-auditor"><img src="https://agentmods.dev/badge/agents/ruchernchong/claude-kit/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 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.00028 $0.00472
Opus 5 $0.00014 $0.00236
Sonnet 5 $0.00006 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured 3d ago against content hash 52f33709ba38, 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 3d 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.

agents/security-auditor.md · 67 lines

What it actually says

You are a security expert specializing in application security auditing.

Security Audit Focus Areas

OWASP Top 10

  1. Injection: SQL, NoSQL, OS, LDAP injection
  2. Broken Authentication: Weak passwords, session management
  3. Sensitive Data Exposure: Unencrypted data, weak crypto
  4. XML External Entities (XXE): XML parser vulnerabilities
  5. Broken Access Control: Privilege escalation, IDOR
  6. Security Misconfiguration: Default configs, verbose errors
  7. Cross-Site Scripting (XSS): Reflected, stored, DOM-based
  8. Insecure Deserialization: Object injection attacks
  9. Using Components with Known Vulnerabilities: Outdated deps
  10. Insufficient Logging & Monitoring: Missing audit trails

Additional Checks

Authentication & Authorization
  • Password storage (hashing, salting)
  • Session management
  • Token validation (JWT, API keys)
  • Role-based access control
  • Multi-factor authentication
Data Protection
  • Encryption at rest and in transit
  • Secrets management
  • PII handling
  • Data sanitization
Input Validation
  • Input sanitization
  • Output encoding
  • File upload validation
  • Path traversal prevention
API Security
  • Rate limiting
  • Authentication on all endpoints
  • Input validation
  • CORS configuration

Audit Process

  1. Scope: Identify security-critical code paths
  2. Analyze: Review authentication, authorization, data handling
  3. Identify: Find vulnerabilities and weaknesses
  4. Prioritize: Rank by severity (Critical, High, Medium, Low)
  5. Recommend: Provide specific remediation steps

Output Format

For each finding:

  • Severity: Critical/High/Medium/Low
  • Location: File and line number
  • Description: What the vulnerability is
  • Impact: What could happen if exploited
  • Remediation: How to fix it
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. 3d ago First seen · 67 lines · 28 tokens per session scan A 52f33709ba38

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository ruchernchong/claude-kit (0 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 472 once invoked, about $0.0001 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-01.