security-audit

security-audit is an agent for Claude Code from laurigates/claude-plugins. It costs 39 tokens per session (1,568 once invoked), scanned A, original, MIT.

A read-only code reviewer that looks for common security problems, including exposed secrets, injection risks, authentication mistakes, and unsafe settings. OWASP Top 10 is a widely used list of major web-application security risks.

In plain words
What is it for?
Reviewing security-sensitive code, checking configurations, and looking for leaked secrets or vulnerable patterns.
Why use it?
It helps find security issues before code is released and turns them into actionable findings.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; names the TodoWrite tool.

Part of the agents-plugin plugin — 1 skill, 13 agents shipped together

Good fit Reviewing security-sensitive code, checking configurations, and looking for leaked secrets or vulnerable patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/laurigates/claude-plugins/security-audit
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/laurigates/claude-plugins

Made for: Claude Code.

Or install agents-plugin, the plugin that ships this one along with the rest of its 1 skill, 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-audit

README.md
[![agentmods](https://agentmods.dev/badge/agents/laurigates/claude-plugins/security-audit/github.svg)](https://agentmods.dev/agents/laurigates/claude-plugins/security-audit)
Your own site
<a href="https://agentmods.dev/agents/laurigates/claude-plugins/security-audit"><img src="https://agentmods.dev/badge/agents/laurigates/claude-plugins/security-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/agents/laurigates/claude-plugins/security-audit"><img src="https://agentmods.dev/badge/agents/laurigates/claude-plugins/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 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,568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00039 $0.01568
Opus 5.5 $0.00016 $0.00627
Sonnet 5.5 $0.00008 $0.00314
Haiku 4.5 $0.00004 $0.00157

Measured 1mo ago against content hash 3c349d4ddc2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-audit scanned grade A with 1 finding 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 1mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- `eval()`, `exec()`, `pickle.loads()`, `subprocess.shell=True`
agents-plugin/agents/security-audit.md · 152 lines

How it starts

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

Security Audit Agent

Scan code for security vulnerabilities, secrets exposure, and insecure patterns. Read-only analysis with actionable findings.

Tool Selection

The harness blocks several common bash idioms — use the dedicated tool instead. These rules track measurable friction in agent threads (issue #1109); following them keeps the run fast and avoids hook-block round-trips.

Avoid Use instead
find . -name '*.ts' Glob(pattern="**/*.ts")
grep -r 'foo' src/ Grep(pattern="foo", path="src", -r=true)
cat/head/tail on a file Read — use offset/limit to page through
echo ... > file / cat > file Write(file_path=..., content=...)
git add . / git add -A git add <explicit-paths> — protects unrelated coworker changes
git add ... && git commit ... Two separate Bash calls — git's index.lock does not survive &&

Read before Edit/Write. The harness tracks read-state per agent thread. Read every file in the current thread before editing or writing it — the parent session's Read does not count. If a formatter, linter, or hook may have rewritten a file since you read it, Read again before the next Edit.

Scope

  • Input: Code files, directories, PRs, or specific security concerns
  • Output: Prioritized security findings with remediation guidance
  • Steps: 10-20, thorough but bounded
  • Model: Opus (requires deep reasoning about attack vectors)

Workflow

  1. Scope - Identify files to audit (auth, API, user input handling, config)
  2. Secrets Scan - Check for hardcoded credentials, API keys, tokens
  3. Injection Analysis - SQL, XSS, command injection, path traversal
  4. Auth/AuthZ Review - Authentication flows, session management, access control
  5. Configuration Audit - CORS, CSP headers, TLS settings, permissions
  6. Dependency Check - Known vulnerable packages (if lockfiles present)
  7. Synthesize - Prioritize findings, provide remediation steps

Read the full file on GitHub · 152 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. 1mo ago Changed · +6 lines 3c349d4ddc2b
  2. 1mo ago Changed · -1 lines af3e914dd386
  3. 3mo ago Changed d467b62e47bf
  4. 3mo ago First seen · 147 lines · 39 tokens per session scan A 200cfa2a9f5a

Subscribe to this mod's changes

security-audit is an agent published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,568 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

security-audit compared with agents from other repositories

security-audit next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditlaurigates/claude-pluginsAgent60todayMITA39Claude Code
advisorngocsangyem/MeowKitAgent183d agoMITA91Claude Code
jira-jsmngocsangyem/MeowKitAgent183d agoMITA25Claude Code
comment-reviewermelodic-software/claude-code-pluginsAgent34todayMITA89Claude Code
dev-tooling-runnershopwareLabs/ai-coding-toolsAgent485d agoMITB141Claude Code
securityngocsangyem/MeowKitAgent183d agoMITB79Claude Code
therapistjimmc414/claude-code-plugin-marketplaceAgent42d agoMITB50Claude Code