Model SBOMs and license checks with ModelAudit

Use ModelAudit's documented license checks to catch AGPL, non-commercial and unlicensed model content before it reaches a product. Confirm which SBOM output your installed version produces before you write a policy around it.

On this page

Why a model SBOM and license check belong before intake

Before a model from a public hub, a cloud bucket or a supplier enters a product, the team needs its license terms and its component list first. ModelAudit's documented license checks flag AGPL network copyleft obligations, non-commercial licenses and large datasets without clear licensing, and this page explains how to pair those results with a CycloneDX SBOM for model artifacts once the output is confirmed. The check reads license information found in headers, LICENSE files and metadata that ship with the artifact. A model card that names one license while a LICENSE file in the same folder names another is the kind of conflict to resolve at intake, when the fix is a written question to the supplier.

The scanner reports what the files say, and it does not interpret them. Whether an AGPL obligation reaches the way your service exposes a model over a network, whether a non-commercial term excludes your product's revenue, and whether a dataset's silence means it is free to use are questions for your counsel. Licensing that is not written into the files is also invisible to ModelAudit, so a clean result only means no conflicting terms were found in the artifact itself. Ask suppliers for written license terms covering the weights, the training data and any base model they fine-tuned, and store those terms next to the scan output so the record shows what was known at intake.

Run the license check at intake, before the artifact is copied into your model registry or pulled into a build that ships to customers, and run it again whenever the model version, its source or its metadata changes. Agree the decision owners in advance: legal usually interprets the findings, security owns the scan and its record, and engineering holds any flagged artifact in quarantine until counsel has reviewed it. Confirm with your procurement team which SBOM fields they expect before the scan starts, so the CycloneDX output matches what they will review. The ModelAudit scanners documentation describes each license check in more detail.

How a model SBOM and license check fit into intake

The diagram starts on the supplier side, where a model file can come from a public hub, a storage bucket or registry, or a direct supplier delivery. The trust boundary marks the point where those files are copied into the organization's environment. Inside, the team runs ModelAudit on its own scanning host, which produces license findings and an SBOM. Legal or compliance review reads both outputs, and the result is recorded as an accept or reject decision before any model reaches the product build. Check that the scan runs before the files go anywhere else, and that the decision record names the files and findings it covers.

Files cross a trust boundary into the scanning host before any build.

Which ModelAudit license findings to act on, and when each fits

This table pairs each license finding ModelAudit reports with the product situation where it matters and the action it should trigger. Read the rows against where the model or dataset will live: an internal test, a customer-facing service, a commercial product or a training pipeline. The main takeaway is that a license finding is a decision point, so record who reviewed it and what was decided before the artifact moves forward.

FindingWhen it mattersAction it should trigger
License information in headers, LICENSE files and metadataAny model you plan to ship in a product or use for training, evaluation or internal tooling.Record the license and source in the SBOM, and route restrictive terms to legal review before release.
AGPL network copyleft warningA component or tool bundled with a customer-facing service, since AGPL network terms can reach users who never receive a copy.Have legal confirm whether the copyleft obligation applies, and replace or isolate the component if the team cannot meet it.
Non-commercial license identifiedAny model used in a commercial product, paid service or customer deployment, even if the team only evaluated it internally first.Block promotion to production until the license permits your use case in writing, and record the decision in the intake file.
Large dataset without clear licensingDatasets used for training, fine-tuning or evaluation, where unclear terms can carry into the model and its outputs.Stop use until the owner documents the license, or replace the dataset with one whose terms your legal team has reviewed.
SBOM output format and fieldsAny policy that asks suppliers or auditors to accept a CycloneDX SBOM as evidence of model contents and license status.Confirm the CycloneDX version, field names and license fields in your installed release before writing policy on them.

What the license checks detect and where they stop

ModelAudit looks for license signals in three places: file headers, LICENSE files shipped with the model, and metadata inside the artifact. A result is only as complete as the files the supplier delivered. When no license is detected, treat the model as an open question for review. A missing license does not give permission to use the model. Ask the supplier for the license text in writing, record which license applies to each file in the bundle, and hold the model out of production until the compliance owner or counsel has accepted the terms. Also check whether the model is a fine-tune or derivative, because the base model's terms may still apply even when the derivative's metadata is silent.

The AGPL warning concerns network copyleft obligations. These can matter when users interact with a service built on the model over a network, even if you never distribute the model file itself. If a flagged component sits inside a service that customers reach through a browser or API, ask counsel whether the AGPL terms reach that service and what source-availability duties would follow. The non-commercial flag matters when the product or its customers are commercial, since a model licensed for research or personal use may not cover revenue-generating use. Map each flagged model to its intended use, including internal tools and customer-facing features, before anyone approves it.

Detection depends on what the supplier ships. If the license appears only on a web page, in a model card that was not packaged with the weights, or in a repository the intake team never downloaded, the scanner cannot read it. Confirm with each supplier which license files and metadata accompany every artifact, and keep a copy of the terms with the intake record. A clean result means the scanner found no license signal in what it was given. Treat it as evidence to review alongside the license texts, the supplier's written terms and your counsel's reading. It is not legal clearance. The ModelAudit scanner documentation lists the license checks in more detail.

Setting up model SBOM and license checks in intake

This sequence sets up ModelAudit's license detection and SBOM output on a sandbox host before any candidate model reaches a product. It finishes with a tested check, a saved SBOM in a format you can read, a written license policy and a decision record for each model, so intake results can be reproduced on every upgrade.

  1. Confirm promptfoo and ModelAudit versions

    The intake engineer checks the installed promptfoo and ModelAudit versions on the sandbox host, along with the Node.js runtime. The promptfoo npm release 0.124.1, published on 8 October 2026, requires Node.js 22.22.0 or newer, so compare the installed Node.js version against that requirement. Then read the ModelAudit scanners documentation for the installed version to confirm which license and SBOM features it documents. Done when both versions and the documented features are written into the intake log.

  2. Stage one candidate model in isolation

    The intake engineer copies one candidate model file, along with any LICENSE, README or metadata files shipped alongside it, into an empty directory on the sandbox host. Keep the staged folder free of other models so the scan covers only that candidate. Do not load the model into a framework to inspect it. Run the ModelAudit license check against the directory and save the complete output to the intake record with the scan date and tool version. Done when the saved output exists for that one model, including the case where no license is found.

  3. Test license detection with known fixtures

    Create fixtures in a separate empty directory: a LICENSE file containing known AGPL license text, a file with a non-commercial license statement, and a folder with no license at all. These are not models, so use them only to test detection. Run the same license check on each fixture and confirm the output reports the AGPL network copyleft case, the non-commercial license and the unlicensed case. Done when all three findings appear as expected in this environment. If a fixture is missed, stop and resolve it, because an empty result on a candidate would then mean nothing.

  4. Confirm the SBOM output format

    The intake engineer runs SBOM generation for the installed version against the staged candidate and inspects the file it writes. Record the file name and format, and whether the format is CycloneDX, confirming with the vendor if the documentation is unclear. If CycloneDX is emitted, validate the file with a schema validator your team trusts and store it with the intake record. If it is not, document a fixed procedure before the first intake: either a conversion step using a tool your team has reviewed, or a manual process where an engineer records component name, version, hash and license fields in CycloneDX structure. Done when one SBOM for the staged candidate is saved in the agreed format and the method is written into the intake procedure.

  5. Write the license policy categories

    Draft a short policy that sorts each license finding into a category, such as allowed, allowed with conditions, needs legal review and rejected, and define what each category means for your products. Cover the AGPL network copyleft case, non-commercial licenses, unlicensed content and large datasets without clear licensing, since ModelAudit flags these. Have legal or compliance approve the policy version before the first decision is recorded. Done when every finding type from the fixture test maps to one category and the approved policy version is saved in the intake procedure.

  6. Record each decision with its evidence

    For each candidate, record the model identifier, the version or file hash, the scan date, the assigned license category and the name of the reviewer who made the decision. Attach the saved license output and the SBOM file to the same record. Store the record where product owners and auditors can retrieve it. Done when a second engineer can open the record, match the hash to the file that was scanned, and trace the decision back to the saved output.

  7. Rerun checks on every model upgrade

    Treat every new model version, including a changed file that keeps the same name, as a new candidate. Rerun staging, the license check, SBOM generation and policy categorization, and record a new decision with its own hash, scan date and reviewer. Rerun the fixture test as well whenever promptfoo or ModelAudit has been upgraded, since detection behavior may have changed. Done when the new record exists and the previous decision is kept unchanged, with no approval carried forward to a file with a different hash.

What to confirm about the CycloneDX SBOM and the license results

Each card below is a limit your team has to verify in its own environment before it relies on the output. Together they separate what ModelAudit reports from what your organization can conclude about a model's license. Each card names who confirms the point: vendor documentation, a test fixture or legal counsel.

Whether the SBOM is emitted

Confirm that the ModelAudit version you install produces a CycloneDX SBOM for model artifacts, and list which components it records for each file. Check the output field by field against the fields your intake policy requires. Vendor documentation confirms the intended behavior, and a test fixture with a known model confirms it in your build. Do not treat an empty component list as proof that a model has no dependencies.

License signals in supplier files

ModelAudit's license checks look for license information in file headers, LICENSE files and metadata. A missing signal is not a clearance. Ask suppliers which of these locations their model packages use, then run a fixture that carries each one through your version to confirm it is detected. Record what the scan missed so intake reviewers know where manual review is still needed.

Warnings feed legal review

AGPL, non-commercial and unlicensed flags are inputs to legal review, and the scanner does not decide whether a use is permitted. Give counsel the exact warning text, the file it came from and the model version, so each decision can be traced later. Legal counsel should set the decision rule for each warning class before the first scan runs.

Large datasets need licensing

A flag for a large dataset without clear licensing means the license still has to be established, whatever else the scan shows. Ask the supplier for the dataset's terms in writing and confirm they cover the model's intended commercial use. Legal counsel confirms whether those terms are acceptable. Keep the flag, the terms and the decision together in the model record.

Formats and sources covered

Check which model formats the license checks cover in the ModelAudit version you run, and whether the same checks apply to every source you intake from, such as local files, cloud buckets, model registries or hub downloads. Coverage can differ by format and by source, so a clean result on one path says nothing about another. Vendor documentation sets the coverage list, and a fixture for each format and source confirms it.

ModelAudit scanners docs

AGPL warning and service model

The AGPL warning flags network copyleft obligations, and whether those obligations reach your organization depends on how users reach the software, whether it has been modified and how it is delivered. Map the model's license and the serving stack to your actual deployment model, such as internal use or a hosted service for customers. Legal counsel decides the obligations, and the engineering team supplies the architecture facts counsel needs.

Turning license findings into an accept or reject decision

Convert every license finding into one of three outcomes before a model enters a product: block intake, route to legal review, or pass with a recorded note. Block intake when the license is non-commercial and the model will serve a commercial product, or when the terms clearly conflict with how your organization plans to use it. Route AGPL findings to legal review, because ModelAudit warns about network copyleft obligations, and those obligations depend on how users reach the model. Route large datasets flagged without clear licensing to legal review as well. Pass a model with a note only when the license is clearly permissive and matches the intended use. Have counsel write these categories into a single intake policy so that engineers apply the same rules to every model. The ModelAudit scanner documentation explains which license signals the tool detects, but the policy decides what each signal means for your product.

Treat an unknown or unlicensed result as a hold, never as a pass. If ModelAudit finds no license in file headers, LICENSE files or metadata, the artifact stays out of the product until a person with authority to accept that risk makes a decision. Name that person in the policy, usually a legal reviewer or the owner of the product. Before they decide, confirm the license with the model supplier in writing, because the supplier's statement is often the only source for the terms. Exceptions to any block or hold need a named approver, a written reason and an expiry date. When the expiry passes, the model returns to hold for re-review. Ask your approval workflow whether it can enforce expiry automatically. An exception that never lapses quietly becomes the policy, and auditors will ask how many open exceptions exist and who approved them.

Link each decision to the exact model artifact that was scanned, not to a model name or tag. Record the file name, a content hash computed on the file you scanned, the supplier and source revision, the ModelAudit version and the scan report for that file. A record that points only to a repository name or a tag breaks when the supplier replaces the file under the same tag, and the approval then covers an artifact nobody reviewed. Store the SBOM generated for the same artifact alongside the decision, so the license evidence and the component listing refer to one object. If the hash changes, treat the artifact as new: re-scan it, re-check its license and record a new decision. Keep the old record so you can show which version was approved at each point in time.

Protecting SBOM files, scan records and the scanning host

The SBOM and license decision is only as trustworthy as the host that produced it and the records that hold it. The cards below cover where scans run, what must not be loaded, where reports live, how credentials are handled, and who can read the output.

Scan on a host you control

The promptfoo documentation states that the software runs completely locally, with evals running on your machine. Confirm the same for ModelAudit in your own environment before you rely on it, including whether the scanner makes any outbound network calls when it reads a model file or its metadata. Run the scanner inside your network boundary under the same change control you apply to other build infrastructure, so the scanning host is part of your supply chain review.

promptfoo introduction

Do not load a suspicious model

A scan exists to decide whether a model is safe before anything loads it, so the decision has to come first. Do not open a downloaded model in a notebook, a serving process or a pipeline stage to see what it contains. Keep new artifacts in a quarantine location until the scan verdict is recorded, and give the scanning job read-only access to them. Check that your intake process enforces this order, because loading a model to inspect it may already have run code that the file contains.

Keep reports off the self-hosted server

The self-hosted promptfoo app stores data in a local SQLite database that cannot be shared across replicas. It has no RBAC, no built-in authentication or SSO, and is not recommended for production use. Treat that instance as a viewing tool for a single team, and export each SBOM and scan result to the system of record your audit and procurement teams already use. Ask which instance holds reports today, who can reach it, and how it is backed up.

Self-hosting docs

Keep hub credentials in the environment

Scans of private model hubs and registries need credentials, and those credentials should reach the scanner only as environment variables. Keep them out of config files, scan files, exported reports and tickets. Confirm which variables your ModelAudit setup reads, have your secrets manager inject them at run time, and use tokens scoped to read-only access on the repositories being scanned. Review scan logs for accidental token output before you share them.

Set retention and access for records

SBOMs and decision records answer a later question: which model was approved, on what license basis, and by whom. Define how long each is kept, who may read it, and who may record an accept or reject decision, and write those rules down before the first scan. An SBOM lists the models and licenses in use, so treat it as internal information. Confirm retention periods with your legal, compliance and records teams, because the period depends on your own obligations and records policy.

Enterprise and On-Premise for shared review

promptfoo Enterprise adds team sharing, teams-based access control and SSO, and On-Premise runs that functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer. Confirm whether the reviewers who approve models need shared access under team-based permissions and single sign-on, and whether your infrastructure must hold the data. Ask the vendor whether these features cover ModelAudit results. Pricing is custom, so request a quote that follows your written scope and review workflow.

promptfoo pricing

What a model SBOM and license check costs and takes

How much does a model SBOM and license check cost?

The promptfoo software is MIT licensed, and the Community edition is free, so the tool itself carries no license fee for a basic check. Enterprise and On-Premise are sold on custom pricing and add team sharing, SSO, access control and continuous monitoring, which a one-time license check may not need. Most of the cost is labor: someone inventories the models, runs the scans, reads the findings and takes them to legal. If you hire a partner, DeployOpen does not publish a price list and gives a quote from a written, fixed scope. Ask any provider to split the quote into labor, infrastructure and software, and to mark which items recur, such as rescans when a model is replaced or updated. Compare editions on the promptfoo pricing page before you decide.

What drives the effort of a model license check?

Effort rises with the number of models, the formats they use and how much policy work surrounds the scan. The main drivers are:

  • How many models and versions you must inventory, and how often they change.
  • Formats and storage locations, such as files pulled from public hubs, private registries or object storage.
  • Private sources that need credentials and network access approved before scanning.
  • SBOM requirements, such as the CycloneDX fields your auditors or customers expect.
  • Policy complexity: how many license types you allow, conditions by use case, and exception routes.

A small set of models from one source under a short policy takes far less work than a large, mixed catalog with several exception routes. Confirm each of these items in your scope before you request a quote.

How long does it take to set up model SBOM and license checks?

Duration depends on the written scope, and this page does not give a figure. The schedule usually follows the order of the work: agreeing the model inventory, preparing a sandbox host, getting access to private sources, running the scans and then passing findings to legal review. Each step can wait on your people, so ask any provider for a milestone plan that names who must act at each step. Legal review often has the least predictable timing, so ask your legal team for its turnaround before you agree dates. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so ask for start and end conditions in that document rather than relying on verbal estimates.

What must our team provide for a model license check?

Your team must provide access and decisions, not just files. The typical inputs are:

  • A model inventory listing each model, its source, its version and its intended use.
  • A named license policy owner who can decide which license types are acceptable.
  • A sandbox host where scans run, isolated from production and with network rules you approve.
  • Access to private sources, such as registries or buckets, with credentials scoped to read-only use.
  • Legal review time, with someone who can read model licenses and give a written position.

If any of these is missing, the scan can run but the decision cannot close. Confirm each owner and access path during scoping, before anyone starts the work.

Can our own team run a model SBOM and license check without outside help?

Yes, if you have people who can run the scanner, produce CycloneDX output and interpret license findings with legal. The ModelAudit scanner documentation explains what license checks detect, including license information in headers, LICENSE files and metadata, AGPL network copyleft warnings, non-commercial licenses and large datasets without clear licensing. Your team will still need to build the inventory, write the policy and keep the process running when models change. Outside help is most useful when you need setup to a written scope, private sources connected or a second reviewer on findings. Decide based on staff time and the skills you already have in-house.

Does a passing model scan mean the model is licensed for use?

No. A passing scan means the scanner raised no flags on the license signals it checks, such as license information in headers, LICENSE files and metadata. It does not confirm that your organization holds the rights to use the model for your purpose. Legal review decides that, using the model card, the supplier's terms and the license text that applies to your use case. Missing license information is itself a finding, so an absent LICENSE file should go to legal and not pass by default. Keep the scan report and the legal decision together as evidence, and record who signed off and when. A scan report supports your review files, but it is not a certification.

How DeployOpen scopes and delivers model license and SBOM checks

DeployOpen approaches Model SBOMs and license checks with ModelAudit as a bounded part of your model intake process. We agree the model sources, file formats, license policy and outputs in writing before work starts, then set up the scans in infrastructure you control. The result is a repeatable license and SBOM check that your legal and security teams can review.

How we scope

  • Written scope lists the model artifacts, source registries, and file formats in the check.
  • License policy is agreed up front: which licenses are allowed, reviewed or blocked for your products.
  • Engagements are fixed-scope, and ongoing support is available as a retainer after handover.

How we build

  • Install ModelAudit in a controlled environment and record the scanner version used for each run.
  • Confirm that license checks read headers, LICENSE files and metadata for each artifact.
  • Test flagged cases on known AGPL, non-commercial and unlicensed samples before the policy goes live.

How we hand over

  • A written SBOM in CycloneDX format for each model artifact in the agreed scope.
  • A license findings summary covering AGPL network obligations, non-commercial terms and unclear datasets.
  • A run guide with scan commands, policy file location, and how to record accept or reject decisions.

How we support

  • Review the findings with your legal and security owners and agree which items need fixes.
  • Rerun the checks when a model source, license or artifact changes, using the agreed process.
  • Ongoing support is available as a retainer, with scope agreed in writing.

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.