microsoft/PyRIT
The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems. observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 83
- Longevity 71
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 34
- age_days: 995
- days_rel: 34
- days_push: 7
- n_releases_24m: 16
Adoption not part of the score
4361 stars · 848 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PyRIT is Microsoft's open-source Python framework for identifying security and safety risks in generative AI systems. It provides automation for red-teaming LLM endpoints, including attack strategies, scoring of responses, and datasets of harmful prompts.
Use cases
- red team an LLM application for jailbreak vulnerabilities
- automate security testing of generative AI endpoints
- test whether a chatbot can be tricked into producing harmful content
- evaluate AI system safety before deployment
- scan LLM-powered apps for prompt injection risks
- benchmark model robustness against adversarial prompts
When to choose
- you are a security professional or ML engineer red-teaming generative AI systems
- you need a scriptable, extensible Python framework for automated LLM attack campaigns
- you want Microsoft-backed tooling with active development and community support
When to avoid
- you need general application security testing unrelated to generative AI
- you want a no-code GUI scanner rather than a Python framework
- you lack access to an LLM endpoint or model to test against
Facets
framework · maturity active
security penetration-testing vulnerability-scanning llm-inference agent-framework machine-learning security artificial-intelligence large-language-models penetration-testing developer-tools python cross-platform ai-red-team red-teaming generative-ai responsible-ai llm-safety prompt-injection jailbreak-testing
2 sources
- readme: https://github.com/microsoft/PyRIT · fetched 2026-08-28 · c67e2e3da12e
- homepage: https://microsoft.github.io/PyRIT/ · fetched 2026-08-29 · aad33b941408
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/PyRIT | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem