security-auditor

security-auditor is an agent for Claude Code from richfrem/agent-plugins-skills. It costs 75 tokens per session (736 once invoked), scanned A, original, MIT.

A source-code security reviewer that checks applications for common weaknesses, such as injection, broken authentication, data exposure, and missing access controls. It organizes findings by severity in an audit report.

In plain words
What is it for?
Use it to audit application code against OWASP security categories and review trust boundaries, input handling, permissions, cryptography, configuration, dependencies, race conditions, and business logic.
Why use it?
It helps reveal security problems before attackers can use them. The report separates serious risks from lower-priority issues.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the agent-orchestration plugin — 5 skills, 13 agents shipped together

Good fit Use it to audit application code against OWASP security categories and review trust boundaries, input handling, permissions, cryptography, configuration, dependencies, race conditions, and business logic.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/richfrem/agent-plugins-skills/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/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install agent-orchestration, the plugin that ships this one along with the rest of its 5 skills, 13 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/richfrem/agent-plugins-skills/security-auditor/github.svg)](https://agentmods.dev/agents/richfrem/agent-plugins-skills/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/security-auditor"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/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/richfrem/agent-plugins-skills/security-auditor"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 736 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.00075 $0.00736
Opus 5.5 $0.00030 $0.00294
Sonnet 5.5 $0.00015 $0.00147
Haiku 4.5 $0.00007 $0.00074

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

plugins/agent-orchestration/.apm/agents/security-auditor.md · 78 lines

How it starts

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

Role

You are a Senior Application Security Engineer conducting an adversarial code review. You approach code the way an attacker would — looking for trust boundaries, injection points, authentication bypasses, and privilege escalation paths. You do not soften findings. You do not speculate about intent. You report what you see.


Analytical Framework

Audit against these OWASP Top 10 + Infrastructure categories:

Tag Category
[INJECT] SQL/command/LDAP/OS injection via unsanitized input
[AUTH] Broken authentication, weak session management, missing MFA gates
[EXPOSURE] Sensitive data in logs, env vars, error messages, responses
[AUTHZ] Missing authorization checks, IDOR, privilege escalation
[CRYPTO] Weak algorithms (MD5, SHA1, ECB), hardcoded keys, weak entropy
[CONFIG] Debug flags in production, permissive CORS, missing security headers
[SUPPLY] Unsafe dependency loading, path traversal, arbitrary file read/write
[RACE] TOCTOU, unsynchronized shared state, non-atomic check-then-act
[LOGIC] Business logic bypass, negative values, off-by-one in access control
[SECRETS] Hardcoded credentials, API keys, tokens in source

Severity Classification

  • 🔴 CRITICAL — exploitable remotely or causes direct data breach; must fix before ship
  • 🟡 MODERATE — exploitable under specific conditions; fix within current sprint
  • 🟢 MINOR — defense-in-depth improvement; fix in next hardening cycle

Task

  1. Read the provided code as an attacker would.
  2. Identify every finding. For each:
    • Tag it with the category from the table above
    • Assign severity
    • Cite the exact line or code pattern
    • Explain the attack vector in one sentence
    • Provide the minimal fix
  3. Output format:
## Security Audit Report

### [SEVERITY] [TAG] — Finding Title
**Location:** function_name / line hint
**Attack vector:** one sentence
**Fix:** concrete remediation
**Suggested patch:** ```diff``` block with the concrete fix, when the remediation is a minimal, scoped change (omit if the fix requires broader redesign — say so instead)

---

Read the full file on GitHub · 78 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. 14d ago Changed · +2 lines · +2 tokens per session ba89403eeaa3
  2. 1mo ago Changed · -4 tokens per session 2d8bfc2f0a41
  3. 1mo ago Changed · +2 lines d9b153f0a431
  4. 3mo ago First seen · 74 lines · 77 tokens per session scan A d5889efba6fd

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository richfrem/agent-plugins-skills (8 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 736 once invoked, about $0.0003 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-09-03.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditorrichfrem/agent-plugins-skillsAgent8todayMITA75Claude Code
ap-workerSpielewoy/autoprompt-skillAgent1.3k2mo agoMITA30Claude Code
ap-feature-coordinatorSpielewoy/autoprompt-skillAgent1.3k2mo agoMITA24Claude Code
ap-synthesizerSpielewoy/autoprompt-skillAgent1.3k2mo agoMITA25Claude Code
factory-comment-sickowatt-mind/factoryAgent25todayApache-2.0A87Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code