Skip to content

Demonstrating ML model supply chain security using the OpenSSF Model Signing Standard and Sigstore.

License

Notifications You must be signed in to change notification settings

cloud-talks/model-signing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Securing Your ML Model Supply Chain with OpenSSF Model Signing and Sigstore

As machine learning models are increasingly reused, shared, and deployed across environments, ensuring their authenticity and integrity has become a critical security challenge. Attacks such as model backdooring, malicious payloads, and tampered artifacts are no longer theoretical.

This repository contains hands-on examples showcasing how to secure the ML model supply chain using the OpenSSF Model Signing Standard and Sigstore.

Let's learn how to sign models, verify them prior to loading, and embed verification into an end-to-end ML workflow.

Prerequisites

Tool Min Version Purpose
Kubernetes 1.29+ Cluster to deploy on
kubectl 1.29+ Interact with cluster
OpenSSL 1.1.1+ Generate TLS certificates
model_signing 1.0.1+ Sign models (from model-transparency-cli)

The Problem

Why Model Signing?

ML models are shared and deployed at massive scale, but most organizations have no way to verify:

  • Is this model authentic?
  • Has it been tampered with?
  • Who created/approved it?

Real-World Attacks

Attack Description
Model Backdoors Malicious behavior triggered by specific inputs
Weight Poisoning Subtle modifications that degrade performance or add bias
Deserialization Attacks Pickle files executing arbitrary code on load
Model Swapping Replacing legitimate models with malicious ones

Model signing solves this by cryptographically proving:

  1. Integrity - The model hasn't been modified
  2. Authenticity - Who signed/approved it
  3. Non-repudiation - Signing is recorded in a public log

About

Demonstrating ML model supply chain security using the OpenSSF Model Signing Standard and Sigstore.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published