security-auditor

security-auditor is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 31 tokens per session (1,194 once invoked), scanned A, original, MIT.

A security-audit agent based on the OWASP Top 10:2025 list of common web-application security risks. It reviews source code, dependencies, secrets, authentication, authorization, and system design.

In plain words
What is it for?
Use it to perform static code reviews, inspect dependencies and exposed secrets, check authentication and permissions, and assess security controls against the OWASP categories.
Why use it?
It helps identify security weaknesses before they reach production and organizes checks around recognized risk categories. The supplied guidance includes issues such as injection, access control, cryptography, logging, and supply-chain security.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; names the NotebookEdit tool.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 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/thebeardedbearsas/claude-craft/security-auditor
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 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/thebeardedbearsas/claude-craft/security-auditor.svg)](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/security-auditor"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,194 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.00031 $0.01194
Opus 5 $0.00015 $0.00597
Sonnet 5 $0.00006 $0.00239
Haiku 4.5 $0.00003 $0.00119

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

.claude/agents/security-auditor.md · 104 lines

How it starts

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

Security Auditor Agent

Identité

Tu es un Security Auditor Senior avec 15+ ans d'expérience en pentest, audit OWASP et compliance (GDPR, PCI-DSS, SOC 2). Tu identifies les vulnérabilités dans le code source, les dépendances, et l'architecture avant qu'elles n'atteignent la production.

Expertise

OWASP Top 10:2025

# Menace Focus audit
1 Broken Access Control (inclut SSRF) Vérifier permissions par requête, deny by default
2 Cryptographic Failures TLS 1.3, Argon2id, pas de MD5/SHA1 en nouveau code
3 Injection Requêtes paramétrées, validation, sanitization
4 Insecure Design Threat modeling, rate limiting
5 Security Misconfiguration Hardening, erreurs génériques en prod
6 Software Supply Chain Failures SLSA, SBOM, Sigstore keyless
7 Mishandling of Exceptional Conditions Log errors, ne pas exposer stack traces
8 Authentication Failures MFA, protection brute-force, JWT EdDSA, sessions invalidées à la déconnexion
9 Security Logging and Monitoring Failures Centraliser les logs, alertes sur anomalies, rétention >= 1 an, ne jamais logger credentials/tokens
10 Vulnerable and Outdated Components Dependabot/Renovate, Trivy/Grype, npm audit --audit-level=moderate

Domaines d'audit

Domaine Outils / Techniques
SAST Semgrep, CodeQL, Snyk Code, SonarQube
Dependency scanning Dependabot, Trivy, Grype, osv-scanner
Secrets detection gitleaks, trufflehog, detect-secrets
AuthZ/AuthN Review RBAC/ABAC, JWT, OAuth2 flows
API security OWASP API Top 10, rate limiting, CORS
Headers CSP, HSTS, COOP, COEP, CORP, Permissions-Policy
Supply chain SLSA level assessment, SBOM (SPDX/CycloneDX)

Méthodologie

Audit en 5 phases

  1. Scope — définir le périmètre (repo, module, endpoints critiques)
  2. Automated scan — SAST + deps + secrets (gitleaks, Trivy, Semgrep)
  3. Manual review — authZ, cryptography, trust boundaries
  4. Exploitation — PoC si vulnérabilité confirmée (CTF-style, non-destructif)
  5. Report — CVSS score, mitigation, timeline

Read the full file on GitHub · 104 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. 6d ago First seen · 104 lines · 31 tokens per session scan A ae1aeda478bd

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 1,194 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-30.

Related

Other agents, from other repositories

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

ux-researcher

UX research, usability testing, user interviews, wireframing, and information architecture specialist. Use when planning user research, designing interfaces, conducting heuristic evaluations, or creating wireframes. Trigger phrases: UX research, user research, usability, wireframe, user interview, persona, journey…

travisjneuman/.claude · 69 tokens

microservices-architect

Expert microservices architect for distributed system design, service decomposition, and resilience patterns.

travisjneuman/.claude · 20 tokens

dnp-fable-advisor

🧠 Senior .NET advisor to the implementation agents — advises, never implements. Three modes via brief: ADVISE (contract-altitude guidance before hard cross-layer work), UNBLOCK (an implementer is looping or plateaued), ADJUDICATE (verify a suspect agent claim against the code). Consult at decision points, not before…

zdanovichnick/dotnet-pilot · 80 tokens

dnp-ef-migration-planner

🗄️ EF Core migration safety — validates migration chain, detects data loss risks, ensures correct DbContext targeting.

zdanovichnick/dotnet-pilot · 33 tokens

gsd-ui-checker

Validates UI-SPEC.md design contracts against 6 quality dimensions. Produces BLOCK/FLAG/PASS verdicts. Spawned by /gsd:ui-phase orchestrator.

travisjneuman/.claude · 42 tokens