# A model we want to run ships with a model.sig file and says it's signed with OpenSSF Model Signing. If model_signing verify comes back clean, what has actually been proven about the weights and config files, and what still hasn't?

**Short answer:** Two things: who signed, and that the files are the ones they signed. OpenSSF Model Signing (OMS, spec version 1.0) wraps a signed manifest of every file in the model, with a hash per file, in a Sigstore bundle (a DSSE envelope carrying an in-toto Statement with predicate type https://model_signing/signature/v1.0). A clean verify means the signature checks out against the identity you named — for Sigstore keyless signing, the OIDC identity and provider you named, with the signing event in Sigstore's public Rekor transparency log; for key signing, the public key you supplied — and that every file in the manifest is present with the same hash. Unless you add --ignore-unsigned-files, it also means no extra files sit in the model folder beyond .git, .gitignore, .gitattributes, .github, the signature file and any ignore paths recorded in the bundle. It doesn't tell you the model is safe to load, which data or training run produced it, whether the identity you typed is the right publisher, or which model a hosted API is actually serving. The reference tool is the model-signing package on PyPI (version 1.1.1, October 10, 2025).

## Checklist
1. Verify against an identity you chose in advance (a release workflow path, service account or key fingerprint you got from the publisher's own channel), not the one printed inside the bundle you were handed.
2. For Sigstore-signed models, pass both --identity and --identity-provider exactly as the publisher signed (for example https://token.actions.githubusercontent.com for GitHub Actions); a different identity is a different signer.
3. Don't add --ignore-unsigned-files unless you know why: without it, any file in the model folder that isn't in the signed manifest stops verification.
4. Read serialization.ignore_paths in the bundle: files under those exact paths were left out of the signature on purpose and aren't checked.
5. Use --require-timestamp when your policy needs proof of signing time for key or certificate signatures; without it, a signature with no timestamp is still accepted.
6. Record the model's root digest (model_signing digest prints it) with each run that uses the model, so you can show later which exact files ran.
7. Treat a valid signature as integrity only: still scan the files, check the license and test the model before you rely on it.

## What does model_signing verify check?
- The OMS spec defines verification in order. First the bundle is parsed and validated as a Sigstore bundle. Then the DSSE signature is checked with the method's verification material: for key signing, against the public key you supply; for certificate signing, the certificate chain is validated against a trusted root and the signature against the leaf certificate; for Sigstore signing, per the Sigstore bundle rules, including the transparency log entry (a Sigstore bundle must carry at least one Rekor entry).
- Next the signed payload is decoded and must be an in-toto Statement v1 with predicate type https://model_signing/signature/v1.0. Its predicate lists one resource per regular file — relative path, hex digest and hash algorithm — sorted by name, plus serialization settings: method (files, or shards for byte ranges of large files), hash type, whether symlinks were followed, and any ignore paths.
- Finally the verifier walks the model folder with the same exclusions and symlink policy, re-hashes each file (or shard), and checks that every manifest entry exists with a matching digest. It also checks that no file in the folder is missing from the manifest, unless --ignore-unsigned-files is set. Any mismatch stops verification.
- Paths are compared byte-for-byte and are case-sensitive, directories aren't listed, and the bundle itself is excluded from its own manifest. The statement's subject holds one root digest for the whole model: SHA-256 over the concatenated per-file digests in name order, always SHA-256 even when files were hashed with another algorithm. The subject's name field is informational only.

## Whose identity does an OpenSSF model signature prove?
- With Sigstore keyless signing, the signer gets a short-lived certificate bound to an OpenID Connect identity, and the signing event goes into Sigstore's append-only transparency log. The model-transparency README lists the providers: https://accounts.google.com, https://github.com/login/oauth, https://token.actions.githubusercontent.com for GitHub Actions and https://login.microsoftonline.com, and workload identities such as a GitHub Actions workflow path with its ref, a GitLab CI file path, a Google Cloud service account or a Buildkite pipeline.
- The identity and provider used at signing must be reused at verification. So the check proves that this identity signed these files, and nothing about whether that identity is the publisher you meant. A model signed by an attacker's own GitHub account verifies cleanly against the attacker's identity. Get the expected identity from the publisher's own documentation or release page, not from the bundle.
- Sigstore's log helps publishers too: the README says signers should monitor the log for their identity to spot signing events they didn't make, and Sigstore's April 4, 2025 announcement says recording signatures there is meant to stop a rogue insider from releasing models as if the company had signed them. Key-based signatures don't use the log at all, so there's no public record of when the key was used.
- For key and certificate signing, the reference tool supports RFC 3161 timestamps (--tsa-url when signing, --require-timestamp when verifying). Without --require-timestamp, a signature with no timestamp still verifies; an invalid or untrusted timestamp is always rejected. Private Sigstore setups are verified with --trust-config.

## What doesn't an OpenSSF model signature prove?
- Safety. The spec covers file hashes and the signature, nothing about what the files contain. A signed model can still hold unsafe serialized code, a backdoor or a license you can't accept; scan and test it as you would an unsigned one.
- Where the model came from. The signature binds files to a signer, not to a dataset or training run. Sigstore's announcement calls trusted provenance for ML workflows a future step, and the README says predicates may carry model card information in the future.
- Files outside the manifest. The .git, .gitignore, .gitattributes and .github entries at the top of the folder, and any ignore paths the signer chose (exact relative paths, recorded in serialization.ignore_paths), are never checked. With --ignore-unsigned-files, extra files you didn't expect are allowed through too.
- What a hosted service runs. Verifying the files on your disk says nothing about the model behind someone's API; a provider would have to show you that separately.
- Older formats. Version 0.2.0 of the reference tool used a different predicate type (https://model_signing/Digests/v0.1) that the spec marks deprecated; verifiers may still accept it for compatibility. Following symlinks (allow_symlinks true) is expected to be removed in a later spec version.

## How do you record which signed model an AI run used?
- To show later which model produced an output, keep the model's root digest with the run record. model_signing digest prints it using the same ignore rules as signing, and it matches the subject digest inside a valid bundle, so anyone holding the same files can recompute it.
- Next to it, note the signer identity and provider (or key fingerprint) you verified against, the Rekor log entry for Sigstore signatures, the verify options you used (especially --ignore-unsigned-files or extra ignore paths) and the tool version. That turns 'we used the signed release' into something a reviewer can check.
- If the model is re-downloaded, converted or quantized, the digest changes. Re-verify or record the new digest; a conversion you made yourself isn't covered by the publisher's signature.

## Ask Rightshold (free, no key)
Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code (one-click setup: https://www.rightshold.com/start?ref=seo), then ask: "We verified the OpenSSF model signature on the model our support agent runs before deploying it. Record a receipt with the model's root digest, the signer identity and provider we verified against, the Rekor log index, the verify options and tool version, and the SHA-256 of the model.sig bundle."

```json
{
  "tool": "record_action",
  "arguments": {
    "action_type": "model.signature_verified",
    "outcome": "success",
    "occurred_at": "2026-11-21T22:00:00Z",
    "client_event_id": "support-agent:model:release-2026-11-21",
    "summary": "model_signing verify (model-signing 1.1.1, sigstore method) clean for our support model; root digest sha256 <root digest from model_signing digest>; identity <publisher release workflow path@refs/tags/...>; provider https://token.actions.githubusercontent.com; Rekor log index <index>; options: no --ignore-unsigned-files, no extra ignore paths",
    "action_sha256": "<sha256 of the model.sig bundle file>"
  }
}
```
- Needs an API key. Send the digests and a summary; keep the model files and the bundle in your own storage.
- Use one client_event_id per verified release, so a retry doesn't create a second entry.
- Anyone you share the receipt with can check it against the bundle and the model's root digest without an account.
- A receipt records what you submitted and when. Rightshold doesn't verify model signatures, scan model files or confirm which model a run used.

_Rightshold isn't affiliated with the OpenSSF, Sigstore or the model-transparency project, and doesn't sign or verify models. Details are from the OMS specification version 1.0, the sigstore/model-transparency README, the model-signing release history on PyPI and Sigstore's April 4, 2025 announcement, all read November 21, 2026. Command flags can change between versions; check model_signing --help for the version you run._

## Sources
- [OpenSSF: OpenSSF Model Signing (OMS) Specification, version 1.0](https://github.com/ossf/model-signing-spec/blob/main/spec/v1.0.md)
- [sigstore/model-transparency README (CLI, identities, timestamps, transparency log)](https://github.com/sigstore/model-transparency/blob/main/README.md)
- [PyPI: model-signing release history](https://pypi.org/project/model-signing/#history)
- [Sigstore blog: Practical Model Signing with Sigstore (April 4, 2025)](https://blog.sigstore.dev/model-transparency-v1.0/)

## Related
- [What does a valid C2PA Content Credential prove about an image or video?](https://www.rightshold.com/answers/what-does-a-valid-c2pa-content-credential-prove-about-an-image-or-video)
- [Proving which model version, prompt and settings produced an AI output](https://www.rightshold.com/answers/how-to-prove-which-model-version-prompt-and-settings-produced-an-ai-output)
- [Check whether an API provider is serving a degraded or quantized model](https://www.rightshold.com/answers/how-to-check-whether-an-api-provider-is-serving-a-degraded-or-quantized-model)
- [Verifying an MCP server package's provenance before you run it](https://www.rightshold.com/answers/how-to-verify-npm-provenance-for-an-mcp-server-package)

_Not legal advice. Updated 2026-11-21. JSON: https://www.rightshold.com/answers/what-does-a-verified-openssf-model-signature-prove-about-an-ai-model-you-downloaded.json_