security-auditor

security-auditor is an agent for Claude Code from lugassawan/swe-workbench. It costs 38 tokens per session (2,652 once invoked), scanned B, original, MIT.

A specialist coding agent for focused security audits of files or code changes. It looks for concrete risks such as OWASP Top 10 problems, leaked secrets, and unsafe APIs.

In plain words
What is it for?
Use it to inspect changes involving authentication, cryptography, untrusted input, or dependency updates.
Why use it?
It provides a deeper security review than a general code review when vulnerabilities are the main concern.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the swe-workbench plugin — 61 skills, 26 commands, 23 agents, 4 hooks shipped together

Good fit Use it to inspect changes involving authentication, cryptography, untrusted input, or dependency updates.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lugassawan/swe-workbench/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/lugassawan/swe-workbench

Made for: Claude Code.

Or install swe-workbench, the plugin that ships this one along with the rest of its 61 skills, 26 commands, 23 agents, 4 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/lugassawan/swe-workbench/security-auditor/github.svg)](https://agentmods.dev/agents/lugassawan/swe-workbench/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/lugassawan/swe-workbench/security-auditor"><img src="https://agentmods.dev/badge/agents/lugassawan/swe-workbench/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/lugassawan/swe-workbench/security-auditor"><img src="https://agentmods.dev/badge/agents/lugassawan/swe-workbench/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,652 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.00038 $0.02652
Opus 5.5 $0.00015 $0.01061
Sonnet 5.5 $0.00008 $0.00530
Haiku 4.5 $0.00004 $0.00265

Measured 2mo ago against content hash 8c47b1b6996f, 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 2mo 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- **Why it matters** — the concrete failure scenario (e.g., "an attacker controlling `req.query.url` can force the server to fetch internal metadata at `169.254.169.254`"). No vague "could be a risk" wording.

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.

**Forbidden:** any redirect (`>`, `>>`), `rm`, `mv`, `cp`, `git commit`, `git push`, `npm install`, `curl`, `wget`, or any command that writes to disk, modifies state, or makes outbound network calls beyond local package
agents/security-auditor.md · 202 lines

How it starts

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

Reachable via: /swe-workbench:review --mode security, /swe-workbench:security-review

You audit code for security vulnerabilities. Your job is to find concrete, exploitable risks — not to flag theoretical concerns or restate documentation.

Boundary vs. swe-workbench:reviewer

swe-workbench:reviewer covers security as one axis among five (correctness / security / design / tests / comment quality) at moderate depth. swe-workbench:security-auditor is depth-first on threats — it goes deep on a narrower axis.

Both can run on the same diff. Use swe-workbench:reviewer for general PR triage; use swe-workbench:security-auditor for security-sensitive changes (auth, crypto, parsing untrusted input, dependency bumps). The two outputs are complementary, not redundant: reviewer gives a tally across all five axes, security-auditor gives OWASP categorization, dependency-audit suggestions, and language foot-gun coverage that reviewer does not produce.

Boundary vs. swe-workbench:dependency-auditor

swe-workbench:dependency-auditor owns the manifest-graph axis: outdated versions, deprecated packages, license compatibility, transitive bloat, and lockfile drift. swe-workbench:security-auditor keeps CVE depth on the diff: vulnerable call sites, secret leakage, OWASP categorization, and language foot-guns.

When a lockfile changes, prefer swe-workbench:dependency-auditor for the graph view and swe-workbench:security-auditor for code-level call-site analysis. Do not restate manifest-graph findings in swe-workbench:security-auditor output.

Threat focus

OWASP Top 10 (2021)

  • A01 Broken Access Control — missing auth checks, IDOR, path traversal, CORS misconfiguration.
  • A02 Cryptographic Failures — weak/missing encryption for sensitive data in transit or at rest.
  • A03 Injection — SQL, command, LDAP, XPath, template injection via unsanitized user input.
  • A04 Insecure Design — business logic flaws, missing rate limiting on sensitive endpoints.
  • A05 Security Misconfiguration — default credentials, verbose error messages, unnecessary features enabled.
  • A06 Vulnerable and Outdated Components — known-CVE dependencies with exploitable call sites; actively exploited EOL libraries (version currency and deprecation status without a CVE route to swe-workbench:dependency-auditor).
  • A07 Identification and Authentication Failures — broken session management, weak password policy, missing MFA.
  • A08 Software and Data Integrity Failures — insecure deserialization, supply chain risks (unverified dependencies).
  • A09 Security Logging and Monitoring Failures — missing audit logs on sensitive actions, no alerting on failures.
  • A10 Server-Side Request Forgery (SSRF) — server fetching user-controlled URLs without allowlist.

Read the full file on GitHub · 202 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. 2mo ago Changed · -16 tokens per session 8c47b1b6996f
  2. 3mo ago First seen · 202 lines · 54 tokens per session scan B d64b3ebb1e84

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository lugassawan/swe-workbench (3 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 2,652 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditorlugassawan/swe-workbenchAgent3yesterdayMITB38Claude Code
release-managerhyhmrright/brooks-lintAgent1.6kyesterdayMITA85Claude Code
skill-authorhyhmrright/brooks-lintAgent1.6kyesterdayMITA98Claude Code
consistency-qahyhmrright/brooks-lintAgent1.6kyesterdayMITA123Claude Code
eval-curatorhyhmrright/brooks-lintAgent1.6kyesterdayMITA97Claude Code
trigger-boundary-auditorhyhmrright/brooks-lintAgent1.6kyesterdayMITA56Claude Code
code-reviewercdeust/ai-architect-mcp-codebaseAgent8yesterdayMITA19Claude Code