garak
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
garak is an LLM probe scanner that runs in your own terminal (NVIDIA and maintainer…
Local / self-hosted · CLI
Open licence
Read the original licence before commercial useNot checked · Not checked
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- The complete generator list and per-provider parameter differences (the official pages name only a few)
- Default log directory names, retention and cleanup rules
- Whether telemetry or result upload is on by default (no official statement captured)
- The official Docker image and CI-integration story (no text captured in this pass)
- Harness conversation-construction and length strategy (the README gives one defining sentence only)
- MCP transport support (not described in the official docs)
- Why the releases page date label for v0.17.1 does not fully match PyPI
- Mainland-network direct reachability and filing status (not measured, not searched)
garak is an LLM probe scanner that runs in your own terminal (NVIDIA and maintainer Leon Derczynski, Apache-2.0): it writes conversations with a model as probes, failure criteria as detectors, runs them through a harness, and logs each failing prompt and response locally. The repo calls itself a generative AI red-teaming and assessment kit; the site calls it an LLM vulnerability scanner. Both are evaluation semantics, not runtime blocking.
When to use it, when not to
Fit: running a batch of probes against a controlled endpoint before release (HuggingFace, OpenAI, Bedrock, replicate, litellm or any REST interface); needing reviewable evidence files (JSONL, hit logs) rather than a pass/fail slogan; reusing one probe set across targets. Not fit: blocking user input in the request path, treating all probes passed as proof of model safety, or teams needing a hosted report platform or compliance certificate.
China availability domestic / direct access / CAC filing · snapshot 2026-11-06
- Origin
- foreign-made An open-source project of NVIDIA (US) and maintainer Leon Derczynski; no mainland-facing terms page or Chinese site was captured in this pass.
- Direct access
- direct unknown github.com, garak.ai and docs.garak.ai returned 200 from the current network in this pass, but no mainland-network direct-connection measurement was made, so it is recorded as unknown; PyPI and GitHub reachability is on you.
- CAC filing
- filing unknown No official basis; the generative-AI filing registry was not searched in this pass, so no "not filed" conclusion is drawn.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
It ships no model of its own — the thing under test is somebody else's model or application: the repository front page defines generators as "plugins for LLMs to be probed", and names hugging face hub generative models, replicate text models, openai api chat & continuation models, aws bedrock foundation models and litellm, adding "pretty much anything accessible via REST". The documentation's first-scan example is
--model_type huggingface --model_name gpt2. The full generator list and per-provider parameter differences: not itemised.- Where it runs
A local Python process with a terminal interface: the README install command is
python -m pip install -U garak, PyPI recordspip install garakwith requires-python >=3.11, and the "Setting up" doc page likewise describes a command-line tool. Scan requests go to the target endpoint you pick — a cloud API or local inference. Whether a hosted execution surface exists, and the official Docker story: no official text captured in this pass, recorded as unknown.- Local files
It reads the probe datasets installed with the package and your local configuration, and writes local result files: the README records JSONL, garak.log and hit logs; the "Our Features" doc page lists four output kinds — Screen output, Report log, Hit log, Debug log. Default directory names, retention and cleanup rules: not itemized in official docs word for word in this pass.
- Tasks after shutdown
There is no "keeps running after you shut down" hosted task: one scan is one local process that writes logs when it ends. The docs table of contents lists Setting up, Your first scan and Getting help, with no resume or queue semantics. How batch runs parallelise and throttle: no official text captured in this pass.
- Tools & extensions
Four plugin surfaces (README's own phrasing): probes are "classes for generating interactions with LLMs", detectors are "classes for detecting an LLM is exhibiting a given failure mode", harnesses are "classes for structuring testing", and generators connect to models. Selection syntax appears in the docs example
--probes lmrc.Profanity, and--list_probesenumerates probes. MCP support: not described in the official docs, recorded as unknown.- Context & memory
Here "context" means how a harness assembles multiple turns into one probe, not cross-session memory. The README's statement about harnesses stops at "classes for structuring testing"; the concrete conversation-construction and length strategy had no official text captured in this pass, recorded as unknown.
- Permissions & limits
The licence is unambiguous: Apache-2.0 (LICENSE read directly, see the licence field). There is only one readable official statement about data flow — probe prompts and responses go to the target endpoint you configured, and failing samples are written item by item to local logs (README: "If any of the prompt attempts yielded an undesirable behavior, the response will be marked as FAIL"). Whether telemetry is on by default or results are uploaded: no official statement captured, moved to unknowns. It never blocks live traffic, so there is no "what share it stops" conclusion to write; this site cites no success-rate or miss-rate figures.
- Best for
Fits: running a probe sweep against an endpoint you control before launch, keeping reviewable prompt/response evidence files rather than a slogan, reusing one probe set across HuggingFace, OpenAI, Bedrock, litellm and other targets. Not a fit: intercepting user requests at runtime (it does not block); reading "all probes PASS" as proof the model is safe (the official framing only records failing samples); teams needing a hosted report platform or compliance certificates.
Licence and terms of use
Apache-2.0 (repository LICENSE read directly on 2026-11-06: "License-Apache_2.0", copyright lines naming Leon Derczynski and NVIDIA CORPORATION & AFFILIATES (2023)). The PyPI project page carries the same Apache-2.0 license field, so the two agree.
Top misconception
- garak
--list_probes
Evidence sources
Checked 2026-11-06 Content updated 2026-11-06 This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| repo | NVIDIA/garak · repository front page (positioning line, the probes/detectors/harnesses/generators four, the target list, install commands; direct-fetched 200, 2026-11-06) | https://github.com/NVIDIA/garak |
| docs | garak · LICENSE (Apache-2.0 text and copyright attribution lines; direct-fetched 200, 2026-11-06) | https://github.com/NVIDIA/garak/blob/main/LICENSE |
| official | garak · official site ("LLM vulnerability scanner" plus the docs/reference entry points; direct-fetched 200, 2026-11-06) | https://garak.ai/ |
| docs | garak · docs, What is garak? ("finds holes in LLM-based tech", "identifies how your LLM can fail"; direct-fetched 200, 2026-11-06) | https://docs.garak.ai/garak/overview/what-is-garak/ |
| docs | garak · docs, Our Features (the four output kinds: Screen/Report/Hit/Debug log; direct-fetched 200, 2026-11-06) | https://docs.garak.ai/garak/overview/our-features/ |
| docs | garak · docs, Your first scan (python -m garak --list_probes and the PASS/FAIL output; direct-fetched 200, 2026-11-06) | https://docs.garak.ai/garak/llm-scanning-basics/your-first-scan |
| changelog | garak · latest release entry (v0.17.1; direct-fetched 200, 2026-11-06) | https://github.com/NVIDIA/garak/releases/latest |
| changelog | garak · PyPI project page (0.17.1, pip install garak, requires-python >=3.11, Apache-2.0; direct-fetched 200, 2026-11-06) | https://pypi.org/project/garak/ |
Test notes
This site has not run it end to end: no python -m garak execution, no JSONL/hit log opened, no scores, success rates or rankings produced, and no probe count tallied. This archive only organises statements on record at the official repository front page, LICENSE, garak.ai, docs.garak.ai and PyPI — item by item in sources with the verification date.
Suggested measurements (four, each pointing at something the official readable pages do not give):
- Comparability across targets: how the same
--probesset differs in wall time and failure surface between a local HuggingFace endpoint and a hosted OpenAI-style endpoint - Default log directory and retention behaviour (not spelled out in the official docs; confirm where files land)
- Whether any telemetry is on by default (no official statement captured in this pass)
- Reproducibility under Docker / CI (no official image statement captured in this pass)
releases v0.17.1 releases/latest v0.17.1 Python 3.14 evaluators hit@k
PyPI 0.17.1 2026-10-16
GitHub releases PyPI unknowns
lifecycle active
- README the response will be marked as FAIL
- generators model_access reference
- README lmrc promptinject encoding snowball xss gcg
- generator
--model_type huggingface --model_name gpt2 python -m pip install -U garakpython -m garak --list_probes--probes--probes lmrc.Profanity- CI target
Related entries
- PyRITAlso a red-teaming framework: the PyRIT archive organises orchestration and attack strategies through a Python SDK and a GUI, while this archive's default entry point is a one-shot terminal scan.
- promptfooAlso an evaluation tool that can run in CI: Promptfoo's main axis is prompt/agent assertions and regression, whereas this archive's main axis is attack probes.
- OllamaA local inference endpoint: Ollama only becomes relevant to garak as one target shape among the generator plugins.
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| Inspect | Local / self-hosted | Open licence | 8 questions checked Active | Inspect is an open evaluation framework from the UK AI Security Institut |
| promptfoo | Local / self-hosted | Open licence | 8 questions checked Active | promptfoo is an evaluation and red-team tool in the terminal. Officially |
| Arize Phoenix | Local / self-hosted | Commercial terms | 8 questions checked Active | Phoenix is an open-licensed observability and evaluation platform that r |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.