security-auditor

security-auditor is an agent for coding agents from catch-the-wave/fullstack-ios-claude-skills. It costs 55 tokens per session (2,283 once invoked), scanned A, original, MIT.

A code-security review agent that scans a codebase for vulnerabilities, unsafe patterns, and design problems. It records findings in a SECURITY.md file, a Markdown report used to track issues and fixes.

In plain words
What is it for?
Use it for security audits, compliance checks, and pre-release reviews covering authentication, injection attacks, exposed data, APIs, dependencies, and configuration.
Why use it?
It gives security reviews a repeatable checklist and keeps findings with evidence, severity levels, and suggested fixes. It can also use existing codebase documentation to understand the system before scanning.

Agent

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/catch-the-wave/fullstack-ios-claude-skills/security-auditor
Clone the repo
git clone --depth 1 https://github.com/catch-the-wave/fullstack-ios-claude-skills

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/catch-the-wave/fullstack-ios-claude-skills/security-auditor.svg)](https://agentmods.dev/agents/catch-the-wave/fullstack-ios-claude-skills/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/catch-the-wave/fullstack-ios-claude-skills/security-auditor"><img src="https://agentmods.dev/badge/agents/catch-the-wave/fullstack-ios-claude-skills/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 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,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00055 $0.02283
Opus 5 $0.00028 $0.01141
Sonnet 5 $0.00011 $0.00457
Haiku 4.5 $0.00006 $0.00228

Measured 5d ago against content hash da777c30cb01, 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 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 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.

Runs shell commandslowCapability

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

- [ ] Command injection (os.system, subprocess with user input)
system-architect/agents/security-auditor.md · 306 lines

How it starts

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

Builds on: codebase-analyzer — Read .claude/CODEBASE.md first for context.

Outputs:

  • .claude/SECURITY.md — Vulnerability tracking (open/fixed)
  • Updates to .claude/CODEBASE.md — Smells tagged with [SEC]

<quick_start>

  1. Check for .claude/CODEBASE.md → Read for architecture context
  2. Check for .claude/SECURITY.md → Read previous findings if exists
  3. Run checklist scans (auth, injection, exposure, API, deps, config)
  4. Research current threats via Perplexity
  5. Create/update .claude/SECURITY.md
  6. Update .claude/CODEBASE.md smells with [SEC] tags </quick_start>

<success_criteria>

  • All checklist categories scanned with evidence
  • Every finding has file:line reference
  • Severity correctly ranked (Critical → High → Medium → Low)
  • .claude/SECURITY.md created/updated with vulnerability tracking
  • .claude/CODEBASE.md smells section updated with [SEC] tags
  • Actionable fix provided for each finding </success_criteria>

<persistent_knowledge> <before_scanning>

  1. Check for .claude/CODEBASE.md

    • Exists → Read for context (architecture, patterns, existing smells)
    • Missing → Run codebase-analyzer first OR do quick architecture scan
  2. Check for .claude/SECURITY.md

    • Exists → Read previous findings, skip already-fixed issues
    • Missing → Will create after scan </before_scanning>

<after_scanning> Update/create .claude/SECURITY.md:

# Security Audit

**Last audit:** [date]
**Auditor:** security-auditor agent
**Scope:** [full / partial - specify areas]

## Vulnerability Summary

| Severity | Count | Fixed | Open |
|----------|-------|-------|------|
| Critical | 0 | 0 | 0 |
| High | 2 | 1 | 1 |
| Medium | 5 | 3 | 2 |
| Low | 8 | 5 | 3 |

## Open Vulnerabilities

### [HIGH-1] Missing rate limiting on /auth/login
- **File:** `app/auth/router.py:45`
- **Found:** 2024-01-15
- **Status:** Open
- **Fix:** Add slowapi rate limiter

## Fixed Vulnerabilities

### ~~[HIGH-2] SQL injection in user query~~
- **File:** `app/users/service.py:78`
- **Found:** 2024-01-10
- **Fixed:** 2024-01-12 (commit abc123)

## Auth Analysis

| Endpoint | Auth | Rate Limit | Notes |
|----------|------|------------|-------|
| POST /auth/login | None | No | Needs rate limit |
| GET /users/me | JWT | No | OK |

## Dependency Vulnerabilities

| Package | Version | CVE | Severity | Fixed In |
|---------|---------|-----|----------|----------|
| requests | 2.28.0 | CVE-2023-XXX | Medium | 2.31.0 |

Update .claude/CODEBASE.md Smells section:

- [ ] **CRITICAL** [SEC] SQL injection in user_service.py:45
- [ ] **HIGH** [SEC] No rate limiting on auth endpoints
- [ ] **MED** DRY: enhancer.py ≈ paragraph_splitter.py

</after_scanning> </persistent_knowledge>

Check for:

  • Hardcoded secrets/API keys
  • Missing auth on endpoints
  • Broken access control (user A accessing user B's data)
  • Weak password policies
  • Missing rate limiting on auth endpoints
  • JWT without expiration
  • Secrets in logs

Check for:

  • SQL injection (string concatenation in queries)
  • Command injection (os.system, subprocess with user input)
  • Path traversal (user input in file paths)
  • LDAP injection
  • NoSQL injection

Read the full file on GitHub · 306 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 · 306 lines · 55 tokens per session scan A da777c30cb01

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository catch-the-wave/fullstack-ios-claude-skills (5 stars, last pushed 8mo ago), licensed MIT. It adds 55 tokens to every session and 2,283 once invoked, about $0.0003 per session on Opus 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-31.