Browsing garak results in the garak report viewer

The garak report viewer is a static React front end that loads digest entries from .report.jsonl files so teams can browse module scores, probe metrics, detector performance and Z-scores without running a backend.

On this page

How the garak report viewer helps teams browse garak results

The garak report viewer is a browser front end that opens garak report files and lets people read the results without parsing JSON by hand. It is for the people who need to understand a scan but will not write scripts against the raw output, such as security leads, product owners and compliance reviewers. The viewer is a Vite, React and TypeScript application that loads digest entries from garak .report.jsonl files and visualises module scores, probe metrics, detector performance and Z-scores. It is part of the garak-report project in the NVIDIA garak repository, and it deploys as a static dist folder with no backend, so it can be hosted on any static file server inside your own network.

Use the viewer when a scan has produced a large JSONL file and several stakeholders need to find the probes that failed, compare modules and see how detectors performed. Read the JSONL directly when you need every attempt, need to script filters, or are feeding results into a ticketing or analysis pipeline. The two approaches answer different questions, and most teams use both: the viewer for review and discussion, the raw file as the record that the view came from. Because the viewer reads the file you give it, it does not change the underlying results. Confirm the input format your garak version writes before you rely on the viewer, since the report viewer README is the place to check which digest entries it accepts.

Before you share a viewer link or static build, decide who can reach it. The viewer has no backend of its own, so access control sits with the web server or network layer that serves the dist folder, and the report files themselves may contain prompts and model outputs that are sensitive for your application. Plan where the built files and source reports are stored, and keep a copy of the exact report used for each review so a later reader can reproduce what was shown. The garak-report viewer README lists the build and run steps to check against your toolchain before you set up a shared instance.

How report files move from scan to viewer

The path starts on the scan host, where garak writes a .report.jsonl file for each run. The report viewer reads that file and its digest entries, and the build produces a static dist folder with no backend. That folder is the trust boundary: once it leaves the scan host and reaches a web server or file share, anyone with access can open the results, so check what the report contains before publishing it. Readers then load the static files in their own browser.

Report files move from the scan host to a static host, then to the reader's browser.

Which viewer deployment option fits your team

This table compares three ways to run the garak report viewer: the Vite dev server on an analyst's machine, a built dist folder on an internal static host, and a built copy opened from a shared file location. Read each row against who needs to see the results and what the report contains, because the viewer loads digest entries from your report files and the build itself has no backend to enforce access.

OptionWhen it fitsWho can access itConfirm before sharing
Vite dev server on a local machineOne analyst reviewing a scan before writing findings, or debugging the viewer itselfOnly the person running the server, plus anyone who receives the report fileWhich .report.jsonl file is loaded, and whether it holds prompts, model responses or customer data
Built dist folder on an internal static hostA team that reviews the same scans regularly and wants a stable linkUsers your web server permits, typically controlled by your existing SSO or network rulesWhether the host access policy matches the classification of the scan target and the report content
Built copy opened from a shared file locationShort handoffs to a reviewer who has no server accessAnyone with read permission on the share, and anyone that copy is forwarded toWhether the report files travel with the viewer, and whether a copy is retained after review
Dev server exposed to a networkRarely appropriate, only for a controlled demoAnyone who can reach the portNot recommended without authentication in front of it
Report data sourceLoaded from the report files you point the viewer atFollows the access rules of wherever the .report.jsonl files are storedWhether a digest or JSONL file was edited or filtered before sharing

Setting up the viewer from a garak report

This sequence takes you from a local Node setup to a static build of the garak report viewer that loads a .report.jsonl file and shows digest entries, module scores and Z-scores. Each step ends with a check so you can confirm the viewer works before you rely on it for review.

  1. Confirm Node tooling and README requirements

    Your engineer checks the garak-report README in the NVIDIA garak repository for the Node.js and package manager versions the viewer expects, then confirms those versions are installed on the workstation or build host that will produce the static files. Record the versions you used so a later rebuild can match them. The step is done when node --version and the package manager version report values that meet the README's stated requirements, and nothing in the README is left unchecked.

  2. Obtain the garak-report source

    Your engineer obtains the garak-report source from the NVIDIA garak repository, either by cloning it or by downloading the copy at the release tag you are using with garak. Pin the revision so the viewer build matches the report format your garak run produced. The step is done when the garak-report directory exists locally, contains its README and package manifest, and the checked-out revision is recorded in your build notes.

  3. Install project dependencies

    From the garak-report directory, your engineer installs the JavaScript dependencies using the command the README gives, which is typically a single install command for the project's lockfile. Use the lockfile as committed so versions do not drift between builds. The step is done when the install finishes without errors and the dependency directory is present. If the install reports peer dependency or engine warnings, resolve them against the README before continuing.

  4. Build the static dist folder

    Your engineer runs the production build command listed in the README. The viewer is built with Vite, React and TypeScript, and the build produces a static dist folder with no backend component. The step is done when the build completes and a dist directory contains an index.html file and bundled assets. Keep the build output separate from source so you can copy the folder to a static file host or open it from a local web server.

  5. Serve the build and load a report

    Serve the dist folder with any static file server on the host you use for review, then open the viewer in a browser and load a garak .report.jsonl file produced by your scan. Use a report from a run you already trust so the first check is about the viewer, not the results. The step is done when the viewer opens, accepts the file, and the report name appears in the interface without errors in the browser console.

  6. Check digest entries render

    Your reviewer confirms that the digest entries from the report appear in the viewer and that each one matches the probe and detector names in the source JSONL. Compare a few entries against the report file directly, for example by searching for a probe name in both places. The step is done when the entry count and the probe names shown in the viewer agree with what the report contains, and no entries are missing or duplicated.

  7. Check module scores and Z-scores

    Your reviewer opens the charts module and confirms that module scores, probe metrics, detector performance and Z-scores display for the report. Pick one probe and compare the value shown with the value in the report or the digest output from garak. The step is done when the charts render and the figures for the sampled probe match the source data. Record any mismatch, since it may point to a report version the viewer does not expect. Confirm exact commands and file locations in the garak-report README before you repeat this sequence on another host.

How to read each view: modules, probes and detectors

The module view groups probes into families, so it shows where a target is weakest at a glance. It is the right starting point for a leadership summary or for deciding which area needs a deeper look. It does not show which individual attack worked, so it should never be the only view you cite.

  • Check the run scope first: confirm which probes and generations were included, since a module can look clean because only a few of its probes ran.
  • Compare modules within the same run: scores from one run are comparable with each other, but not with a run that used a different probe set or garak version.
  • Note the count of attempts behind each bar: a module with few prompts can swing sharply on a single hit.
  • Watch for the common misreading: a green module is not a certified safe module, only a module where the tested prompts did not produce undesirable output.

Before you share any module chart, drill into its probes so the summary matches the evidence underneath.

Security and operational considerations for shared reports

The garak report viewer is a static build with no server-side logic, so the controls around it come from wherever the dist folder is hosted. Reports carry prompts and model outputs, which makes hosting location, retention and distribution the decisions that matter most. Each card below covers one of those decisions or a check to run before sharing.

Access control sits outside the viewer

The viewer has no login, user model or permission layer, so anyone who can reach the hosted dist folder can read every loaded digest. Put the build behind your web server, reverse proxy or file share permissions, and confirm that directory listings are off and that the report files are not served from a second public path. Ask who can read the share, not only who can open the page.

Viewer README

Authentication through your web tier

Because the viewer does not authenticate users, single sign-on or basic auth must be added in front of it. Check that the proxy enforces authentication on every path, including the static assets and any file the viewer fetches when it loads a report. Test with a logged-out browser and with a direct request to a report file, since a protected page with an open data path still leaks results.

Logging what the web server sees

The viewer writes no audit trail of who opened which report. Access records must come from the web server or file share, so configure access logs that capture the user identity, the requested path and the time. Ask your security team how long those logs are kept and whether they are forwarded to central logging, because the log is the only evidence of who viewed a scan.

Prompts and outputs are sensitive

A .report.jsonl file records the prompts sent to the target and the outputs it returned, and some probes use content that is sensitive in its own right. Treat the digest and the JSONL as confidential data for the application under test, not as a neutral summary. Decide whether a shared copy should include full attempt text or only the digest view before it leaves the team.

Hosting location and retention

Choose a host inside the same trust boundary as the scanned system, and set a retention period for each copy of the build and its source reports. Old reports on an open share can outlive the model version they describe and become misleading. Ask the owner of the share to name the retention period and deletion process in writing, and confirm that backups of the share follow the same rule.

Recipients and distribution

Decide who receives the build, who receives the raw reports and who only receives a summary. Sharing a link to the static files is different from sending a zipped dist folder by email, which copies the data beyond your access controls. Keep a short list of recipients for each scan, and remove it when the engagement ends.

Pin the viewer to the garak version

Viewer builds and garak releases change independently, so a viewer built for one release may not read reports from another. Record the garak version that produced each report, and the viewer commit or build used to display it, alongside the scan. The current garak release, v0.17.1, was published on 16 October 2026, so reports from earlier releases need that record to be read and compared correctly.

garak releases

Questions teams ask before browsing garak results in the viewer

Is the garak report viewer free to use under the Apache 2.0 license?

The viewer is part of the garak repository, and garak is licensed under Apache 2.0, so you can use, modify and deploy it under that license. Confirm the license file that ships with the specific version you plan to use, since the repository is the source for the terms. The license covers the code, not the time you spend building, hosting or maintaining the viewer. Your costs are your own engineering hours, your hosting and any review your security team requires. Check the garak-report viewer README for the build steps and any notes on how the project is maintained before you commit to it.

Can our team build and host the garak report viewer without outside help?

Yes, if you have people comfortable with a JavaScript build and static file hosting. The viewer is a Vite, React and TypeScript front end that loads digest entries from garak .report.jsonl files and deploys as a static dist folder with no backend. That means the work is building the app, placing the output on a web server or object storage bucket, and deciding who can reach it. The harder parts are usually not the build itself but the access controls, the handling of report data and the process for regenerating reports after each scan. Teams that already run internal web applications often do this in a few working sessions, while teams without that experience should plan extra time for learning the toolchain.

What skills does a team need to run the garak report viewer?

You need three skill sets: Node-based front-end builds, static site hosting, and enough garak familiarity to produce the input files. For the build, someone must install Node, install dependencies, run the Vite build and fix any environment differences between developer machines and the build host. For hosting, someone must configure a web server or bucket, set headers and cache behavior, and place the dist output behind your identity controls. For garak, the team must know how a .report.jsonl file is produced, which is covered in the garak reporting guides. Engineers who have written CI pipelines usually pick up the build quickly, and security engineers should be involved early when the reports contain sensitive prompts or model responses.

What makes the effort to build and host the viewer larger or smaller?

Effort rises with the size of the reports, the controls your hosting must meet, and how far the views differ from the default. Large JSONL files affect how the browser loads and filters entries, so teams running big scans should test with realistic report sizes before rollout. Hosting controls such as single sign-on, network restriction, audit logging and retention rules add configuration and review time, especially if reports contain prompts or outputs that count as sensitive data. Custom views, such as extra charts, changed Z-score presentation or links into your ticketing system, mean modifying the TypeScript code and testing it again on each garak upgrade. Effort falls when reports are small, the audience is a small internal group and the default views meet your needs.

Does the viewer need a backend database or server to work?

No. The viewer does not need a backend, according to the topic facts: it loads digest entries from garak report files in the browser and deploys as static files. This simplifies operations because there is no database to back up and no application server to patch. The trade-off is that access control and data protection move to the hosting layer, so the static files and the report files they read must be protected there. Confirm with your security team whether a static host and its access logs meet your data handling rules, since anyone with access to the report files can read the prompts and outputs stored in them.

What should we ask a partner for in a fixed-scope quote for the viewer?

Ask for a written scope that names the deliverables, the hosting target and the controls each one must meet. DeployOpen works from written, fixed scopes, so a quote follows from what you agree in writing, and DeployOpen does not publish a price list. Useful items to include are the report sizes and volume to be supported, the hosting environment and identity provider, any custom views, handover documentation, and the process for regenerating the viewer when garak is upgraded. Also ask who keeps the build working after delivery and whether ongoing support is a separate retainer. Ask the provider to state what is excluded, such as report generation, analysis or evidence preparation for audits.

Who maintains the viewer after we deploy it?

Your team does, unless you contract that work. Once deployed, the viewer is a static build of code you own under the Apache 2.0 license, so updates, dependency patches and changes to match new garak report formats fall to whoever runs the build. Plan a rebuild step whenever you move to a newer garak release, and test that older report files still load before you retire the old build. Decide who receives notices about changes, who approves new views and where the source and build configuration are stored. A retainer with a partner can cover this, and DeployOpen offers ongoing support as a retainer, but the scope of that retainer should be written down before work starts.

Where the viewer fits in a garak reporting workflow

The report viewer is an exploration tool, not the system of record. Each garak run writes a JSONL report of every attempt and its evaluation, and that file remains the artifact you keep, hash, archive and feed into any later analysis. The viewer reads digest entries from a .report.jsonl file and lets an analyst move between module scores, probe metrics, detector performance and Z-scores without writing code. Treat it as the place where a person asks questions of a finished run, not the place where the run's evidence lives.

Use the viewer when the reader is the one who will decide what to investigate next, such as a security engineer comparing probe families after a model change or a red-team lead checking which detectors fired most often. Hand a reader an HTML digest from garak.analyze.report_digest when the audience will not open JSONL or a web app, such as a product owner or an assessor who needs a static summary. Use the OWASP and AVID views when the output must be mapped to a shared taxonomy, and create a ticket with the specific attempts, probe names and report filename when a finding needs an owner and a fix. The viewer's output is a starting point for those artifacts, not a substitute for them.

Before you rely on what the viewer shows, confirm two things in your own environment: which garak release produced the report, and which viewer build you deployed. Scores can shift between garak releases, so a chart from an older run may not match a newer one even when the file loads cleanly. Record the report filename, the garak version and the probe set alongside any conclusion you copy out of the viewer. The garak-report viewer README is the place to check the supported input and deployment steps for the build you intend to use.

How DeployOpen scopes and supports garak reporting

DeployOpen works on the garak report viewer as a defined piece of work: we agree the scope in writing, set up the viewer against your own garak report files, and hand over a static deployment your team can run. Engagements are fixed-scope, and ongoing support is available as a retainer.

How we scope

  • Inventory the garak .report.jsonl files you need to browse and confirm which runs are in scope.
  • Agree which digest views, module charts and probe and detector score pages the viewer must show.
  • Confirm the Node.js, Vite and React build environment and the static hosting target your team uses.

How we build

  • Build the viewer from the Vite, React and TypeScript source and produce the static dist folder.
  • Load sample digest entries to check that module scores, probe metrics and Z-scores render correctly.
  • Test the viewer against the report versions your scans produce, and note any fields it does not read.

How we hand over

  • Deliver the static build with written steps to publish it to your internal web server or storage bucket.
  • Document how to load a new report file, where Z-score values come from and what each chart shows.
  • Walk your analysts through reading module scores, probe metrics and detector performance in the viewer.

How we support

  • Offer retainers that cover rebuilding the viewer when the garak report format or your reports change.
  • Review viewer updates against new garak releases before your team adopts them in shared reporting.
  • Keep the deployment documentation current so the static files can be replaced without a backend.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.