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.

Équipe de Revue de Sécurité - Audit de sécurité multi-dimension parallèle utilisant les Agent Teams.

Command for Claude Code

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 commands/thebeardedbearsas/claude-craft/security
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
Origin unknown 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.00020 $0.04286
Opus 5 $0.00010 $0.02143
Sonnet 5 $0.00004 $0.00857
Haiku 4.5 $0.00002 $0.00429

Measured today against content hash 62b8dabeb69a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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. today 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 (105 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 4,286 once invoked, about $0.0001 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-09-03.