security

security is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 20 tokens per session (4,286 once invoked), scanned A, original, MIT.

A security-audit command that uses several agents to inspect source code, third-party dependencies, and infrastructure settings in parallel.

In plain words
What is it for?
Use it to audit a project’s code, dependency supply chain, deployment setup, or all three, with optional cost limits and a dry-run plan.
Why use it?
It brings separate security checks into one review and can flag findings above a chosen severity. SARIF output can be consumed by continuous integration systems.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument; mentions Claude Code.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to audit a project’s code, dependency supply chain, deployment setup, or all three, with optional cost limits and a dry-run plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thebeardedbearsas/claude-craft/security
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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/security/github.svg)](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/security)
Your own site
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/security"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/security/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/security"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,286 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.00020 $0.04286
Opus 5.5 $0.00008 $0.01714
Sonnet 5.5 $0.00004 $0.00857
Haiku 4.5 $0.00002 $0.00429

Measured 1mo ago against content hash 62b8dabeb69a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security 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 1mo 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/commands/team/security.md · 381 lines

How it starts

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

Équipe de Revue de Sécurité - Audit de Sécurité Multi-Dimension Parallèle

Orchestrer un audit de sécurité complet en utilisant les Claude Code Agent Teams (v2.1.32+). Lance un security lead (opus) plus 3 reviewers haiku spécialisés, chacun analysant une dimension de sécurité différente en parallèle : vulnérabilités du code source, dépendances/chaîne d'approvisionnement, et infrastructure/configuration.

Arguments

$ARGUMENTS

  • --scope=full : Périmètre de l'audit (par défaut : full). Options : full, code, deps, infra
  • --max-workers=3 : Nombre maximum de reviewers parallèles (par défaut : 3, max : 3)
  • --severity=medium : Sévérité minimum à rapporter : low, medium, high, critical
  • --output-dir=<path> : Répertoire de sortie personnalisé pour les résultats de sécurité
  • --dry-run : Afficher la composition de l'équipe et le plan de scan sans exécuter
  • --sarif : Sortir les résultats au format SARIF (pour intégration CI/CD)
  • --max-cost=<dollars> : Budget maximum en dollars. Si le coût parallèle estimé dépasse ce seuil, l'exécution est bloquée avec un message OVER BUDGET

Prérequis

  • Claude Code v2.1.32+ avec support Agent Teams
  • Variable d'environnement CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 définie
  • Docker disponible pour exécuter les scanners de sécurité
  • Tools/AgentTeams/lib/compatibility-check.sh disponible
  • Tools/AgentTeams/lib/result-aggregator.sh disponible
  • Tools/AgentTeams/lib/cost-estimator.sh disponible

ℹ️ Ces scripts sont installés automatiquement par claude-craft (make install-agentteams ou via l'installeur). S'ils sont absents, la commande continue en mode dégradé : estimation de coût manuelle et --ralph-mode indisponible (non bloquant).

Garde-Fou Fast Mode (Confirmation Bloquante)

OBLIGATOIRE : Avant de lancer l'équipe, le security lead DOIT :

  1. Détecter si le Fast Mode est actif (indicateur lightning bolt dans le terminal)
  2. Si Fast Mode actif :
    • Afficher le dashboard comparatif standard vs fast via cost-estimator.sh --fast-mode
    • Afficher un avertissement bloquant avec les coûts comparés :
      ⚠️  FAST MODE DÉTECTÉ — Coûts Opus 6x plus élevés !
      
      | Mode     | Input ($/M) | Output ($/M) | Coût estimé cette revue |
      |----------|-------------|--------------|------------------------|
      | Standard | $5.00       | $25.00       | ~$X.XX                 |
      | Fast     | $30.00      | $150.00      | ~$Y.YY                 |
      
      Voulez-vous continuer en Fast Mode ? (oui/non)
      Recommandation : tapez /fast pour désactiver avant de continuer.
      
    • Attendre la confirmation explicite de l'utilisateur avant de poursuivre
    • Si l'utilisateur refuse, abandonner avec un message suggérant /fast pour désactiver

Read the full file on GitHub · 381 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. 1mo ago First seen · 381 lines · 20 tokens per session scan A 62b8dabeb69a

Subscribe to this mod's changes

security is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (107 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 4,286 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-09-03.