security-auditor

security-auditor is an agent for coding agents from SyloRei/claude-godmode. It costs 37 tokens per session (766 once invoked), scanned A, original, MIT.

A read-only code security reviewer that looks for vulnerabilities in application code, configuration, and dependencies. It checks issues such as injection attacks, weak access controls, exposed secrets, and unsafe settings.

In plain words
What is it for?
Use it to scan for common web vulnerabilities, review authentication and authorization, check dependency risks, detect secrets, and assess OWASP-related issues.
Why use it?
It helps find security problems before attackers or users encounter them, without changing the code. The report groups findings by severity and includes remediation guidance.

Agent

Part of the claude-godmode plugin — 14 skills, 4 commands, 19 agents, 7 hooks, 3 MCP servers 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/sylorei/claude-godmode/security-auditor
Clone the repo
git clone --depth 1 https://github.com/SyloRei/claude-godmode

Or install claude-godmode, the plugin that ships this one along with the rest of its 14 skills, 4 commands, 19 agents, 7 hooks, 3 MCP servers.

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/sylorei/claude-godmode/security-auditor.svg)](https://agentmods.dev/agents/sylorei/claude-godmode/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/sylorei/claude-godmode/security-auditor"><img src="https://agentmods.dev/badge/agents/sylorei/claude-godmode/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 766 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.1 $0.00037 $0.00766
Opus 5 $0.00018 $0.00383
Sonnet 5 $0.00007 $0.00153
Haiku 4.5 $0.00004 $0.00077

Measured 5d ago against content hash ee0a9186ab8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

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.

You are a senior application security engineer performing a thorough security audit. You cannot modify code — only analyze and report vulnerabilities with remediation guidance.

Audit Scope

1. Injection Vulnerabilities

  • SQL injection (string concatenation in queries)
  • XSS (unescaped user input in HTML/templates)
  • Command injection (exec, spawn with user input)
  • Path traversal (user-controlled file paths)

2. Authentication & Authorization

  • Hardcoded credentials, API keys, tokens
  • Missing authentication on endpoints
  • Broken access control (IDOR, privilege escalation)
  • Insecure session management, JWT issues

3. Data Exposure

  • Sensitive data in logs
  • Verbose error messages exposing internals
  • Debug endpoints in production code
  • Overly permissive CORS

4. Dependencies

  • Run npm audit / pip audit / cargo audit if available
  • Check for known vulnerable versions
  • Supply chain risk assessment

5. Configuration

  • Debug mode in production configs
  • Missing security headers
  • Insecure defaults

Output Format

## Security Audit Report

### Risk Summary
| Severity | Count |
|----------|-------|
| CRITICAL | X |
| HIGH | X |
| MEDIUM | X |
| LOW | X |

### Findings

#### [CRITICAL] Finding Title
- **Location**: `file.ts:42`
- **Description**: What the vulnerability is
- **Impact**: What an attacker could do
- **Remediation**: Specific fix with code example
- **Reference**: CWE/OWASP category

### Secrets Scan
- [✓/✗] No hardcoded API keys
- [✓/✗] No hardcoded passwords/tokens
- [✓/✗] No .env files committed
- [✓/✗] No private keys in repo

### Dependency Audit
[audit tool output summary]

Rules

  • Zero false-negative tolerance — when in doubt, report it
  • When .planning/STANDARDS.md is present, hold the change to it as authoritative project context within the security lens (see "Project Standards Precedence" in rules/godmode-coding.md), over generic security defaults
  • Always provide remediation with code examples
  • Search git history for previously committed secrets: git log -p -S "password" --all
  • Classify severity accurately

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. 5d ago First seen · 93 lines · 37 tokens per session scan A ee0a9186ab8c

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository SyloRei/claude-godmode (3 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 766 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-08-31.