Vulnerability Scanning
NVIDIA NeMo garak is released with early access availability and is subject to limited support and potential API changes in future releases.
NVIDIA NeMo garak audits LLMs by probing them with adversarial prompts and detecting failures such as jailbreaks, prompt injection, encoding bypasses, and unsafe output generation. It is powered by garak, NVIDIA’s open-source LLM vulnerability scanner, and integrates with NeMo Helix so audits can target any model reachable through the Inference Gateway.
Typical Workflow
A typical audit looks like the following:
- Create an audit target for the model you want to test.
- Create an audit configuration that selects which garak probes and detectors to run, along with reporting settings.
- Run the audit and inspect the resulting JSONL, HTML, and hitlog reports.
The plugin exposes both synchronous and asynchronous Python entry points for each step.
Setup
Before you can run audits, you need a working NeMo Helix install with the garak plugin enabled and a garak interpreter on disk.
- Follow Setup to install the platform and start local services.
- Install garak in a Python virtual environment. By default the plugin invokes
~/.garak/.venv/bin/python -m garak; override the interpreter path withNEMO_GARAK_PYTHONif you installed it elsewhere. - Configure at least one Inference Gateway provider so audits can route requests to the model under test.
Upgrading from NeMo Auditor
The plugin was renamed from auditor to garak. Plan for the following when you upgrade an existing deployment:
- Drain audit jobs first. Let queued and running audit jobs finish before you upgrade. A job queued under the old name references the
auditorexecutor profile, thenhx-auditor-tasksimage, and thenemo_auditortask module, none of which exist after the upgrade, so it cannot be dispatched or resumed. - Completed jobs stay available. Previously created jobs remain listed and can be retrieved by name through the new
/apis/garak/routes. - Update names. Use
nemo garakinstead ofnemo auditor,client.garakinstead ofclient.auditor,/apis/garak/instead of/apis/auditor/, andNEMO_GARAK_PYTHONinstead ofNEMO_AUDITOR_GARAK_PYTHON. - Rename config overrides. Move any
auditor:configuration block, includingjob_executor_profile, togarak:. The old key is ignored. - Permissions are unchanged. Existing roles and scopes that use the
auditornames keep working.