Which NIST AI RMF Measure evidence garak scans can support
garak scans can supply test evidence for some Measure subcategories, but NIST does not certify anyone against the AI RMF. The framework is voluntary, NIST describes no certification, accreditation or conformity assessment program for it, and NIST does not validate or endorse any organization's use of it. What a security or compliance lead can show is that adversarial testing was planned, executed, recorded and acted on, mapped to the framework's language. An independent auditor or customer assessor decides whether that evidence is sufficient for their purpose.
The AI RMF Core has 4 functions, 19 categories and 72 subcategories. Govern is cross-cutting, and Map, Measure and Manage sit alongside it. Measure has 4 categories and 22 subcategories, and its subcategories cover assessing trustworthy characteristics such as validity and reliability, safety, security and resilience, and privacy. A garak run against your LLM application or model can serve as direct evidence for the security and safety testing subcategories, because it produces a JSONL report of each attempt and its evaluation, a failure rate per probe, and a log file. It does not cover Map (identifying context, use cases and stakeholders), Govern (policies, roles and accountability), or the Measure subcategories on fairness, explainability and privacy that need methods beyond prompt probing. Confirm the exact subcategory IDs against NIST AI 100-1 before you cite them, and use the NIST AI RMF page as the starting point for the current framework version.
How Measure subcategories map to garak capabilities and configuration
This table pairs each NIST AI RMF Measure category (in AI 100-1) with what a garak run can produce, the configuration it needs, and whether the output works as primary evidence or only supports it. Read it as a planning map: where garak is marked supporting only, pair the scan with other records such as evaluation metrics, user feedback and documented decisions.
| Measure area | What garak produces | Config needed | Role as evidence |
|---|---|---|---|
| Measure 1: methods and metrics | Per-attempt JSONL records with detector verdicts and a failure rate per probe | Pinned probe set, detectors, generations (default 5), garak version recorded per run | Primary for adversarial methods used |
| Measure 2: reliability and hallucination | Probe results for hallucination and misinformation, with failure rates | Probe selection by spec or tag, system prompt matching the deployed app | Supporting only; does not measure accuracy for your use case |
| Measure 2: safety and toxicity | Probe results for toxic generation and harmful content, with failure rates | Probe selection by tag, detector settings reviewed against your policy | Primary for tested categories; detector accuracy must be checked |
| Measure 2: security and resilience | Results for prompt injection, jailbreak and data leakage probes | REST generator YAML for the deployed endpoint, with authentication and system prompt | Primary for adversarial testing of the deployed system |
| Measure 2: privacy, fairness and explainability | Partial signal from leakage probes; no fairness or explainability assessment | Separate test design for bias and explanation outputs | Supporting only; other methods needed |
| Measure 3: tracking risk over time | Separate JSONL report per run and a continued garak.log across runs | Scheduled reruns, stored configs, version record for each run | Primary for trend records, if runs are kept under version control |
| Measure 4: feedback on measurement | No feedback capture; output shows results only | Triage notes from product owners, security and affected users | Supporting only; feedback must come from your processes |
| Scope of test target | Results reflect the model or endpoint tested, not surrounding controls | Generator for the target (model or REST app), with scope stated in the report | Primary only when the scope matches the system in production |
What an auditor expects to see from a garak run
A reviewer assessing garak scans as NIST AI RMF Measure evidence wants to trace each result back to the run that produced it, the exact tool version, the system tested and the person who acted on the findings. The cards below cover the artifacts and records that connect a scan to a date, a system version and a named owner.
JSONL report of every attempt
Each garak run writes a JSONL report that records every attempt and its evaluation, so a reviewer can check individual prompts and outputs behind a summary score. Keep the file unedited from the run, since a trimmed or reformatted copy weakens the link between a claimed failure rate and the underlying attempts. Confirm that the report name or path includes the run date and target so it can be matched to the system version it tested.
garak user guideThe garak.log debugging file
The garak.log file is continued across runs, so it records a history of runs on the same host rather than a single scan. A reviewer uses it to confirm which probes executed, whether errors or timeouts affected results, and whether a run was interrupted. Store it alongside the JSONL report and note which log segment belongs to which run, because a single log file can cover several scans.
Garak version used for each run
Record the exact garak version that produced each report, since detectors and probes change between releases and scores can shift after an upgrade. garak v0.17.1 was released on 16 October 2026, so a scan run on that release must be labeled as such, and a scan run on an earlier version should not be compared to it without a note. Ask the tool owner to capture the version from the installed package in the run record, not from memory.
Target and generator configuration
A reviewer needs to know what was tested: the model name and version, the REST or API generator configuration, any system prompt, and the endpoint or deployment environment. Keep the YAML or config file used for the run under version control and record its commit identifier with the report. Without this, a passing result cannot be shown to apply to the system in production.
Probe and detector selection
Auditors check that the probes chosen match the risks the system is claimed to manage, and that the detectors used to judge outputs are documented. The default probewise harness runs each probe with its recommended detectors, so record whether defaults were used or a custom selection was made, and why. A selection that omits a relevant risk category is a gap a reviewer will ask about.
Failure rate per probe
garak marks a probe as FAIL when any of the default 5 generations per prompt produces undesirable output, and reports a failure rate for the probe. Reviewers expect the per-probe rate to be stated alongside the number of generations, so a single failed attempt is not read as a fleet-wide result. Ask for the rate table from each run, with the generations setting recorded, so trends can be compared across dates.
Triage and retest records
Each failed probe needs a documented decision: accepted risk, mitigation planned, or fixed, with the named owner and the date of the decision. After a fix, a retest run should reference the original failing report and show the new result against the same probes and configuration. Keep these records in the same evidence store as the scan outputs, since a finding without a closing retest is the item auditors most often question.
How often to rerun garak scans after model and prompt changes
NIST does not publish a rerun interval for the AI RMF, so the cadence for garak scans is a decision your organization makes and writes down under its own Govern policy. The AI RMF is a voluntary framework, and the Measure function asks you to test and track AI risks, not to repeat a specific scan on a fixed schedule. Record the baseline cadence (for example, a scheduled rescan of each production system), who owns the decision, and how exceptions are approved. Confirm the cadence and its thresholds with your risk owner before the first scan cycle, and revisit them when your risk appetite or regulatory exposure changes.
Some events should force a rerun outside the normal schedule. The main triggers are a change of model or model version, a change to the system prompt or to the tools and permissions the application gives the model, a garak upgrade that shifts scores (see the upgrades topic for why scores move between releases), a new data source connected to a retrieval or agent workflow, and a finding that was fixed and now needs a retest. Each trigger should open a ticket that names the target configuration, the garak version, and the probes to rerun, so the new results can be compared with the last accepted run.
The scan settings explain why one failure matters. garak makes 5 generations per prompt by default and marks a probe as FAIL with a failure rate when any attempt produces undesirable output, so a single bad generation in a rerun can change the recorded status. Treat a FAIL after a trigger as a result to triage, not as noise to average away, and record the decision in the report, including whether the failure is accepted with a documented reason. Keep the generations setting in your config file fixed across runs, or record every change to it, so that a status change reflects the system and not the scan settings.
Configuring garak runs that produce Measure-ready evidence
This sequence turns a garak scan into a repeatable, versioned test record that a Measure subcategory owner can read, rerun and compare over time. Each step leaves a file or log entry that shows what was tested, with which version, and what the results were.
Install garak from PyPI on Python 3.11
The platform or security engineer creates a dedicated virtual environment on a Linux or macOS host with Python 3.11 or newer, then runs
pip install garakagainst the PyPI package. garak is a command-line tool, so the check is thatgarak --helpruns from inside that environment. Record the Python version and host in your test notes so the environment can be reproduced later.Pin the garak version
Install an exact version (for example,
pip install garak==0.17.1) rather than a floating range, and store that pin in your requirements file or the scan runbook. Scores can shift between releases, so the pinned version is part of the evidence. Check the release notes on the NVIDIA/garak releases page before any upgrade. Done when the version appears in your runbook and matchesgarak --versionoutput.Write the generator config in YAML
The engineer who owns the target writes a config file that describes the model or application endpoint. For a REST application, the REST generator reads a short YAML file that sets the endpoint URL, request and response shape, and authentication handling. Keep credentials out of the file and reference them from environment variables or your secrets store. Done when a single test prompt returns a response through the config.
Select probes, detectors and generations
Set the probe list in the config or on the command line, and state the detectors that evaluate each probe, using the default probewise harness unless a specific reason exists to change it. Set the generations count explicitly, because the default is 5 generations per prompt and a FAIL status appears when any attempt produces undesirable output. Document the probe families chosen and why they match the application's exposure, so a reviewer can trace each Measure claim back to a test.
Run the scan and capture output
Run garak against the config and let it finish without manual edits to the output. Each run writes a JSONL report of every attempt and its evaluation, and appends to a garak.log file that continues across runs. Confirm that the report file and log exist in the output directory and that the run completed for every selected probe. Record the start time, operator and target identifier in the runbook entry.
Archive the report, log and config together
Move the JSONL report, garak.log, the YAML config and the version pin into a controlled evidence location, using a folder naming scheme that ties them to one run ID. Store them as a set so the config that produced a result is always next to the result. Check that the archived copies match the originals by checksum. Retention periods come from your own policy and any applicable assessment requirements, so confirm them with your compliance lead.
Record the run in the risk register
Add an entry to the AI risk register that links the run ID to the relevant AI RMF Measure subcategories, the target system, the date and the owner. Note the failure rates per probe family and the triage owner for any FAIL results, so each finding can later feed a Manage action. Done when the register entry points to the archived evidence and a reviewer can open it without asking the operator for files.
How garak results move from Measure into Manage actions
The flow starts with the system scope set during Map, which names the target application and the risks to test. A garak run on a scan host sends prompts to that target inside the client's infrastructure, and the trust boundary sits between the two, so scan traffic must reach the endpoint under approved access. The run writes a JSONL report that an analyst triages. The Manage action (fix, accept, transfer or avoid) is then retested, and the outcome is recorded in the risk register. Check that each finding links back to a specific scan configuration and garak version.
How scan results flow from Map scope through triage, Manage actions and retest.
Questions buyers ask about garak and NIST AI RMF evidence
Does a garak scan alone satisfy NIST AI RMF Measure?
No. A garak scan produces adversarial testing evidence for some Measure subcategories, but it does not satisfy the framework on its own. NIST AI 100-1 is voluntary, and NIST does not run a certification, accreditation or conformity assessment program for the AI RMF, so no scan or vendor can certify compliance. What a scan gives you is a dated, repeatable record of how a specific model or application responded to a defined set of probes. That record still needs a documented scope, a stated threshold for acceptable results, triage of failures, and linkage to the Govern and Manage activities your organization runs. Treat the scan as one input to Measure, and confirm with your compliance lead how your own assessor will read it.
Who does the garak testing work, and what does it need from our team?
DeployOpen can plan, run and document garak scans in your infrastructure as part of a fixed-scope engagement, and retainers are available for scheduled retesting. Your team needs to provide access to the target endpoint or application in a test environment, a named owner for the system under test, and a decision on which data and system prompts can be used during testing. Your security or compliance team should supply the risk statement the scan must support, the evidence format your assessors expect, and who signs off on triage decisions. Responsibilities, deliverables and access requirements should be written into the scope before work starts.
What drives the effort of a garak evidence project?
Effort follows the shape of the target and the depth of evidence you need. The main drivers are:
- Target complexity: a bare model behaves differently from a RAG pipeline, a tool-using agent or a chat interface with a system prompt, and each needs its own endpoint setup and sometimes custom generators.
- Number of probes and generations: broader probe selection and more attempts per prompt increase run time and the number of results to review.
- Triage volume: every flagged output needs a human decision, so a noisy target costs more review time than a clean one.
- Retest cycles: each fix requires a rerun, and the scope should state how many retests are included.
- Evidence design: the folder structure, retention rules and mapping to your framework controls take time to agree and maintain.
Ask for each driver to be sized in the written scope.
How long does it take to set up garak scanning for NIST evidence?
No duration is supplied for this work, so none is stated here. Setup time depends on how quickly the endpoint can be reached from the scanning host, how complex the application is, whether access approvals are needed, and how many rounds of triage and retesting the scope includes. Ask for a timeline with named milestones in the written scope, including who must act at each one and what happens if a dependency, such as a test account or a model endpoint, is delayed. Confirm the timeline against your own change calendar before committing a review date.
Can our own team run garak scans for NIST AI RMF evidence?
Yes, for many teams this is practical. garak is a free, Apache 2.0 licensed command-line tool installed from PyPI, and it requires Python 3.11 or newer. A capable security engineer can install it, configure a REST or hosted generator, run probes and read the JSONL report. The harder parts are usually outside the tool: deciding which probes match the application's real exposure, designing the triage process, keeping configs and reports under version control, and writing evidence that an assessor can follow. Whether your team has time and skills for these tasks is the deciding question. An internal pilot is a reasonable way to find out where the effort lands.
What should a quote for garak evidence work include?
A quote should follow from a written scope and list the items that determine cost. Ask for:
- The systems in scope, with each endpoint or application and its architecture.
- The probe families and generation settings to be run, and the reason for each choice.
- The number of triage reviews and retest cycles included.
- Deliverables, such as configs, JSONL reports, triage notes, a findings summary and a mapping to the Measure subcategories you care about.
- Responsibilities for each party, including access, test accounts and sign-off.
- Which costs are one-time, such as the initial setup and evidence design, and which recur, such as scheduled rescans or retainer support.
- Assumptions, exclusions and what triggers a change request.
DeployOpen does not publish a price list, so the quote comes from that written scope.
How often should we rerun garak scans for Measure evidence?
The framework does not set a rerun frequency, so the schedule should come from your own risk decision. Common triggers for a rerun include a model or provider change, a new system prompt or tool permission, a material change to retrieval data, a new garak release that changes results, and any fix made after a finding. Scheduled reruns add evidence that the system is still tested over time, while event-driven reruns show that changes were checked before release. Record the trigger and the result for each run so the history reads clearly to an assessor.
How DeployOpen scopes and delivers garak compliance evidence
DeployOpen treats a garak scan as one input to a NIST AI RMF Measure record, not as the record itself. We agree the scope in writing, run and configure garak in your environment, and hand over the scan outputs with the documentation your assessors and risk owners need to read them.
How we scope
- Written scope names the AI system, its endpoints, the data it touches and the Measure subcategories the evidence should support.
- Scope lists which garak probes, detectors and harness settings apply to your application shape, with reasons recorded for each choice.
- Scope states who owns triage, retesting and risk acceptance decisions on your side, so Manage actions have named owners.
How we build
- We install garak and pin its version, then set up a versioned configuration file so each run is repeatable.
- We run the agreed probes against your target inside your infrastructure, keeping the JSONL report, garak.log and run settings together.
- We document the rerun cadence, triggers for an extra run after a model or prompt change, and how results are compared across runs.
How we hand over
- You receive the scan reports, configuration, garak version and target details, arranged as a Measure evidence pack.
- Findings are written up with severity, affected probes, reproduction steps and suggested fixes, linked to the Manage actions they feed.
- Retesting after fixes is documented, and a retained-evidence note explains what the scans do and do not show about your system.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing scheduled rescans, upgrades of garak and continuous testing are available as a retainer, and a quote follows from the written scope.
- We prepare evidence for compliance assessments but do not issue audit reports, attestations or certifications; independent auditors and certification bodies do that.

