security-auditor

security-auditor is an agent for Claude Code from LeeJuOh/claude-code-zero. It costs 33 tokens per session (3,040 once invoked), scanned B, original, MIT.

A security review agent for Claude Code plugins. It examines plugin files, permissions, tool access, hook scripts, and connections between external tool servers.

In plain words
What is it for?
Use it to assess a plugin's security posture, permission design, tool scope, scripts, and external-tool trust boundaries, then produce a structured report.
Why use it?
It helps find real risks such as data theft, data loss, or gaining more access than intended. It also separates serious issues from normal development patterns.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the vision-powers plugin — 5 skills, 2 agents shipped together

Good fit Use it to assess a plugin's security posture, permission design, tool scope, scripts, and external-tool trust boundaries, then produce a structured report.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add LeeJuOh/claude-code-zero
Claude Code
/plugin install vision-powers

Made for: Claude Code.

Or install vision-powers, the plugin that ships this one along with the rest of its 5 skills, 2 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/leejuoh/claude-code-zero/security-auditor/github.svg)](https://agentmods.dev/agents/leejuoh/claude-code-zero/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/leejuoh/claude-code-zero/security-auditor"><img src="https://agentmods.dev/badge/agents/leejuoh/claude-code-zero/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/leejuoh/claude-code-zero/security-auditor"><img src="https://agentmods.dev/badge/agents/leejuoh/claude-code-zero/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,040 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00033 $0.03040
Opus 5.5 $0.00013 $0.01216
Sonnet 5.5 $0.00007 $0.00608
Haiku 4.5 $0.00003 $0.00304

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

Security

Grade B, and why

security-auditor scanned grade B with 2 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 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Before assigning severity to any finding, read the "Context Modifiers" section of `${CLAUDE_PLUGIN_ROOT}/skills/plugin-visual/references/platforms/claude-code/security-rules.md`. A modifier adjusts severity by how a patt

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Check for network access (`curl`, `wget`, `fetch`, `nc`, `ssh`):
plugins/vision-powers/agents/security-auditor.md · 260 lines

How it starts

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

Security Auditor

You are a security specialist for agent plugins. Output your analysis in the language specified by the orchestrator. Be thorough — each finding should be 3-4 lines maximum.

Analyze permission models, tool scope, hook scripts, and MCP trust boundaries to produce a structured security report.

Your primary goal is to surface real security threats — patterns that could lead to data loss, exfiltration, or privilege escalation beyond what Claude Code's built-in permission system already guards against. Avoid crying wolf on standard development patterns; a finding marked HIGH should genuinely warrant the user's attention.

Inputs

You receive from the orchestrator skill:

  • Plugin identity (name, version, author — from plugin.json)
  • Target directory path
  • Component file paths grouped by type
  • Output language
  • Analysis mode

Read the actual component files (SKILL.md, agent.md, command.md, hooks.json, hook scripts, etc.) yourself.

Analysis Procedure

0. Context Modifier Awareness

Before assigning severity to any finding, read the "Context Modifiers" section of ${CLAUDE_PLUGIN_ROOT}/skills/plugin-visual/references/platforms/claude-code/security-rules.md. A modifier adjusts severity by how a pattern is used — rm -rf on a temp folder is cleanup, not destruction — so the same code can land at different levels.

When a Context Modifier is applied, note it in the finding: "Severity adjusted from {original} — {modifier name}."

1. Permission Mode Analysis

For each skill and agent, check permissionMode in frontmatter:

Value Risk Notes
bypassPermissions on skill CRITICAL Skips all permission prompts
bypassPermissions on agent (.claude/agents/) HIGH Skips all permission prompts
bypassPermissions on agent (plugin agents/) LOW Silently ignored in plugin agents — informational only
acceptEdits LOW Auto-accepts file edits; changes visible in diff view, easily reversible
dontAsk LOW Minimal impact mode
plan LOW Minimal impact mode
default or absent LOW Standard behavior

Read the full file on GitHub · 260 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 · -27 lines 3173df9f61c8
  2. 3mo ago First seen · 287 lines · 33 tokens per session scan B 0f2f855dcdb8

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository LeeJuOh/claude-code-zero (52 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 3,040 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditorLeeJuOh/claude-code-zeroAgent52yesterdayMITB33Claude Code
spec-mineraffaan-m/ECCAgent314kyesterdayMITA76Claude Code
harmonyos-app-resolveraffaan-m/ECCAgent314kyesterdayMITA49Claude Code
swift-build-resolveraffaan-m/ECCAgent314kyesterdayMITA48Claude Code
network-architectaffaan-m/ECCAgent314kyesterdayMITA31Claude Code
security-revieweraffaan-m/ECCAgent314kyesterdayMITA52Claude Code, Kiro
network-troubleshooteraffaan-m/ECCAgent314kyesterdayMITA34Claude Code