Skip to content

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

2.1 KB
Raw Blame

Promptfoo / DeepTeam — Command & Config Reference

Install

Tool Command
Promptfoo (global) npm install -g promptfoo
Promptfoo (no install) npx promptfoo@latest redteam run
DeepTeam pip install -U deepteam

Promptfoo Red-Team CLI

Command Purpose
promptfoo redteam init Scaffold an interactive red-team config
promptfoo redteam generate Generate adversarial test cases only
promptfoo redteam run Generate + evaluate (combined)
promptfoo redteam eval Evaluate existing generated tests
promptfoo redteam report Open/export the results report
promptfoo redteam plugins List available plugins
promptfoo redteam strategies List available strategies

Useful flags: --no-progress-bar (CI), --output results.json, --filter-failing <file>, -c <config>.

Promptfoo Config Keys (redteam: block)

Key Purpose
purpose Application description; grounds attack generation
numTests Tests generated per plugin
plugins Adversarial generators (e.g. owasp:llm, owasp:agentic, pii:direct, prompt-extraction, harmful)
strategies Delivery techniques (jailbreak, jailbreak:composite, crescendo, prompt-injection)
targets Endpoints/models under test

DeepTeam Python API

Import Purpose
from deepteam import red_team Run a red-team assessment
from deepteam.vulnerabilities import Bias, PIILeakage Vulnerability definitions (50+)
from deepteam.attacks.single_turn import PromptInjection Single-turn attack methods
red_team(model_callback=..., vulnerabilities=[...], attacks=[...]) Execute the suite

DeepTeam CLI

Command Purpose
deepteam run config.yaml Run red teaming from a YAML config

External References