garak license: what Apache 2.0 allows for commercial use

garak is licensed under Apache 2.0 and the maintainers describe it as free, so a company can run, modify and redistribute it commercially under conditions. The project publishes no enterprise edition or paid support plan.

On this page

Can your company use garak commercially under the Apache 2.0 license?

garak is licensed under the Apache 2.0 license, and its maintainers describe it as a free tool. The license permits commercial use, modification, sublicensing and redistribution, subject to conditions, so a company can run garak in its own environment without paying the project a license fee. The project publishes no enterprise edition and no paid support plan, which means the approval question comes down to the license terms and your internal policy. Legal, procurement and security leads should review this page before approval. For NVIDIA products that have packaged garak, see the garak enterprise edition page.

Four conditions shape most approvals. Section 4 requires you to give recipients a copy of the license, mark modified files with prominent notices of the change, keep copyright, patent, trademark and attribution notices in source form, and reproduce any NOTICE file. Section 6 grants no permission to use NVIDIA trade names or product names, except as needed to describe the origin of the work, so marketing material and client deliverables need a naming review. Section 7 provides the software AS IS, with no warranties, which means procurement should plan its own testing and support instead of expecting vendor assurances. Read the full text in the garak LICENSE file before the review.

Contributors keep the copyright in their code, and the garak contributor agreement requires a Developer Certificate of Origin sign-off in which each contributor certifies the right to submit the work under the license named in the file. Ask counsel to confirm how this applies to any internal patches you plan to contribute upstream, and to decide whether modified copies that stay inside the company need the same notices as copies shipped to clients. Confirm the project's current position on keeping the Apache 2.0 license in future releases in the garak FAQ and release notes before you write it into a policy, because this page does not make that commitment for the project.

Which garak license and edition terms apply to each option

This table compares the open-source garak scanner under Apache 2.0, a hypothetical project enterprise edition, and project paid support. Read each row for what is granted, what is conditioned or restricted, and where the statement comes from. No price is published for any paid option, so a quote follows from a written scope.

OptionWhat it includesWhat it restrictsSource
Open-source garak under Apache 2.0Free use, modification and redistribution of the scanner in source or object form, with a royalty-free patent grant from contributorsKeep the license copy, mark modified files, retain notices, and do not use NVIDIA trade names or trademarksgarak LICENSE, Sections 2, 3, 4 and 6
Cost of the open-source scannerNo license fee for the scanner itself, per the maintainersCompute, staff time and any hosted model fees are separate costs and are not covered by the licensegarak README on GitHub
Latest release and runtimegarak v0.17.1, released 16 October 2026, installed from PyPI with pipRequires Python 3.11 or newer; developed on Linux and macOSgarak releases on GitHub and PyPI package page
Contributed codeContributions you send upstream, accepted under the license named in each fileEach contribution needs a Developer Certificate of Origin sign-offgarak CA_DCO.md
Warranty and liabilitySoftware provided as isNo warranties of title, non-infringement, merchantability or fitness for a particular purposegarak LICENSE, Section 7
Hypothetical project enterprise edition (illustrative only)Not published by the project; no edition, feature set or license terms are listedUnknown; confirm with the project and NVIDIA before assuming any termsConfirm against the garak README, FAQ and releases
Project paid supportNot published by the project; no support tiers or service levels are listedUnknown; ask the project which routes exist and what they coverConfirm against the garak user guide and FAQ
Price for any paid optionNo price is published for any paid optionA quote follows from a written scope that states deliverables and timingAsk the vendor or DeployOpen for a written quote

What is free in garak and what your team still runs

garak is licensed under Apache 2.0 and the maintainers describe it as a free tool, so the license cost is zero and no paid plan is published. The cards below separate what the license covers from the runtime, infrastructure, access and staff work your organization must still provide to run scans.

Free license and free use

The Apache 2.0 license lets your organization run, modify and redistribute garak without a royalty or license fee. Section 2 grants a royalty-free copyright license, and Section 3 adds a royalty-free patent license from contributors. Confirm with your legal team that the Apache 2.0 terms fit your internal use and any shared internal distribution of modified scanners.

Read the license

No published paid plan

The maintainers publish no paid tier, enterprise license or paid support plan for the open-source scanner. Any commercial offer you receive for garak is a separate service agreement with its own scope. Ask the provider to state in writing what the fee covers and whether the underlying scanner remains Apache 2.0.

Python 3.11 runtime

garak is installed from PyPI with pip, and the PyPI package requires Python 3.11 or newer. Your team must supply and patch this runtime on Linux or macOS hosts, and keep a tested virtual environment so a scanner upgrade does not change the interpreter underneath your report pipeline.

garak on PyPI

Scan hosting and endpoint access

garak sends many prompts to each target, so you must provide a host with network reach to the model or application under test. For hosted models, that means API keys and rate limits from the provider. For internal REST endpoints, it means a configured YAML endpoint file and approved network paths. Confirm credential storage and egress rules before the first scan.

Storage for reports and logs

Each run writes a JSONL report of every attempt and its evaluation, and garak.log continues across runs. Your team must decide where these files live, how long they are kept, who can read them and how they are backed up. Reports can contain sensitive prompts and model outputs, so treat them as controlled data.

garak README

Upgrade, testing and staff

Upgrades, regression checks on report output and the people who design probe sets and interpret results are all internal costs under an open-source license. Compute and staffing effort are covered in the cost of ownership page. Plan who owns each upgrade and who signs off on changed scores before you rely on a new release.

Which license position fits internal use, regulated firms, products and air-gapped sites

Running garak on your own hardware to test an internal model or application is the lightest case. Section 2 of the license grants the copyright rights to use, copy and modify the work without a fee, and the redistribution conditions in Section 4 apply when you pass copies to someone else. Internal use does not, by itself, create a redistribution, but scripts and wrapper code often spread across teams over time, so it helps to keep the license and notices intact from the start.

  • No fee for the license: The grant is royalty-free and no-charge, so the license itself creates no invoice.
  • Redistribution is the trigger: Internal use does not add notice requirements beyond keeping the files you received intact.
  • Modified files: If you edit garak's own code for a scan and the copy leaves your team, mark each changed file with a prominent notice of the change.
  • No use of NVIDIA names for products: Section 6 does not let you present your product or reports as an NVIDIA offering.
  • No warranty: Section 7 provides the software AS IS, so the accuracy of scan results and any fixes rest with your team.

Ask whoever owns your open-source policy whether copies shared between internal groups count as distribution, and decide whether paid support is worth the cost for your team size.

What drives license-related cost before you pay anyone

This table lists the costs that come from the Apache 2.0 license and your approval process, not from running the scanner. Read each row for who is paid, whether the cost is one-time or recurring, and what raises or lowers it. Compute and staffing costs are covered on the cost of ownership page.

Cost componentWho is paid or who spends timeOne-time or recurringWhat raises or lowers it
Legal review of Apache 2.0Internal counsel or an outside law firm reviewing the LICENSE file and your use caseOne-time, repeated if use changesLowers with a standard open-source approval policy; rises if you redistribute or modify code
Redistribution notice workEngineers who ship garak inside a product or internal tool and must include license copy, notices and change markingsOne-time build, recurring at each releaseRises with the number of shipped components; lowers if garak stays an internal, unmodified CLI
Version change trackingCompliance or platform staff who record new garak releases and check the license and NOTICE files for changesRecurringRises with release frequency and number of teams using garak; lowers with a pinned version and a review checklist
Patent and trademark reviewLegal staff checking the patent grant and the trademark restriction before public use of the project nameOne-time, recurring only if branding changesRises if you plan to publish a product name or sell a derivative; lowers when garak is used internally
Contributor sign-off processEngineers who submit code upstream and must add a Developer Certificate of Origin sign-offRecurring per contributionRises with the volume of upstream contributions; lowers if you keep changes private
Paid support or services contractA third-party provider you choose to buy from, separate from the open-source licenseUsually recurring, priced in your own quoteDepends on the scope you agree in writing; ask whether any support is offered by the project itself

What the garak license requires when you run, change or ship it

garak is licensed under Apache 2.0, which is permissive: you can run it internally, change it and redistribute it without paying a royalty. The conditions that remain are mostly about notices, attribution and how the project name is used, and they apply most heavily when you ship modified copies to others.

Give recipients a copy of the license

When you redistribute garak in source or object form, Section 4 of the LICENSE file requires you to pass the Apache License 2.0 text to every recipient. Internal use on your own hosts does not trigger this step, but a scanner image or bundle handed to a contractor or customer does. Check that your packaging, container images and internal artifact stores carry the license file with the code.

garak LICENSE file

Mark modified files clearly

If you change garak source, Section 4 requires prominent notices in each modified file that state the change was made. This matters for custom probes, detectors and generators your team writes on top of the scanner, because a fork that silently alters upstream files weakens your ability to show what you changed. Establish a convention for change headers before the first internal fork is built.

Keep notices in source form

Section 4 also requires you to retain copyright, patent, trademark and attribution notices that appear in the source. Removing headers during cleanup, reformatting or copying files into another project can break this condition without anyone noticing. Ask your engineers to preserve file headers in any vendored copy and to confirm this during code review.

Reproduce any NOTICE file

Apache 2.0 projects can include a NOTICE file with attribution text, and Section 4 requires that attribution to be carried forward in redistributions. Before you ship garak or a derivative, check the repository for a NOTICE file and include its content in your distribution documentation. Your procurement or legal team should confirm which version of the repository your build is based on.

Limited patent grant and its termination

Section 3 gives you a royalty-free patent license from each contributor to use and distribute the work. That license ends for anyone who starts patent litigation alleging garak infringes a patent. For most internal users this is a background protection, but if your organization is in a patent dispute involving AI security tooling, involve counsel before you rely on it.

Trademark and product name limits

Section 6 does not give you permission to use the project's trade names, trademarks or product names, beyond customary descriptions of where the work comes from. Your internal dashboards, reports and product marketing can say that you run garak, but a product, service or vendor name that suggests endorsement by NVIDIA or the project needs a separate review. Keep naming in client deliverables factual.

What to collect before the garak approval goes to procurement

This sequence gathers the license text, version record, use classification, support position and notice obligations into one file that procurement and legal can review without chasing the project or the team that ran the pilot.

  1. Obtain the LICENSE file from the pinned release

    Engineering downloads the LICENSE file from the exact garak version you intend to deploy, not from a branch that may have moved since your evaluation started. The starting point is the garak LICENSE on GitHub, but the copy you file should match the tag you pinned. Store it unchanged in the approval folder. This step is done when the file's checksum is recorded next to the version identifier in the next step.

  2. Record the version and release date

    Engineering records the exact garak version, the PyPI package or Git tag used, and its release date from the project's release history. The most recent published release at the time of writing is v0.17.1, released on 16 October 2026, but you should record whichever version you actually pinned. Save the link to the release page alongside the record. This step is done when procurement can match the approved version to a single release entry.

  3. Decide whether the use is internal or redistributed

    Legal and the project owner classify each intended use as internal operation, modification for internal use, or distribution of the scanner or modified copies to others, such as customers or a managed service partner. Internal use and redistribution trigger different obligations under the Apache 2.0 terms, so the classification drives the rest of the file. Write the decision in one paragraph with the named owner. This step is done when every planned use has a classification signed off by the owner.

  4. Confirm the support and edition position in writing

    Procurement asks the project and any vendor offering garak-related products to state in writing whether a paid edition, commercial license or support contract exists for the version you intend to use. Keep the request specific: the product name, version, license terms and support scope. Do not assume a free tool carries a service commitment unless the written answer says so. This step is done when each response is filed, or when the file records that no paid route was identified.

  5. Document data handling for scan inputs and reports

    Security and the data owner document what goes into a scan, including system prompts, test data, target endpoint credentials and any sensitive text, and where the JSONL report and garak.log file are stored, who can read them and how long they are kept. Garak writes a report of every attempt and its evaluation, so reports can contain sensitive model outputs. This is a data handling record, not a license term, but reviewers will ask for it in the same package. This step is done when the storage location, access list and retention rule are written down.

  6. Define the support and exit path

    Engineering sets out how the team will receive security fixes and version updates, who decides when to upgrade, and how an older version stays available if a newer release changes behavior that your reports depend on. Record the rollback method, the archived copy of the pinned version and the owner who can approve a change. Because the project is community maintained under the license, this plan is your responsibility unless a written support agreement says otherwise. This step is done when the owner and the rollback steps are named in the file.

  7. Get legal sign-off on notice obligations

    Legal reviews the license text and confirms the notice duties that apply to your classification: giving recipients a copy of the license, marking modified files, retaining copyright and attribution notices, and reproducing any NOTICE file content. Legal also confirms that the project's trade names and product names are not used in your materials beyond describing the origin of the work. The copyright holder and warranty disclaimer are part of the same review. This step is done when counsel signs the notice checklist and the signed copy is attached to the approval.

What catches buyers out after the license is approved

Approving the Apache 2.0 license clears the copyright and patent questions, but it does not settle what the team will run, build on or show an auditor. The cards below cover the assumptions and gaps that tend to surface after sign-off, and each one has a check to make before the scanner moves into production use.

Assuming a paid edition exists

The garak project describes the tool as free and publishes a user guide, but the supplied facts do not show a commercial edition or a paid support contract. Procurement teams sometimes budget for an enterprise tier that was never offered. Before approval, ask in writing whether any paid product or support route covers the exact version you intend to run, and record the answer in the decision file.

garak README

License changes not covered by this review

This review rests on the license text in the current LICENSE file. It does not establish how the project would handle a future change in license terms or a relicensing. Assign an owner to watch the LICENSE file and the release notes on each upgrade, and re-run the legal review if either changes. Apache 2.0 governs the code you already received, so confirm with counsel how any future terms would apply to versions you have already deployed.

garak releases

Third-party generators with their own terms

Apache 2.0 covers garak itself, not the model services it calls. garak can reach Hugging Face Hub models, OpenAI API models, AWS Bedrock models, LiteLLM routes and REST endpoints, and each of those brings its own usage terms, data handling rules and rate limits. Inventory every generator in your scan configuration, and confirm that the provider terms allow adversarial prompt traffic before a scheduled scan runs.

garak README

Older versions weakening audit evidence

Scan reports are only as comparable as the tool that produced them. If teams run different garak versions, scores may not line up across runs, and an assessor may ask which version produced a given result. Pin the version in your deployment, record it in every JSONL report alongside the run configuration, and plan a documented upgrade step so that older results remain explainable.

Latest release cited
0.17.1

Redistribution without required notices

If you bundle garak into an internal platform or customer-facing product, Section 4 of the license requires that recipients receive a copy of the license, that modified files carry prominent change notices, and that copyright, patent, trademark and attribution notices stay in source form. Section 6 also withholds permission to use NVIDIA trade names and product names beyond describing origin. Build a notices step into your packaging pipeline and review marketing copy for product name use.

garak LICENSE

Questions procurement, legal and security reviewers ask about the garak license

Is garak allowed for commercial use under the Apache 2.0 license?

Yes. Apache 2.0 grants a perpetual, worldwide, royalty-free license to reproduce, modify, sublicense and distribute garak, including in commercial products, and each contributor grants a patent license for the work. Redistribution carries conditions: give recipients a copy of the license, mark modified files with prominent notices, keep copyright, patent, trademark and attribution notices in source form, and reproduce any NOTICE file. The license does not grant rights to the project's names or trademarks, so describe your use of garak without implying endorsement by its maintainers. The software is provided AS IS, without warranties. Running garak internally for your own assessments involves no redistribution, so those conditions do not arise. Have counsel confirm how the terms apply to your specific structure, using the garak LICENSE as the starting text.

Does using garak require us to publish our own source code?

No. Apache 2.0 attaches its conditions to garak itself, not to the systems that run it. Internal use of an unmodified garak does not require you to release your applications, models, infrastructure code or test results. If you distribute a modified garak to others, the redistribution conditions apply to the garak files you changed, including the notices described in the license. Custom probes, detectors or generators you write as separate plugins in your own repository are your code. Whether any of them counts as a derivative work depends on how they are packaged and how they load garak, so ask counsel to review the repository layout before you ship or share them.

Is there an enterprise edition or paid support for garak?

The project's public materials describe garak as a free tool, and the maintainers publish its user guide and README openly. Do not assume a paid tier or a vendor support contract exists. Check the garak README and the user guide for current support channels, then confirm in writing with the maintainers before you budget for one. If a vendor offers a packaged or supported version of garak, ask for its license terms, the version it is built from, the support scope, the response commitments and who holds the contract. Treat any claim that is not in writing as unverified.

What would a paid garak engagement cost, and what drives the price?

The garak license itself carries no fee under Apache 2.0. Your costs are compute, model API usage and people, plus any outside help you buy. DeployOpen does not publish a price list. A quote follows from a written scope, and most engagements are fixed-scope with deliverables and timelines agreed before work starts. Main drivers include the number of applications and endpoint types to test, whether targets are hosted APIs, local models or REST services, the probe families and harness changes required, custom plugins, CI and reporting integration, the evidence your auditors need, and any air-gapped hosting. Setup work is one-time. Scheduled rescans, upgrades and continuous testing are usually retainers. Ask for an itemized scope, assumptions, exclusions and retainer terms.

How long does a garak license review take?

No fixed duration applies, because the review depends on your organization's process and the way you plan to use garak. The license text is a single document, so the time usually goes to decisions. Drivers include whether you only run garak internally or distribute it inside a product, whether you modify its code or write plugins, how your open-source policy classifies Apache 2.0 components, whether marketing or sales materials would name the project, and how many approvers sit in the chain. Ask your legal team for its intake timeline. Bring the LICENSE file, a written description of intended use, and a list of any planned modifications so the review starts with complete facts.

Can our own engineers install and run garak without a partner?

Yes. garak is a command-line tool installed from PyPI with pip. It is developed on Linux and macOS, and the PyPI package requires Python 3.11 or newer. Your team can point it at Hugging Face Hub models, OpenAI API models, AWS Bedrock models, models through LiteLLM, gguf models through llama.cpp or any REST endpoint, which is configured with a short YAML file. Each run writes a JSONL report and a garak.log file. Skills that take longer to build include choosing probes for your application shape, writing custom plugins, reading results as compliance evidence, scheduling rescans in CI and operating on air-gapped hosts. Check your team's capacity for those tasks before you decide whether to bring in outside help.

What happens if the garak project changes its license later?

The Apache 2.0 terms you received with a given copy continue to govern that copy, so a later license change should not remove rights you already hold in the version you downloaded. Confirm this with counsel, and do not rely on it for planning. The supplied project materials do not include a public commitment that the license will stay the same, so read the garak FAQ for the project's current position. To limit exposure, pin the release you adopt, such as v0.17.1, record its LICENSE file in your third-party inventory, subscribe to release notifications on the releases page, and add a license re-review to your open-source policy as a trigger.

How DeployOpen deploys garak in your infrastructure and scopes the work

DeployOpen plans, installs and documents garak inside your own infrastructure, and it helps your legal and security teams record how the Apache 2.0 terms apply to your use. We scope the work in writing first, so the licensing review, deployment and handover each have agreed deliverables before any build starts.

How we scope

  • Written scope names which garak use cases, models and endpoints are in and out of the engagement.
  • We record whether you run unmodified garak, add custom plugins or redistribute the scanner to others.
  • Scope lists the licensing notes, NOTICE handling and DCO questions your legal team needs to confirm.
  • Engagements are fixed-scope, and ongoing support is available as a retainer after handover.

How we build

  • We install garak from PyPI on hosts you control, with Python 3.11 or newer, and record the exact version used.
  • Modified files get prominent change notices, and retained copyright and attribution notices are kept in source form.
  • We configure REST generators and other endpoints using YAML files that your team can review and version.
  • Test runs confirm the JSONL reports and garak.log output are written where your retention policy expects them.

How we hand over

  • You receive a licensing record that maps each garak component you use to its license and notice obligations.
  • Documentation covers the install, upgrade path and how to verify that the license texts shipped with your copy.
  • We walk your team through the trademark restriction in Section 6, so product names are used only as permitted.
  • Handover states which items your counsel must confirm, since DeployOpen does not provide legal opinions.

How we support

  • Retainers cover upgrades to new garak releases, with license and notice changes reviewed before rollout.
  • We track the project's contributor terms, including the Developer Certificate of Origin, for any code your team contributes upstream.
  • Support requests are handled under the retainer terms agreed in writing at the start of the engagement.
  • Changes to your redistribution or modification practice trigger a scoped review before the change goes live.

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.