From Guidelines to Practice: Defining Requirements for AI Red-Teaming ToolsFrom Guidelines to Practice: Defining Requirements for AI Red-Teaming Tools
The authors extracted eight desirable features of red teaming tools from multiple AI safety guidelines and conducted a comparative experiment with six open-source tools on six open-source LLMs.
- There are many AI red teaming testing tools on the market, making it difficult for organizations to choose; the authors argue that existing comparative studies only look at attack performance and do not benchmark against requirements in industry standards and guidelines.
- The authors analyze multiple industry standards and guidelines, distill eight desired characteristics of red teaming tools, map them to existing comparison metrics, and then conduct experiments with six open-source tools against six open-source LLMs, comparing them uniformly according to the NIST AI 100-2 E2025 taxonomy.
- All six tools are open source and can generate reports containing prompt-response pairs; only Promptfoo aligns with multiple standard frameworks; in Table 4, Promptfoo broke all 6 models on all 8 mapped attack types, and Whistleblower was 0/6 on Prompt extraction.
- The authors state that there is currently no standardized benchmark for evaluating tool effectiveness, and that success rates need to be measured by attack type; the experiments cover only six open-source tools and six open-source LLMs, and do not report the number of prompts per attack type or the judging method; future work plans to evaluate defense mechanisms.
- Evaluated models
- Llama 4-Scout-17B-16E-InstructLlama 3.2-3B-InstructLlama 2-7B-ChatVicuna v1.5DeepSeek v2-16B-Lite-ChatMistral 7B-Instruct-v0.3
- Benchmarks
- NIST AI 100-2 E2025 攻击类型分类
- Metrics
- 各攻击类型下成功攻破的模型数(0–6)GitHub stars更新频率
Researchers analyze multiple industry standards and guidelines, distill requirements that AI safety testing tools should meet, and use them to evaluate the performance of six tools on six large language models, identifying gaps that future tools should consider. The paper's background is that AI introduces attack surfaces such as prompt injection and jailbreak, and organizations need to understand the capabilities and limitations of safety testing tools before using them; the authors state that most existing research analyzes only the attack performance of tools and has not used industry standards to evaluate tools, and this work attempts to fill this gap.
Related events and news
1 events · 1 news mentions
News that mentions this paper
大模型安全周报:智能体安全边界在签名、授权与上下文
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:智能体的安全边界在签名、授权与上下文三层防线里
From Guidelines to Practice: Defining Requirements for AI Red-Teaming Tools(https://arxiv.org/abs/2611.04271)
Paper analysis
What problem does this paper attempt to solve?
Organizations find it difficult to choose among the many AI red teaming tools; the authors start from industry standards to define the features a tool should have and conduct an empirical comparison.
Core question: Given the many AI safety testing (red teaming) tools, how can organizations choose the right tool based on the requirements of industry standards and guidelines.
- Context and importance: AI introduces new attack surfaces such as prompt injection and jailbreaking, and organizations need tools to conduct AI risk assessment; the authors argue that before selecting a tool, one should understand its capabilities and limitations.
- Gaps in existing research: The authors state that Brokman et al. compared the architecture and attack evaluation of open-source red teaming scanners, but the analysis was limited to attack performance and did not use industry standards and guidelines to assess whether tools meet organizations' AI risk management needs.
- Core approach: The authors analyze multiple industry standards and guidelines (NIST AI RMF, OWASP, MITRE ATLAS, CSA, EU AI Act, etc.), extract evidence from them, and summarize it into eight desirable features as a reference for tool selection.
- Paper outputs: A list of eight desirable features is proposed; the features are mapped to comparison metrics in existing guidelines (Table 1); and experiments are conducted on six open-source LLM red teaming tools across six open-source LLMs, comparing the effectiveness of each tool on different attack types under the unified NIST AI 100-2 E2025 taxonomy (Table 4).
What related research exists?
Related work falls into three categories: AI security guidelines and frameworks, AI attack taxonomy research, and AI security testing tools; the only study that directly compares tools is Brokman et al.
AI Security Frameworks and Guidelines
- NIST: AI RMF (four functions: Govern/Map/Measure/Manage) and the NIST AI 100-2 E2025 report (a taxonomy of adversarial machine learning attacks and mitigations; this paper uses it to uniformly map attack types).
- OWASP: community projects such as Machine Learning Security Top Ten, Top 10 for LLM Applications, AI Exchange, and GenAI Security Project.
- Governments and international organizations: MITRE ATLAS (knowledge base of threats to AI systems), joint guidance from NCSC/ASD/NSA AISC, ENISA FAICP, EU AI Act, ASEAN guidelines, Singapore CSA guidelines, etc., covering security recommendations for each stage of the AI SDLC.
Research on Attacks on AI Systems
- NIST AI 100-2 E2025: distinguishes PredAI and GenAI attacks; PredAI includes poisoning, evasion, and privacy attacks, while GenAI additionally includes categories such as supply chain, direct prompting, and indirect prompt injection.
- Das et al.: a survey of security and privacy challenges of nine representative attack and defense mechanisms on LLMs.
- Yan et al.: Virtual Prompt Injection backdoor attack that can steer the model without explicitly injecting input; Shen et al. (DAN): a black-box prompt injection module implemented in Garak.
AI Security Testing Tools and Comparative Studies
- PredAI tools: Adversarial Robustness Toolbox, Foolbox, Counterfit, CleverHans, etc., covering evasion, poisoning, and membership inference testing.
- GenAI tools: Garak, Moonshot, PromptBench, etc., covering prompt injection, jailbreaking, and data leakage.
- Brokman et al. (2025): the authors state this is the only work specifically evaluating AI security testing tools, comparing the diversity and effectiveness of attack methods of open-source LLM vulnerability scanners; the authors argue it does not evaluate, in conjunction with industry guidelines, whether tools meet organizations' risk management needs.
Positioning: the authors state that this paper starts from guidelines and frameworks to identify the characteristics tools should have, forming a more comprehensive basis for selection than comparisons of attack performance alone.
How does the paper address this problem?
Derive eight desirable features from the guidelines, map them to existing comparison metrics, and then use a unified attack taxonomy to conduct an experimental comparison of six tools.
The overall approach has three steps: analyze the guidelines to extract eight desirable features → map the features to comparison metrics in existing guidelines and discuss the validity of each metric → use six open-source tools on six open-source LLMs to experimentally verify how the features are realized.
Guideline analysis and feature extraction
- Objects of analysis: Seven guidelines, including the CSA Companion Guide, the NCSC guidelines, ASD Engaging with AI, the NSA AISC deployment guidelines, the Hiroshima guiding principles, and two IMDA Model AI Governance Frameworks, are reviewed to identify the roles AI safety testing tools can play at each stage of the AI SDLC.
- Extraction method: Statements and implicit requirements in the guidelines regarding matters such as red teaming transparency are extracted, and similar evidence is grouped into eight categories, i.e., the eight desirable features.
The eight desirable features
- Accessibility and Transparency: Whether the tool is open and inspectable; the authors also note that transparency is a double-edged sword, as attackers can also study tool weaknesses.
- Standardization: The degree to which the tool aligns with standards or taxonomies such as NIST RMF, OWASP, MITRE ATLAS, and EU AI Act.
- Evidence Gathering and Documentation: The level of detail (timestamps, prompt-response pairs) and organization of reports; compliance requires complete evidence.
- Automation and Integration: Automated evaluation capability and the ability to integrate with existing infrastructure (APIs, frameworks, CI/CD).
- Models, Modality, and Threat Coverage: Supported model types, data modalities, and threat coverage; the authors note that multimodal evaluation tools are lacking.
- Assessment Environments: Local deployment versus remote hosting; remote usually allows only black-box testing, while local allows white-box or gray-box testing.
- Activity and Updates: Continuous updates and community activity, measurable by GitHub metrics or vendor release frequency.
- Effectiveness: The accuracy of threat detection rather than coverage; the authors state that there is currently no standardized benchmark (such as a set of known-vulnerable models) for evaluating tool effectiveness.
Metric mapping and critique
- Mapping: Table 1 maps comparison metrics from guidelines such as OWASP, Brokman et al., and CSA (license type, attack type, API availability, GitHub stars, attack success rate, etc.) to the corresponding features.
- Critique of the Effectiveness metrics: The authors argue that Brokman et al.'s three metrics—number of attack instances, attack success rate, and manually estimated error margin—are insufficient to measure true effectiveness: the number does not represent diversity, the success rate is affected by the dataset and should be counted by attack type (with reference to a taxonomy) rather than by test case, and the error estimate relies on humans; the authors suggest that a set of LLM judges could replace human evaluation.
Experimental design
- Models: Six unquantized open-source models from the Ollama library: Llama 4-Scout-17B-16E-Instruct, Llama 3.2-3B-Instruct, Llama 2-7B-Chat, Vicuna v1.5 (13B), DeepSeek v2-16B-Lite-Chat, Mistral 7B-Instruct-v0.3.
- Tools: AgentFence 0.1.0, Garak 0.12.0, Giskard 2.17.0, Promptfoo 0.117.5, Prompt Fuzzer 2.0.0, Whistleblower 1.1.1, all open source.
- Unified comparison method: Each tool's attack types are mapped to the NIST AI 100-2 E2025 taxonomy (e.g., Prompt Injection NISTAML.018, Prompt extraction NISTAML.035), and the number of models successfully broken is counted by "tool × attack type" and entered into a standardized table (Table 4).
What experiments did the paper conduct?
Six open-source tools against six open-source LLMs: all are open source and have detailed reports, and only Promptfoo aligns with multiple standards; Table 4 gives, by attack type, the number of models each tool broke.
Experimental setup
- Models tested: Llama 4-Scout-17B-16E-Instruct, Llama 3.2-3B-Instruct, Llama 2-7B-Chat, Vicuna v1.5 (13B), DeepSeek v2-16B-Lite-Chat, Mistral 7B-Instruct-v0.3, all from the Ollama library and unquantized.
- Tools tested: AgentFence 0.1.0, Garak 0.12.0, Giskard 2.17.0, Promptfoo 0.117.5, Prompt Fuzzer 2.0.0, Whistleblower 1.1.1.
- Metrics: For attack types mapped under NIST AI 100-2 E2025, the number of models each tool successfully broke on each attack type (0–6, Table 4); also GitHub stars and update frequency (Table 3).
- Review method and sample size: The paper does not report the number of prompts used per attack type, how attack success was judged (manual or automatic), or the number of repetitions.
Main results
In Table 4, the numbers are the number of models (out of 6) that the tool successfully broke on that attack type; "-" indicates the paper did not report that combination:
Swipe horizontally to read the table
Attack type (NIST ID) AgentFence Garak Giskard Promptfoo Prompt Fuzzer Whistleblower Prompt Injection (018) 4 5 6 - 6 - Prompt extraction (035) 2 - - - 6 0 Misuse Violations (04) 0 5 - 6 - - Data extraction (038) 5 5 - 6 - - Misaligned Outputs (027) - - 5 6 5 - Privacy Compromises (03) - - 5 6 - - Compromising connected resources (039) - - - 6 - - Indirect prompt injection (015) - - - 6 - - - The authors state that the tools' attack taxonomies are inconsistent and can only be compared after mapping to the NIST taxonomy; after mapping, the six tools jointly cover six vulnerability categories.
- The authors state that Prompt Fuzzer is more effective than Whistleblower on Prompt extraction: the former found vulnerabilities in all six models, while the latter found 0.
- Promptfoo broke all six models on all eight attack types for which it has reported results.
Comparison of the remaining features (Table 2, Table 3)
- Accessibility: All six tools are open source with detailed documentation, rated High by the authors; the AgentFence commercial edition and the Giskard enterprise hub include closed-source features, rated Moderate.
- Standardization: Promptfoo incorporates MITRE ATLAS, NIST AI RMF, OWASP, and EU AI Act; Giskard labels AVID classifications in its reports; the other four tools are not aligned with formal standards.
- Automation & Integration: AgentFence, Garak, Giskard, and Whistleblower support integration with external model providers or endpoints; Promptfoo and Prompt Fuzzer have no integration and their evaluation process is not reproducible (Table 3).
Other ablations and analyses
- Evidence Gathering: All six tools generate detailed reports containing prompt-response pairs, but the formats are inconsistent (AgentFence uses the command line, Garak uses JSONL and HTML).
- Activity & Update: Garak (7.1k stars), Giskard (5.1k), Promptfoo (10.6k), and Prompt Fuzzer (636) still have new commits each week; AgentFence (51 stars) was last updated in March 2025, and Whistleblower (151 stars) was last updated in October 2025 (Table 3).
What are some points that can be further explored?
The authors point out that tool effectiveness lacks standardized benchmarks, that success rates should be measured by attack type, and propose evaluating defense mechanisms as a future direction.
Limitations and future directions noted by the authors
- Lack of standardized benchmarks: The authors state that there is currently no standardized benchmark (such as a set of known-vulnerable AI models) for evaluating these tools, and that effectiveness evaluation remains subjective (Section 3.2 Effectiveness).
- Inadequacy of existing effectiveness metrics: The authors argue that the number of attack instances does not represent diversity, that attack success rates are affected by the dataset and should be counted by attack type, and that error margin estimation relies on humans and is error-prone; the authors suggest that a set of LLM judges could replace human evaluation (Section 4.8).
- Inconsistent taxonomies: Each guideline and tool uses its own threat taxonomy, with overlapping or slightly differing definitions; the authors argue that a widely adopted unified taxonomy is needed (Section 4.5).
- Standardization metric not yet comparable: None of the existing tool comparison guidelines evaluate tool support for standards; the authors state that because too few tools support them, using this as a comparison criterion is of little value at this stage (Section 4.2).
- Future directions: The authors plan to evaluate the effectiveness and capabilities of AI defense mechanisms (such as monitoring, detection, guardrails that mitigate harmful inputs and outputs, adversarial training, etc.) (Conclusion).
Scope of the experiments
- The models tested are six open-source LLMs (Llama 4 Scout, Llama 3.2-3B, Llama 2-7B-Chat, Vicuna v1.5 13B, DeepSeek v2-16B-Lite-Chat, Mistral 7B-Instruct-v0.3), all from Ollama and unquantized.
- The tools tested are six open-source tools, and the paper states the version number of each tool.
- The effectiveness experiments cover only the eight attack types mapped to NIST AI 100-2 E2025; most "tool × attack type" combinations in Table 4 do not report numbers.
- The paper does not report the number of prompts per attack type, how attack success was judged (manual or automatic), or the number of repetitions.
- The paper does not report experiments on closed-source tools or closed-source models; the Assessment Environments feature is analyzed only qualitatively in the metric discussion, with no experiments.
Summarize the main content of the paper
The authors distill eight desired characteristics of red teaming tools from industry guidelines and test six open-source tools, providing a reference for organizations' tool selection.
An evaluation study on AI red teaming tool selection: organizations face many AI security testing tools and find it difficult to choose; the authors argue that existing comparisons only look at attack performance and do not benchmark against industry standards.
- Method: analyzed multiple guidelines including NIST, OWASP, MITRE, CSA, and the EU AI Act, distilled eight desired characteristics (accessibility and transparency, standardization, evidence collection and documentation, automation and integration, model/modality/threat coverage, evaluation environment, activity and updates, effectiveness), and mapped them to comparison metrics in existing guidelines (Table 1).
- Experiment: six open-source tools (AgentFence, Garak, Giskard, Promptfoo, Prompt Fuzzer, Whistleblower) against six open-source LLMs, with attack types uniformly mapped to the NIST AI 100-2 E2025 taxonomy.
- Main results: all six tools are open source and generate reports containing prompt-response pairs; only Promptfoo aligns with multiple frameworks such as MITRE ATLAS, NIST AI RMF, OWASP, and the EU AI Act; in Table 4, Promptfoo broke all six models on all eight attack types for which it has reports, and Prompt Fuzzer was 6/6 on Prompt extraction while Whistleblower was 0/6.
- Authors' conclusion: they hope the eight characteristics help organizations select tools according to their needs; the authors believe tool effectiveness lacks standardized benchmarks, success rates should be counted by attack type, and they plan to evaluate defense mechanisms in follow-up work.