Model Signature Verification
NVIDIA signs all models published to the NGC Catalog using the OpenSSF Model Signing (OMS) standard. This lets you independently verify that a model artifact was published by NVIDIA and has not been tampered with—a requirement for organizations that operate under a “Trust, but verify” security model.
NIM uses checksums to verify model files downloaded from NGC. Use the steps on this page to verify the model’s cryptographic signature independently.
Prerequisites
Before you start, complete the following prerequisites:
-
Install and configure the NGC CLI with a valid API key.
-
Sign in to
nvcr.ioas described in Quickstart to pull the PB7 container. -
Install the
model-signingPython package:
Identify the Model Profile
Each NIM container uses a specific model profile identified by a 64-character profile ID. Use list-model-profiles to see all available profiles:
Note the 64-character profile ID of the profile you want to verify. To check which profile is active in a running container, inspect the startup logs:
For more details on profile selection, refer to Model Profiles and Selection.
Find the NGC Version Tag
Each NIM profile downloads its model files from a specific version in the NGC model registry. The mapping is stored in the container’s model manifest at /opt/nim/etc/default/model_manifest.yaml. You need to extract this NGC version tag to download the correct signature in the next step.
Set PROFILE_ID to the ID from your own container output. Inspect that profile’s model source before downloading the signature.
Find the ngc:// URI for the model you want to verify. The NGC model version has the form ngc://<org>/<team>/<model>:<tag>. Some manifests append ?file=... to reference an individual file. Use the model repository and version from the URI, leaving out the scheme and file suffix.
Download the Model
Download the model files from NGC using the NGC_MODEL_PATH and NGC_TAG variables set in the previous step:
The model is downloaded to ./model/${MODEL_NAME}_v${NGC_TAG}/.
Download the Signature File
Create a directory for the signature and use the NGC_MODEL_PATH and NGC_TAG from the previous step to download the detached signature:
The signature is downloaded to ./signatures/${MODEL_NAME}_v${NGC_TAG}/result.sigstore.
Download the NVIDIA Public Certificate
Download the NVIDIA public certificate that is used to validate model signatures:
Verify the Signature
Run model_signing verify pointing to the model directory downloaded in the previous step:
A successful verification prints a confirmation message. Any mismatch or tampering causes the command to exit with a non-zero status and an error message.
Next Steps
For more information about model signing and the tools used in this workflow, refer to the following resources: