Open-source tool · Library
PyRIT.
Microsoft's open-source AI red teaming framework (Python Risk Identification Tool) for automating attacks on generative AI systems. Use it for: Scripting multi-turn red-team campaigns against generative AI apps.
Facts
- Type
- Open-source tool
- Maintainer
- microsoft
- License
- MIT
- Stars (as of 1 December 2026)
- 5,224
- Last commit
- 1 December 2026
- Latest release
- v1.2.1 (18 November 2026)
- Repository
- https://github.com/microsoft/PyRIT
How does it score?
72.3/100
| Component | Points |
|---|---|
| Popularity | 22.31 / 30 |
| Activity | 25 / 25 |
| License | 15 / 15 |
| Documentation | 10 / 10 |
| OWASP LLM Top 10 coverage | 0 / 20 |
Position 8 of 13 open-source tools, and 13 of 27 overall.
Ranked by our published criteria, as of 1 December 2026.
Which OWASP LLM Top 10 (2026) categories does it name?
This item's README and docs landing page do not name OWASP Top 10 for LLM Applications 2026 categories, so it scores 0 on this criterion. That reflects documentation, not capability.
OWASP coverage reflects what each item's own README or docs name, not independent testing by Saasment. Categories: OWASP Top 10 for LLM Applications 2026.
Notes
Moved from Azure/PyRIT (archived) to microsoft/PyRIT.
Want this kind of AI pen testing run for you? See what ARTEX is (Saasment, early access).
Related open-source tools
Agentic Radar
Open-source security scanner from SPLX for agentic workflows: maps agents, tools and MCP servers and runs adversarial tests.
PurpleLlama (LlamaFirewall, CyberSecEval)
Meta's set of tools to assess and improve LLM security, including LlamaFirewall and the CyberSecEval benchmarks.
Guardrails AI
Open-source Python framework for validating and structuring LLM inputs and outputs with reusable validators.
All open-source tools in the libraryAI Security LibraryAI security vendors by category
Questions
What is PyRIT?
Microsoft's open-source AI red teaming framework (Python Risk Identification Tool) for automating attacks on generative AI systems. It is maintained by microsoft on GitHub (https://github.com/microsoft/PyRIT).
What license does PyRIT use?
According to its GitHub repository, PyRIT uses the MIT license (as of 1 December 2026).
Which OWASP LLM Top 10 (2026) categories does PyRIT's documentation name?
This item's README and docs landing page do not name OWASP Top 10 for LLM Applications 2026 categories, so it scores 0 on this criterion. That reflects documentation, not capability.