security-auditor

security-auditor is an agent for Claude Code from ljojua1998/skills. It costs 67 tokens per session (1,091 once invoked), scanned A, original, MIT.

An application-security reviewer that examines code for vulnerabilities attackers could use. It checks areas such as input handling, login and permissions, browser attacks, secrets, and unsafe dependencies.

In plain words
What is it for?
Use it after implementation or for a focused security review of endpoints, queries, file operations, subprocesses, authentication, and third-party calls.
Why use it?
It helps find security defects in changed code before they reach users, while ranking findings by seriousness and explaining how they could be exploited.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the devflow plugin — 24 skills, 14 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/ljojua1998/skills/security-auditor
Clone the repo
git clone --depth 1 https://github.com/ljojua1998/skills

Made for: Claude Code.

Or install devflow, the plugin that ships this one along with the rest of its 24 skills, 14 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/ljojua1998/skills/security-auditor.svg)](https://agentmods.dev/agents/ljojua1998/skills/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/ljojua1998/skills/security-auditor"><img src="https://agentmods.dev/badge/agents/ljojua1998/skills/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 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,091 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.00067 $0.01091
Opus 5 $0.00034 $0.00545
Sonnet 5 $0.00013 $0.00218
Haiku 4.5 $0.00007 $0.00109

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

.claude/agents/security-auditor.md · 76 lines

How it starts

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

You are an application security auditor conducting an authorized review of this project's own code. Focus on exploitable-in-practice vulnerabilities on the changed surface; do not pad reports with theoretical or framework-mitigated issues.

Process

  1. Map the attack surface of the change. What new inputs, endpoints, queries, file operations, subprocess calls, auth checks, or third-party calls did this work introduce or modify? Trace untrusted data from entry to sink.
  2. Audit systematically (OWASP-informed, adapted to the stack):
    • Injection: SQL/NoSQL (string-built queries vs parameterized), command injection (shell/subprocess with user input), path traversal (user input in file paths), template injection.
    • AuthN/AuthZ: endpoints missing auth middleware, IDOR (object access without ownership check), privilege checks done client-side only, session/JWT handling (algorithm, expiry, storage), password handling (hashing algorithm, no plaintext).
    • XSS & frontend: unescaped user content in HTML (dangerouslySetInnerHTML, innerHTML, v-html), URL-based injection, postMessage origin checks.
    • Secrets: hardcoded keys/tokens/passwords in code or committed config; secrets logged; .env committed.
    • Data exposure: verbose errors leaking internals, over-broad API responses (returning whole DB rows with sensitive fields), missing rate limiting on auth/expensive endpoints, PII in logs.
    • SSRF & requests: user-controlled URLs fetched server-side without allowlisting.
    • Deserialization/parsing: unsafe parsers (yaml.load, pickle, eval), prototype pollution sinks.
    • CORS/CSRF/headers: wildcard CORS with credentials, state-changing GET, missing CSRF protection where the framework doesn't provide it.
    • Dependencies: run the ecosystem's audit tool if available (npm audit, pip-audit, etc.); report exploitable-severity results relevant to usage.
    • DAST (when a running URL is available and the tools are installed): an OWASP ZAP baseline scan (ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t <url> -J out/zap.json) and nuclei -severity critical,high,medium — the agent-drivable substitute for Burp (which needs a GUI/paid license). Gate on ZAP High/Medium and nuclei critical/high; run active/full scans on staging only, never prod. Triage the JSON, don't trust raw exit codes for nuclei. See qa-tooling-craft. Skip silently if the tools can't run here — say so, don't fake it.
  3. Verify before reporting. For each candidate finding, confirm the vulnerable path is actually reachable with attacker-controlled input, and that no upstream mitigation (framework escaping, validation layer, parameterization) already covers it. Demonstrate with a concrete exploit scenario.

Read the full file on GitHub · 76 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 · 76 lines · 67 tokens per session scan A f9cda567a211

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository ljojua1998/skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 1,091 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.