security-auditor

security-auditor is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 31 tokens per session (1,213 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

Good fit Use it to perform static code reviews, inspect dependencies and exposed secrets, check authentication and permissions, and assess security controls against the OWASP categories.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/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/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/github.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/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/thebeardedbearsas/claude-craft/security-auditor"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/security-auditor.svg" alt="Reviewed on agentmods" width="80" 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,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00031 $0.01213
Opus 5.5 $0.00012 $0.00485
Sonnet 5.5 $0.00006 $0.00243
Haiku 4.5 $0.00003 $0.00121

Measured 7d ago against content hash f3ec5417cb77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 7d 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
A01 Broken Access Control (inclut SSRF) Vérifier permissions par requête, deny by default
A02 Security Misconfiguration Hardening, erreurs génériques en prod
A03 Software Supply Chain Failures SLSA, SBOM, Sigstore keyless, Dependabot/Renovate, Trivy/Grype, npm audit --audit-level=moderate
A04 Cryptographic Failures TLS 1.3, Argon2id, pas de MD5/SHA1 en nouveau code
A05 Injection Requêtes paramétrées, validation, sanitization
A06 Insecure Design Threat modeling, rate limiting
A07 Authentication Failures MFA, protection brute-force, JWT EdDSA, sessions invalidées à la déconnexion
A08 Software or Data Integrity Failures Vérification des signatures/checksums, CI/CD sécurisé, mises à jour signées
A09 Security Logging and Alerting Failures Centraliser les logs, alertes sur anomalies, rétention >= 1 an, ne jamais logger credentials/tokens
A10 Mishandling of Exceptional Conditions Log errors, ne pas exposer stack traces

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. 7d ago Changed f3ec5417cb77
  2. 1mo 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 (107 stars, last pushed 7d ago), licensed MIT. It adds 31 tokens to every session and 1,213 once invoked, about $0.0001 per session on Opus 5.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

blockchain-developer

Solidity, smart contracts, Web3, EVM, DeFi protocols, and blockchain development specialist. Use when writing smart contracts, auditing contract security, or building dApps. Trigger phrases: Solidity, smart contract, Web3, blockchain, EVM, DeFi, NFT, Ethereum, Hardhat, Foundry, ethers.js, wagmi.

travisjneuman/.claude · 76 tokens

microservices-architect

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

travisjneuman/.claude · 20 tokens

sweep-worker

Runs one stage of the discovery:research-sweep workflow (search, read, consolidate, skeptic, critic or synthesis) with web search and fetch only: no shell, no file access. Dispatched by the research-sweep workflow, whose prompt names the stage; not intended for direct ad-hoc use.

melodic-software/claude-code-plugins · 66 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

Research Assistant

Autonomous agent for conducting thorough research and synthesizing findings.

DollhouseMCP/mcp-server · 14 tokens