Exporting garak findings to AVID when your team needs a shared format
When a garak run finishes and the findings must reach a risk team, a vendor or an external knowledge base, garak.analyze.report_avid converts the JSONL report into an AVID report that prints to the console. The input is the JSONL file that garak writes for every run, so the export needs no rerun of the scan. AVID, the AI Vulnerability Database, is an open-source knowledge base and taxonomy for documenting failures and vulnerabilities in AI systems. garak tags its probes with AVID effect categories, which is what lets the export translate a probe-level result into the shared vocabulary that AVID uses. This is an export step. The output is a structured summary of what garak observed, not a certification, an audit report or an attestation that a system is secure.
Before you send anything, decide what the recipient needs. A risk team may want the categories and the affected probes. A vendor may want the reproduction details behind each finding. An external knowledge base will expect entries that follow its own taxonomy and format. Confirm which of these your recipient needs, and check the current options and output format of report_avid against the garak source and the garak reference on tags and taxonomies for the version you ran, since the tag mapping is what determines which categories appear. Run the export on a copy of the JSONL file and keep the original, because the AVID summary does not replace the full report as evidence of what was tested and how.
The main risk is over-reading the export. A category in the AVID output shows that a probe with that tag produced undesirable output under the settings you used, on the model or application you named, with the detectors configured for that run. It does not show that the same weakness exists elsewhere, and it does not cover risks that garak's probes do not test. Before you raise a finding externally, confirm the model version, system prompt and generator configuration in the report, have someone check the flagged attempts by hand, and state the scope of the test in the document you send. Ask the recipient how they will use the export so that the wording matches their process.
Report options and when each fits
This table compares the four ways to hand garak results to someone else: the raw JSONL report, the HTML digest, the AVID report from report_avid, and a hand-written summary. Read each row for the audience, what the format keeps, and the main trade-off before choosing the format for a given reader.
| Option | Best audience | What it preserves | Main trade-off |
|---|---|---|---|
| Raw JSONL report | Engineers and analysts who will load the data into scripts or tickets | Every attempt and its evaluation, one entry per line, so results can be recomputed | Hard to read without tooling, and the file can be large for long scans |
| HTML digest | Reviewers who need a readable summary of probes and detectors | Per-probe and per-detector results from the run, in a form people can browse | Summarizes rather than exposing every attempt, so a reviewer cannot trace each prompt without the JSONL |
| AVID report from report_avid | Teams that want to map findings to AVID effect categories for a shared vulnerability format | Probe results mapped to AVID taxonomy tags, printed from the JSONL input | Depends on tag coverage and the taxonomy, so confirm which probes carry AVID tags in your version |
| Hand-written summary | Executives, auditors' cover notes and non-technical stakeholders | Your judgment about severity, scope, business impact and remediation | Not reproducible, and it can drift from the raw data unless each claim links back to a run |
| Recommended pairing | Anyone sharing a finding outside the team | The JSONL as the source of record, with the AVID or digest output as the shareable view | Confirm exact output fields and printed layout against your installed garak version before writing parsers |
Producing an AVID report from a garak JSONL file
This sequence takes you from a clean garak installation to a saved AVID report built from a finished scan. Each step ends with a check so you can confirm the report reflects the run you intended to document.
Install garak from PyPI
Create a virtual environment on a host running Python 3.11 or newer, then install garak with pip from the PyPI package. Confirm the version with the command line help or version flag, and record the exact version in your notes, because report contents can change between releases. Check the installed version against the garak releases page before you rely on it for evidence. The step is done when the garak command runs without import errors in that environment.
Run a scan that writes a JSONL report
Point garak at the target using a generator and the probes you have chosen, and let the run finish. Each run writes a JSONL report of every attempt and its evaluation, along with a garak.log file that continues across runs. Keep the probe list and generator settings in a config file or a script so the scan can be repeated. The step is done when the run exits normally and the terminal shows the final summary rather than an interrupted progress line.
Locate the JSONL report file
Find the report that matches this scan by its timestamp in the garak output directory, and note the full path. If you ran several scans in the same session, match the file to the run by the time of the run and the probes listed in the terminal output, not by the most recent file alone. Copy the file to a dated working folder so later runs cannot overwrite it. The step is done when you can name the single JSONL file that this scan produced.
Confirm the report comes from a completed run
Open the JSONL file and check that it contains the attempt and evaluation entries you expect, and that the run ended without an error. An interrupted scan can leave a partial file that still parses, so compare the terminal summary with what the file holds. If the run was cut short, rerun the scan rather than exporting a partial report. The step is done when you have confirmed the run finished and the file is the full output of that run.
Run report_avid on the JSONL file
Invoke the analysis module against the JSONL file, passing the path to the report as the argument, and let it print the AVID report to the terminal. The command is run as a Python module, so use the same environment where garak was installed. Redirect the output to a text file in the same command or capture it in your shell. The step is done when the command exits without error and prints a report rather than an empty result.
Check the probe tags against the scan
Compare the AVID categories in the output with the probes you ran, using the tag mapping in the garak reference on tags and taxonomies. Every probe family in your scan should be traceable to a tag in the report, and no category should appear that the scan did not exercise. If a category is missing or unexpected, check the probe list in your config and the garak version used for the scan. The step is done when you can account for each AVID category by a probe in the run.
Save the output and rerun for stability
Save the printed report with the JSONL file, the garak version, and the command used, so the export can be reproduced later. Run report_avid a second time on the same JSONL file and compare the two outputs with a diff tool. Identical output confirms the export is deterministic for that file, while differences mean you should investigate before sharing the report. The step is done when both outputs match and the archived set includes the file, the report and the version record.
How the JSONL report becomes an AVID view
The flow starts with a garak scan run in your own environment, which writes a JSONL report of every attempt and its evaluation. garak.analyze.report_avid reads that local file and prints an AVID-formatted report, so the raw prompts and responses never leave your hosts during conversion. Before anything is shared, a person reviews the hits in the report, confirms each one is a real failure, and removes anything sensitive. Check the reviewed output against the AVID effect categories garak tagged on each probe.
Local conversion and human review happen before any AVID sharing step.
When a standard vulnerability format pays off
An AVID export turns garak results into records that other teams and partners can sort and discuss without reading probe internals. The cards below cover situations where that shared vocabulary helps, and what has to be true for each export to be useful.
Cross-team triage between security and engineering
Security engineers often run garak, but the fixes sit with the team that owns the prompt, the retrieval pipeline or the guardrail configuration. An AVID report groups findings by effect category, so the receiving engineer can see which class of failure occurred without decoding probe names. Before sending, confirm that each finding maps to the reproduction steps in the JSONL report, so the engineer can rerun the exact attempt and check the fix.
garak taxonomy tagsExchange with a model or platform vendor
When a vendor asks for evidence of a failure in its model or hosted application, a standard structure is easier to discuss than a raw log. The vendor must be able to reproduce the attempt, which means the export should carry the probe, generator settings and version used. Check with the vendor which fields they accept and whether they want the full JSONL attached alongside the summary.
Internal AI risk knowledge base
Organizations that keep a register of AI failures benefit from entries that share one taxonomy, so a prompt injection found in a support bot can be compared with one found in an internal coding assistant. The knowledge base is only useful if entries are deduplicated and tied to a specific target version and date. Decide who owns the register and how entries are retired when a fix ships.
Recurring reporting to governance committees
A governance group reviewing AI systems each quarter needs to see which categories of weakness persist across runs. Exporting each scan to the same taxonomy lets the committee track categories over time instead of comparing individual probe names that change between garak releases. The comparison only holds if probe set and garak version stay fixed, so record both alongside each export.
Reporting an incident to a shared threat database
When an organization wants to contribute a documented failure to a public or industry knowledge base, the record must describe the system, the failure and the conditions under which it occurred without exposing sensitive data. Review each finding for data leakage content before publication and confirm the contribution rules of the database you plan to use. Confirm the current AVID submission process with the AVID project before assuming a particular format.
Single-team exports with no external reader
An AVID export adds work when no one outside the scanning team reads it. If findings stay inside one team's ticketing system and the JSONL report is already the working record, a separate export mainly duplicates content. The useful test is whether a named reader will act on the taxonomy fields. If no one will, keep the JSONL and HTML digest as the primary record.
Questions teams ask before exporting garak findings to AVID
Does exporting garak findings to AVID cost extra or need a license?
No separate license or fee applies to the export itself. garak is free and licensed under Apache 2.0, and garak.analyze.report_avid is part of the same tool, so the cost is the time your team spends running the export, reviewing each entry and deciding what to share. Confirm the license terms in the repository before you redistribute anything, and check whether your own sharing rules need legal sign-off. Any external cost comes from infrastructure to run the scan, not from the report step.
How long does the AVID export take compared with the scan?
The export command usually runs quickly compared with the scan that produced the JSONL file, because it reads an existing report instead of sending prompts to a model. Total effort is driven by the size of the report, the number of probes that failed, and how much human review each finding needs before it leaves your organization. Time the export on one of your own reports to confirm the figure for your environment, and plan review time separately from command time.
What does the team need before running report_avid?
Three things are needed before the export starts:
- A completed garak JSONL report from a run whose probes, generator and garak version you can name.
- A named reviewer who checks each finding against the raw attempts, including false positives from the detector.
- A written sharing rule that states who may receive the AVID output, under what classification, and how long it stays in circulation.
Without the reviewer and the sharing rule, the command produces output that nobody has accepted as accurate.
Can our own engineers run the AVID export without a partner?
Yes, your team can run the command itself. Running garak.analyze.report_avid against a JSONL report is a short step that does not need specialist tooling. The judgment work sits around it: deciding which findings are real, confirming that the AVID effect categories fit what you observed, and writing the description so readers understand the context. Teams that have already reviewed hits with their own detector checks usually find this part manageable, while teams new to garak benefit from a second reader on the mapping.
Is an AVID report the same as a compliance certificate?
No. An AVID report documents observed failures in a shared format, so other teams can recognize and track them. It does not certify that a system is compliant, and it does not replace the testing evidence an auditor reviews. If you need to show compliance evidence, use the AVID output as one input and keep the scan configuration, versions and reviewer notes alongside it. Independent auditors and certification bodies make compliance determinations, not the tool or DeployOpen.
What would a DeployOpen engagement cover for AVID exports?
DeployOpen works from a written scope agreed before work starts. A typical scope for this topic could include reviewing the JSONL report, running the export, checking each finding against the raw attempts, mapping results to the AVID categories with your reviewers, and preparing a sharing note. Deliverables, timelines and the handover are set out in that written scope, and a quote follows from it. Ongoing support or repeated exports can be covered by a retainer if your scans run on a schedule.
Which AVID export details should we ask a partner to confirm?
Ask the partner to state the garak version used, the report file you will receive, who performs each review step, and the format of the handover. Ask how false positives are removed, whether the sharing note goes to your legal or security owner, and which findings will be excluded from external sharing. Ask for the exact steps in writing so your team can repeat the export for the next scan without the partner.
How DeployOpen scopes garak reporting work
An AVID export is scoped as a fixed piece of work, and the written scope fixes the inputs before any conversion starts. The main input is the garak JSONL report from the run being shared, along with the garak version and the probe and detector set used to produce it, since those determine which AVID effect categories the export can describe. The agreement also names who supplies the report, who decides which findings are in scope for disclosure, and which environment the export runs in. Because the export is produced with garak.analyze.report_avid from the client's own files, the work stays inside the client's infrastructure, and DeployOpen does not need copies of model endpoints or live credentials.
The written scope sets the report format and the review steps. It states whether the deliverable is the raw AVID output from the analysis command, an edited version with entries removed or reworded, or both, and it names who approves the wording of each entry. DeployOpen reviews the export against the source JSONL so that every reported category traces back to a logged attempt and a detector result, and the scope should say how unverified or low-confidence hits are handled before anything is shared. Any finding that depends on a manual review step should be marked as such in the deliverable.
The handover covers the export procedure itself: the command, the input and output file locations, the checks to run on a new report, and a note on how results from a different garak version are compared. DeployOpen does not issue audit reports, attestations or certifications, and an AVID export is not evidence of compliance on its own. A quote follows from the written scope, so the reader should ask for the inputs, review steps and handover items to be listed explicitly before agreeing a price.

