PyRIT: A Framework for Security Risk Identification and Red Teaming in Generative AI System
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Generative Artificial Intelligence (GenAI) is becoming ubiquitous in our daily lives. The increase in computational power and data availability has led to a proliferation of both single- and multi-modal models. As the GenAI ecosystem matures, the need for extensible and model-agnostic risk identification frameworks is growing. To meet this need, we introduce the Python Risk Identification Toolkit (PyRIT), an open-source framework designed to enhance red teaming efforts in GenAI systems. PyRIT is a model- and platform-agnostic tool that enables red teamers to probe for and identify novel harms, risks, and jailbreaks in multimodal generative AI models. Its composable architecture facilitates the reuse of core building blocks and allows for extensibility to future models and modalities. This paper details the challenges specific to red teaming generative AI systems, the development and features of PyRIT, and its practical applications in real-world scenarios.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 15 of its 27 references that are in the map. First posted on arXiv 1 Oct 2024.
Builds on
15 of 27 references.
Closest ancestors · 1
Same direction, newest first
Other references · 14
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
- 2019InterpretML: A Unified Framework for Machine Learning Interpretabilitycited by 246
- 2023Generative AIcited by 120
- 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Modelscited by 76
2 more
- 2023Fairlearn: Assessing and Improving Fairness of AI Systemscited by 74
- 2024Datasets for Large Language Models: A Comprehensive Surveycited by 71
Built on by
Citing papers per year: 2024: 3; 2025: 11; 2026: 17.
31 papers.
Sort:
By area:
- 2024Steering Language Model Refusal with Sparse Autoencoderscited by 95
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threatscited by 32
- 2025Lessons From Red Teaming 100 Generative AI Productscited by 23
- 2025From Passive to Active Reasoning: Can Large Language Models Ask the Right Questions under Incomplete Information?cited by 23
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMscited by 21
- 2025SoSBench: Benchmarking Safety Alignment on Six Scientific Domainscited by 12
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2024Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysiscited by 10
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2026Learning to Attack and Defend: Adaptive Red Teaming of Language Models via GRPOcited by 5
- 2025aiXamine: Simplified LLM Safety and Securitycited by 4
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltrationcited by 3
19 more
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLMcited by 3
- 2026Adaptive Instruction Composition for Automated LLM Red-Teamingcited by 3
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 3
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Managementcited by 2
- 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teamingcited by 2
- 2025MAD-MAX: Modular And Diverse Malicious Attack MiXtures for Automated LLM Red Teamingcited by 1
- 2026AJAR: Adaptive Jailbreak Architecture for Red-teamingcited by 1
- 2026When Scanners Lie: Evaluator Instability in LLM Red-Teamingcited by 1
- 2026Redefining AI Red Teaming in the Agentic Era: From Weeks to Hourscited by 1
- 2024Auction-Based Regulation for Artificial Intelligencecited by 0
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testingcited by 0
- 2026MUSE: A Run-Centric Platform for Multimodal Unified Safety Evaluation of Large Language Modelscited by 0
- 2026AVISE: Framework for Evaluating the Security of AI Systemscited by 0
- 2026Beyond Pass/Fail: Using Process Mining to Understand How LLMs Resist (and Fail) Red Team Attackscited by 0
- 2026Jailbreaking for the Average Jane: Choosing Optimal Jailbreaks via Bandit Algorithms for Automatically Enhanced Queriescited by 0
- 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applicationscited by 0
- 2026EvoHarmBench: Breaking Content Moderation with Iterative Human-Like Evasioncited by 0
- 2026ASCII Attack: Recontextualising Harmful Requests as Artistic Critique in Large Language Modelscited by 0
- 2026Defensive Sufficiency in a Stackelberg Model of AI Securitycited by 0
- 2026Defensive Sufficiency in a Stackelberg Model of AI Security7 Oct 2026
- 2026ASCII Attack: Recontextualising Harmful Requests as Artistic Critique in Large Language Models2 Sep 2026
- 2026EvoHarmBench: Breaking Content Moderation with Iterative Human-Like Evasion28 Aug 2026
- 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applications24 Aug 2026
- 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teaming30 Jun 2026
- 2026Jailbreaking for the Average Jane: Choosing Optimal Jailbreaks via Bandit Algorithms for Automatically Enhanced Queries25 Jun 2026
- 2026Learning to Attack and Defend: Adaptive Red Teaming of Language Models via GRPO8 Jun 2026
- 2026Beyond Pass/Fail: Using Process Mining to Understand How LLMs Resist (and Fail) Red Team Attacks5 Jun 2026
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2026Redefining AI Red Teaming in the Agentic Era: From Weeks to Hours5 May 2026
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Management3 May 2026
- 2026Adaptive Instruction Composition for Automated LLM Red-Teaming22 Apr 2026
19 more
- 2026AVISE: Framework for Evaluating the Security of AI Systems22 Apr 2026
- 2026When Scanners Lie: Evaluator Instability in LLM Red-Teaming15 Mar 2026
- 2026MUSE: A Run-Centric Platform for Multimodal Unified Safety Evaluation of Large Language Models3 Mar 2026
- 2026AJAR: Adaptive Jailbreak Architecture for Red-teaming16 Jan 2026
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs4 Jan 2026
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testing13 Oct 2025
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration10 Oct 2025
- 2025From Passive to Active Reasoning: Can Large Language Models Ask the Right Questions under Incomplete Information?9 Jun 2025
- 2025SoSBench: Benchmarking Safety Alignment on Six Scientific Domains27 May 2025
- 2025aiXamine: Simplified LLM Safety and Security21 Apr 2025
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr 2025
- 2025MAD-MAX: Modular And Diverse Malicious Attack MiXtures for Automated LLM Red Teaming8 Mar 2025
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Models3 Mar 2025
- 2025Lessons From Red Teaming 100 Generative AI Products13 Jan 2025
- 2024Steering Language Model Refusal with Sparse Autoencoders18 Nov 2024
- 2024Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysis21 Oct 2024
- 2024Auction-Based Regulation for Artificial Intelligence2 Oct 2024
- 2025Lessons From Red Teaming 100 Generative AI Productscited by 23
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2024Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysiscited by 10
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2025aiXamine: Simplified LLM Safety and Securitycited by 4
- 2026Adaptive Instruction Composition for Automated LLM Red-Teamingcited by 3
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 3
- 2025MAD-MAX: Modular And Diverse Malicious Attack MiXtures for Automated LLM Red Teamingcited by 1
- 2026AJAR: Adaptive Jailbreak Architecture for Red-teamingcited by 1
- 2026When Scanners Lie: Evaluator Instability in LLM Red-Teamingcited by 1
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testingcited by 0
- 2026AVISE: Framework for Evaluating the Security of AI Systemscited by 0
12 most cited of 16 All 16 (JSON)
- 2026Defensive Sufficiency in a Stackelberg Model of AI Security7 Oct 2026
- 2026EvoHarmBench: Breaking Content Moderation with Iterative Human-Like Evasion28 Aug 2026
- 2026Jailbreaking for the Average Jane: Choosing Optimal Jailbreaks via Bandit Algorithms for Automatically Enhanced Queries25 Jun 2026
- 2026Beyond Pass/Fail: Using Process Mining to Understand How LLMs Resist (and Fail) Red Team Attacks5 Jun 2026
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2026Adaptive Instruction Composition for Automated LLM Red-Teaming22 Apr 2026
- 2026AVISE: Framework for Evaluating the Security of AI Systems22 Apr 2026
- 2026When Scanners Lie: Evaluator Instability in LLM Red-Teaming15 Mar 2026
- 2026AJAR: Adaptive Jailbreak Architecture for Red-teaming16 Jan 2026
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testing13 Oct 2025
- 2025aiXamine: Simplified LLM Safety and Security21 Apr 2025
12 newest of 16 All 16 (JSON)
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threatscited by 32
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltrationcited by 3
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Managementcited by 2
- 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teamingcited by 2
- 2026Redefining AI Red Teaming in the Agentic Era: From Weeks to Hourscited by 1
- 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teaming30 Jun 2026
- 2026Redefining AI Red Teaming in the Agentic Era: From Weeks to Hours5 May 2026
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Management3 May 2026
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration10 Oct 2025
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr 2025
- 2024Steering Language Model Refusal with Sparse Autoencoderscited by 95
- 2024Steering Language Model Refusal with Sparse Autoencoders18 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2026Red Teaming LLMs as Socio-Technical Practice: From Exploration and Data Creation to Evaluation
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?
- 2025OpenAI's Approach to External Red Teaming for AI Models and Systems
- 2024Attack Atlas: A Practitioner's Perspective on Challenges and Pitfalls in Red Teaming GenAI
- 2025Red Teaming AI Red Teaming
- 2024A Safe Harbor for AI Evaluation and Red Teaming
- 2026Black-Box Red Teaming of Agentic AI: A Taxonomy-Driven Framework for Automated Risk Discovery
- 2025Demo: ViolentUTF as An Accessible Platform for Generative AI Red Teaming