Every ai-blackteam command with every flag, organized by function.

Global Flags

Command Map

These apply to all commands:

Execution

Run a single attack against a model.
Exit codes: 0 = all blocked, 1 = at least one bypass, 2 = invalid arguments.
Run multiple attacks against a model. Parallel by default.
Run all attacks against all configured providers.
Tests every provider that has an API key configured (plus Ollama, which doesn’t need one).
Run the safety benchmark and produce a score. Supports single model, all models, or a specific list.
*One of -p, --all, or --models is required.
Test a defense by comparing baseline vs defended safety scores.
Run ASL3 safety evaluation (CBRN + autonomous capabilities).
Run attacks against dataset prompts with optional mutations.
Show template expansion capacity.
List expanded attacks with filters.
Run expanded attacks against a model.
Run PAIR adaptive attack (attacker-target-judge loop).
Run TAP tree-of-attacks with pruning.
Run GPTFuzzer mutation-based attack generation.
Run vulnerability research elicitation attacks. Tests a model’s willingness to find and exploit code vulnerabilities at three escalation levels: review, explain exploitation, and write a working exploit.

Reporting

Generate a report from stored results.
Show safety scorecard from stored results.
List all snapshots with bypass rates, dates, and models.
Compare two snapshots side by side. Shows before/after bypass rate with delta.
Export snapshot data to a file.
Show a model x time bypass rate matrix. Useful for tracking how safety changes across model versions over time.
Check if the latest snapshot bypass rate is below a threshold. Returns exit code 0 if below, exit code 1 if above. Designed for CI gating.

Discovery

Show available providers and default models.
Show available attacks and their modes.
Show all attacks grouped by category with OWASP/MITRE mappings.
No flags. Displays a table per category with attack IDs, severity, mode, description, OWASP codes, and MITRE ATLAS IDs.
Show MITRE ATLAS technique mappings for all attacks.
Show MLCommons AILuminate hazard taxonomy and harm category alignment.
Show regulatory framework mappings (NIST AI RMF, EU AI Act, MLCommons).

Management

Show current configuration (API keys are truncated).
Set a config value.
Show available datasets.
Download and cache a dataset.
Show prompt counts per category across cached datasets.
Scan source code for AI security vulnerabilities.