All repositories

Securitymicrosoft

PyRIT

Microsoft's framework for proactively finding risks in generative AI systems. It helps automate red teaming against models and applications.

Who it is for

For security professionals and engineers who test AI systems for resilience to attacks.

How to start

  1. Open the docs site at microsoft.github.io/PyRIT
  2. Follow the installation guide there
  3. Work through the attack examples and repeat them on your own system

Steps are taken from the README. Check the current version in the repository before running them.

Stars over the last 30 days

+172Sep 7 — Oct 7
4,4114,583

Author's description

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.

data-privacy-stack

presidio

A framework that finds and masks personal data in text, images and tables. It detects the data, then redacts or replaces it so it can be safely sent to a model.

11Kstars+419 in 30 dPython

NVIDIA

garak

A vulnerability scanner for LLMs: it runs a model through a set of probes for prompt injection, data leakage, toxicity and other failures. Works as a command-line tool.

9.5Kstars+355 in 30 dPython

guardrails-ai

guardrails

A Python framework that checks LLM inputs and outputs with ready validators from Guardrails Hub and helps produce structured answers. It catches risks before a reply reaches the user.

7.5Kstars+133 in 30 dPython

NVIDIA-NeMo

Guardrails

NVIDIA's toolkit for programmable rails in LLM-based conversational systems. Rules live in config and control what the bot talks about and does.

7.2Kstars+177 in 30 dPython

meta-llama

PurpleLlama

Meta's generative AI safety project: the Llama Guard and Prompt Guard filter models, the Code Shield scanner and the CyberSec Eval test suites. It pairs defense with attack-based testing.

4.4Kstars+43 in 30 dPython

A security scanner for AI agents, MCP servers and skills. It checks configs and SKILL.md files for risky spots.

3.1Kstars+109 in 30 dPython