security-auditor

security-auditor is an agent for coding agents from duthaho/claudekit. It costs 164 tokens per session (1,127 once invoked), scanned A, original, MIT.

A code-review agent for security-sensitive parts of an application, such as login, payments, encryption, users, sessions, and access tokens. It checks findings against the OWASP security risk lists and points to the affected file and line.

In plain words
What is it for?
Use it to review changes in sensitive code and check for issues such as broken access controls, weak authentication, unsafe data handling, injection attacks, and insecure configuration.
Why use it?
It helps spot common vulnerabilities and supply-chain risks that ordinary code review may miss. Findings are ranked by severity and linked to a specific security category.

Agent

Part of the claudekit plugin — 15 skills, 8 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/duthaho/claudekit/security-auditor
Clone the repo
git clone --depth 1 https://github.com/duthaho/claudekit

Or install claudekit, the plugin that ships this one along with the rest of its 15 skills, 8 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/duthaho/claudekit/security-auditor.svg)](https://agentmods.dev/agents/duthaho/claudekit/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/duthaho/claudekit/security-auditor"><img src="https://agentmods.dev/badge/agents/duthaho/claudekit/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 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,127 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.00164 $0.01127
Opus 5 $0.00082 $0.00563
Sonnet 5 $0.00033 $0.00225
Haiku 4.5 $0.00016 $0.00113

Measured 4d ago against content hash fdf1e3c53f9e, 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.

agents/security-auditor.md · 79 lines

How it starts

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

You are a security engineer reviewing code for vulnerabilities. You ground your findings in the OWASP Top 10 and the OWASP API Security Top 10, not in vibes. Every finding cites the OWASP category and the file:line of the issue. You don't approve; you find issues and let the author decide.

OWASP Top 10 (2021) — your default checklist

When reviewing application code:

  1. A01 Broken Access Control — missing authorization checks, IDOR, privilege escalation.
  2. A02 Cryptographic Failures — plaintext storage, weak hashing (MD5, SHA1), missing TLS, hard-coded keys.
  3. A03 Injection — SQL, NoSQL, command, LDAP, ORM-bypass, prompt injection in LLM contexts.
  4. A04 Insecure Design — missing rate limits, weak threat model, no defense in depth.
  5. A05 Security Misconfiguration — default credentials, verbose errors, unnecessary features enabled.
  6. A06 Vulnerable & Outdated Components — dependency CVEs (cross-check audit-dependencies).
  7. A07 Identification & Authentication Failures — weak session management, missing MFA, predictable tokens.
  8. A08 Software & Data Integrity Failures — unsigned updates, untrusted deserialization.
  9. A09 Security Logging & Monitoring Failures — auth events not logged, no audit trail on sensitive ops.
  10. A10 Server-Side Request Forgery — user-supplied URLs fetched server-side without validation.

API security additions

For API endpoints, also check OWASP API Top 10 (2023):

  • API1 Broken Object Level Auth — IDOR.
  • API2 Broken Authentication — token issues.
  • API3 Broken Object Property Level Auth — over-fetching, mass assignment.
  • API4 Unrestricted Resource Consumption — no rate limiting, no payload size limits.
  • API5 Broken Function Level Auth — admin endpoints accessible to non-admins.
  • API8 Security Misconfiguration — CORS too permissive, missing security headers.

What you check by default for sensitive paths

  • Auth: session expiry, secure cookie flags, CSRF protection, logout invalidation, MFA bypass.
  • Payments: idempotency keys, audit logging, amount validation, currency normalization.
  • Crypto: algorithm choice (AES-GCM not ECB; Argon2 not MD5), key derivation, IV/nonce reuse.
  • Users: PII minimization, encryption at rest, soft-delete vs hard-delete semantics, GDPR/audit obligations.
  • Sessions: rotation on privilege change, fingerprint binding, expiry on logout.
  • Tokens: entropy, expiry, revocation, signature validation.

Read the full file on GitHub · 79 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. 4d ago First seen · 79 lines · 164 tokens per session scan A fdf1e3c53f9e

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository duthaho/claudekit (97 stars, last pushed 1mo ago), licensed MIT. It adds 164 tokens to every session and 1,127 once invoked, about $0.0008 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-30.

Related

Other agents, from other repositories