garak
Scanner that probes LLMs for vulnerabilities such as prompt injection.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
garak, from NVIDIA, is a command-line scanner that sends many probes to a model or endpoint to look for weaknesses such as prompt injection, jailbreaks, data leakage and toxic output, then reports which probes succeeded.
Best for
Running a broad automated vulnerability scan against a model or chatbot.
Skills it helps with
Learn garak by doing
- Prompt injection basics for builders
How direct and indirect prompt injection work, why agents with tools raise the stakes, and the design choices that limit the damage when no complete fix exists.
- Red-team your chatbot for prompt injection
Generate attacks for its purpose, confirm each failure by hand, apply mitigations and re-run.
Related tools
PyRIT
Microsoft toolkit for red-teaming generative AI systems.
E2B
Open-source cloud sandboxes for code that agents run.
Guardrails AI
Python framework of validators that check and correct LLM inputs and outputs.
NeMo Guardrails
NVIDIA's toolkit for programmable input, output and dialogue rails in LLM apps.
Snyk Agent Scan
CLI that finds agents, MCP servers and Agent Skills on a machine and scans them.
Cisco Skill Scanner
Open-source Agent Skills scanner using rules, dataflow analysis and an LLM judge.