garak vs PyRIT
garak
garak.aiPyRIT
microsoft.github.ioSide by side
| Figure | garak | PyRIT |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · AI Red Teaming Tools | 7.9 (#9) | 7.5 (#17) |
| Spec score · LLM Evaluation Tools | 7.8 (#12) | 7.5 (#18) |
| Purpose | garak is an LLM vulnerability scanner that probes language models and systems using them for security weaknesses. | PyRIT is an open-source framework for security professionals and engineers to identify risks in generative AI systems. |
| Security reporting | The repository directs security vulnerability reports to NVIDIA’s security submission form or [email protected] and says not to report them through GitHub. | The documentation directs vulnerability reports to the Microsoft Security Response Center and says not to report them through public GitHub issues. |
| Support | The project points users to its user guide, reference documentation, Discord, GitHub issues, and an NVIDIA email address for support. | The project uses GitHub Issues for bugs, feature requests, and questions, and says support is limited to the resources it lists. |
Plans
In their own words
garak
garak is a command-line scanner for probing language models and systems that use them for security weaknesses. Its checks cover issues such as hallucination, data leakage, prompt injection, misinformation, toxicity generation, and jailbreaks. Probes try to elicit failures, while detectors inspect responses for patterns such as unsafe content or a failure to refuse. A standard scan can run without supervision and produce a report, with scan settings available for customization. Integrations include OpenAI, Hugging Face, Cohere, Replicate, AWS Bedrock, LiteLLM, REST-accessible models, and custom Python integrations. Hugging Face models can run locally or be accessed through an inference API or private endpoint. Output includes screen results, a detailed report log, a hit log, and a debug log. garak assesses text output only. It is developed in Linux and OSX and can be installed with pip or from source; listed platforms include Linux, macOS, Windows, and self-hosted use. It is free, with a free plan and no free trial. Listed capabilities include custom metrics, LLM-as-a-judge, and safety evaluations.
PyRIT
PyRIT is a free, MIT-licensed framework for security professionals and engineers assessing risks in generative AI systems. It supports single-turn and multi-turn red-team strategies such as Crescendo, TAP, and Skeleton Key. Scenario evaluations can be repeated across hundreds of objectives, including content harms, psychosocial risks, and data leakage. CoPyRIT provides a web interface for interacting with AI systems, recording findings, and collaborating with a team. Documented targets include OpenAI, Azure, Anthropic, Google, HuggingFace, custom HTTP endpoints and WebSockets, and web apps tested with Playwright. PyRIT stores conversations, scores, and attack results in SQLite or Azure SQL and can export results. Scoring supports true/false, Likert, classification, and custom scorers, including LLM-based and Azure AI Content Safety methods. Scanner, GUI, Framework, pyrit_scan, and pyrit_shell modes are documented. Installation is available through Docker, pip, or uv, with Python 3.13 recommended locally.