What garak does
Fires adversarial prompts at an LLM or LLM app and reports which attacks got through.
Probes a target for hallucination, data leakage, prompt injection, misinformation, toxicity generation and jailbreaks
raw.githubusercontent.comCombines static, dynamic and adaptive probes; the atkgen probe uses a red-team LLM that reacts to the target to try to elicit toxic output (prototype)
raw.githubusercontent.comRuns detectors on multiple generations per prompt and reports a pass/fail rate per probe and detector
raw.githubusercontent.comWrites a JSONL report per run with the model parameters, all prompts sent, all responses and evaluation scores, so an audit trail exists
raw.githubusercontent.comTests for package hallucination, malware-code generation, XSS and data exfiltration, training-data replay, encoding-based injection and DAN-style jailbreaks via built-in probe modules
raw.githubusercontent.comExtensible plugin architecture: users write their own probes, detectors, generators and harnesses
raw.githubusercontent.comLatest release (v0.17.1) adds a hit@k attack success rate metric in terminal output and the report digest
api.github.comControls for AI systems
Features as NVIDIA names them.
Good fit
AppSec and ML platform engineers who want a scriptable, no-cost scan of a model or endpoint (Hugging Face, OpenAI, Bedrock, NIM, local gguf or any REST API) before release, with a full prompt-and-response audit trail.
- Free under Apache 2.0, with no paid tier to outgrow
- Broad probe library: promptinject, DAN, encoding, GCG suffixes, glitch tokens, training-data replay, package hallucination
- Reaches most model hosts, from OpenAI and Bedrock to llama.cpp and arbitrary REST endpoints, so scans can stay on your own hardware
- Per-run JSONL report keeps every prompt, response and score; releases ship roughly monthly (v0.17.1 in October 2026)
Look elsewhere if
Teams that need a GUI, a hosted dashboard, runtime blocking or a support SLA should look at a commercial platform, since garak is CLI-only with community and email support.
- Scores are not normalised and cannot be compared across probes
- Heavy install: about 9 GB of dependencies before any local model, and logs up to 60 MB per run
- Command-line only, with no GUI, hosted service or dashboard
- The adaptive atkgen attacker is a prototype with one GPT-2-based model, and detectors rely on keywords or classifiers
garak pricing
NVIDIA does not publish a price. Sold free and open source.
Free tool under the Apache 2.0 license
Coverage, deployment and compliance
What it watches, where it runs, and what it connects to.
Covers
Runs as
Integrations
Documented limits
- Scores are not on a normalised scale and cannot be compared between probes raw.githubusercontent.com
- Heavy install: about 9 GB of dependencies on a plain OS, plus the model if run locally; logs up to 60 MB per run raw.githubusercontent.com
- Command-line only; the README and FAQ describe no GUI, hosted service or dashboard raw.githubusercontent.com
- Focus is security weaknesses, not social-bias assessment; detectors are keyword or classifier based raw.githubusercontent.com
- Support is community plus an email address; no commercial support or SLA is published garak.ai
garak changes since 2025
Launches, deals and renames, newest first.
Alternatives to garak
PyRIT
Pick PyRIT for Microsoft's open-source red-teaming toolkit if you want a Python framework for orchestrating multi-turn attacks.
Profile→Promptfoo
Pick Promptfoo when you want red teaming and evals in one open-source tool with a commercial platform behind it, noting OpenAI's pending acquisition.
Profile→Giskard
Pick Giskard for continuous red teaming of LLM apps with published pricing and a vendor to call.
Compare→Should you shortlist garak?
garak is the obvious first scanner for a team that can live in a terminal: it costs nothing, covers the common prompt-level attacks and leaves an auditable log. Use it in pre-release testing and CI, and budget for a separate runtime guardrail and for someone to interpret probe-by-probe results, since the tool will not rank risk for you.