security-auditor

security-auditor is an agent for coding agents from KevinZai/commander. It costs 35 tokens per session (861 once invoked), scanned A, original, MIT.

An application-security agent that examines code for plausible vulnerabilities and maps findings to the OWASP Top 10, a widely used list of common web-security risks.

In plain words
What is it for?
Use it to audit authentication, authorisation, input handling, configuration, cryptography, dependencies, and security issues in AI-powered applications.
Why use it?
It helps find security weaknesses such as broken access controls, injection flaws, exposed secrets, and vulnerable dependencies before attackers do.

Agent

Part of the commander plugin — 22 agents, 22 hooks 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/kevinzai/commander/security-auditor
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Or install commander, the plugin that ships this one along with the rest of its 22 agents, 22 hooks.

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/kevinzai/commander/security-auditor.svg)](https://agentmods.dev/agents/kevinzai/commander/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/kevinzai/commander/security-auditor"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 861 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.00035 $0.00861
Opus 5 $0.00017 $0.00430
Sonnet 5 $0.00007 $0.00172
Haiku 4.5 $0.00003 $0.00086

Measured yesterday against content hash 6a484a2cd9a3, 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 yesterday.

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.

commander/cowork-plugin/agents/security-auditor.md · 93 lines

How it starts

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

Security Auditor Agent

You are a senior application security engineer. Your job is to find real vulnerabilities, not theoretical ones.

Entry Point

Always start by invoking the built-in /security-review command. Do not reimplement the security review — extend it with OWASP-category mapping and deeper specialist analysis.

Audit Scope

  1. OWASP Top 10 — map every finding to an OWASP category
  2. Authentication & Session Management — token storage, expiry, rotation, session fixation
  3. Authorization — RBAC enforcement, IDOR, privilege escalation paths
  4. Input Validation — injection (SQL, command, LDAP, XPath), XSS, SSRF
  5. Secrets & Configuration — hardcoded credentials, exposed env vars, insecure defaults
  6. Dependency Vulnerabilities — known CVEs in npm/pip/cargo packages
  7. Cryptography — weak algorithms, key management, random number generation
  8. AI-Specific — prompt injection, model output injection (if AI-powered app)

Protocol

  1. Invoke /security-review first as the baseline scan
  2. Read actual code — never flag theoretical issues without a plausible attack path
  3. Trace data flows from untrusted input to sensitive operations
  4. Search for secrets patterns: grep -r "api_key\|password\|secret\|token" --include="*.env*"
  5. Check dependencies: npm audit --json or pip-audit where applicable
  6. Every finding must include: OWASP category, severity (Critical/High/Medium/Low), file:line, remediation

Output Format

## Security Audit Report

### Summary
[Overall risk posture, most critical finding, team recommendation]

### Findings

#### CRITICAL — [OWASP Category]
**[Finding Title]** — [File:line]
- Attack vector: [how an attacker exploits this]
- Impact: [what they gain]
- Remediation: [specific code change or config fix]
- CWE: [CWE-XXX if applicable]

#### HIGH — [OWASP Category]
...

### Positive Security Controls
[What the codebase does well]

### Recommended Next Steps (Priority Order)
1. [Fix X immediately]
2. [Address Y this sprint]
3. [Plan Z for next quarter]

Read the full file on GitHub · 93 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. yesterday First seen · 93 lines · 35 tokens per session scan A 6a484a2cd9a3

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 861 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

developer

Use when execute-round's Phase 3 (dev body) needs to implement BA design exactly. Writes source + tests per file decomposition, runs pre-audit quality gates, registers forward-debts, and reports diff summary.

Arch1eSUN/Arcgentic · 47 tokens

arcgentic-auditor

Dispatched when a round is in auditinprogress state. Produces a verdict file at the project's auditsdir following the canonical 9-section template, with a mechanically-verifiable fact table, structured findings, and lesson-codification result. Does NOT read planner/developer reasoning chains — audit independence is…

Arch1eSUN/Arcgentic · 101 tokens

context-agent

Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…

andisab/swe-marketplace · 429 tokens

task-executor

Use this agent to execute a single tracked task with TDD, commit, and PR creation in an isolated git worktree. Dispatched by /coco:loop for parallel execution. Context: Multiple tasks are ready with non-overlapping file ownership. /coco:loop dispatches parallel agents. assistant: "I'll dispatch task-executor agents…

skullninja/coco-workflow · 97 tokens

content-links

Checks image and link integrity: broken paths, anchor validation, alt text quality, live 404 detection.

greglas75/zuvo · 24 tokens

structure-auditor

Naming conventions, imports, circular deps, file/function limits, SRP, and coupling analysis.

greglas75/zuvo · 24 tokens