Borrowing it
Nothing to install: this file belongs to RegardV/LegendaryTeam_For_Claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/RegardV/LegendaryTeam_For_Claude/main/.claude/commands/security-scan.mdgit clone --depth 1 https://github.com/RegardV/LegendaryTeam_For_ClaudeWrote 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.
[](https://agentmods.dev/commands/regardv/legendaryteam_for_claude/security-scan)<a href="https://agentmods.dev/commands/regardv/legendaryteam_for_claude/security-scan"><img src="https://agentmods.dev/badge/commands/regardv/legendaryteam_for_claude/security-scan/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.
<a href="https://agentmods.dev/commands/regardv/legendaryteam_for_claude/security-scan"><img src="https://agentmods.dev/badge/commands/regardv/legendaryteam_for_claude/security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.05004 |
| Opus 5 | $0.00000 | $0.02502 |
| Sonnet 5 | $0.00000 | $0.01001 |
| Haiku 4.5 | $0.00000 | $0.00500 |
Grade A, and why
security-scan scanned grade A with 2 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 9d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
# or: wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
# or: wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - How it starts
The opening of the file, as written. The whole thing — 796 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Scan
Run comprehensive security vulnerability scans and report findings to @chief.
What This Command Does
Automatically runs security scans across multiple layers:
- Dependency vulnerabilities - Known CVEs in packages
- Code vulnerabilities - Static analysis for security issues
- Secrets detection - Exposed API keys, passwords, tokens
- Container security - Docker image vulnerabilities (if applicable)
- License compliance - Check for restrictive licenses
- Security headers - HTTP security header validation (if web app)
Then reports all findings to @SecurityAgent and @chief for review.
Usage
/security-scan
Optional flags:
/security-scan --fix # Auto-fix vulnerabilities where safe
/security-scan --dependencies-only # Only scan packages
/security-scan --secrets-only # Only check for exposed secrets
/security-scan --severity=high # Only show high/critical issues
/security-scan --json # Output JSON for CI/CD
Implementation
This command auto-detects your project and runs appropriate security tools.
Auto-Detection & Tool Selection
Node.js/JavaScript Projects:
if [ -f "package.json" ]; then
# npm audit (built-in)
npm audit --json > npm-audit.json
# Snyk (if installed)
if command -v snyk &> /dev/null; then
snyk test --json > snyk-results.json
fi
# retire.js for outdated libraries
if command -v retire &> /dev/null; then
retire --json > retire-results.json
fi
fi
Python Projects:
if [ -f "requirements.txt" ] || [ -f "Pipfile" ] || [ -f "pyproject.toml" ]; then
# safety for known vulnerabilities
if command -v safety &> /dev/null; then
safety check --json > safety-results.json
fi
# bandit for code security issues
if command -v bandit &> /dev/null; then
bandit -r . -f json -o bandit-results.json
fi
# pip-audit
if command -v pip-audit &> /dev/null; then
pip-audit --format json > pip-audit.json
fi
fi
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.
- 9d ago First seen · 796 lines · 0 tokens per session scan A 18defe8da772
security-scan is a command published in the GitHub repository RegardV/LegendaryTeam_For_Claude (19 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,004 tokens. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
send
Send a message to a running agent session. Use this to correct or direct a live agent mid-stream without killing and respawning it.
plan-workflow
Generate a skill chain plan for a high-level goal by analyzing the skills registry for input/output compatibility.
statusline
Show the governor fleet in your Claude Code statusline. Explicit, opt-in, and chains — it never replaces an existing statusline.
mpm-init
Initialize or update project for Claude Code and MPM.
orquestar
Macro (4 fases) vs micro (8 pasos): el core del DT resume el flujo en 4 fases (Clarificar → Planificar y validar → Ejecutar → Entregar). Este comando es el desglose en 8 pasos; no es un pipeline alternativo. Fuente canónica del par macro/micro: regla 00-orquestador-core (no redefinir el modelo en otros lugares…
init-rules
Auto-generate .claude/rules/ — path-scoped coding conventions from project analysis. Re-run after codebase changes to update rules while preserving manually added conventions.