All repositories

Securitymeta-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.

Who it is for

For people who want to filter model inputs and outputs and evaluate cybersecurity risk.

How to start

  1. Read System-Level Safeguards and pick a component: Llama Guard, Prompt Guard or Code Shield
  2. Use the Llama-recipes repo for setup of the safeguard models (linked under Getting Started)
  3. Explore the CyberSec Eval suites to measure your model's risks

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

Stars over the last 30 days

+45Sep 6 — Oct 6
4,3764,421

Author's description

Set of tools to assess and improve LLM security.

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+430 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.4Kstars+325 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+137 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+183 in 30 dPython

microsoft

PyRIT

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

4.6Kstars+174 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+112 in 30 dPython