Skip to content
Back to skills

Ml Supply Chain Review

ASecurity

Review the provenance and integrity of models, datasets, and ML artifacts pulled from hubs/registries — unsafe deserialization (pickle, PyTorch/Keras/joblib), untrusted model sources, model/dataset tampering, and signing. Use when an app loads third-party model weights or datasets, or before promoting a model.

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentsrustgosecurity

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add jassics/awesome-claude-security --skill ml-supply-chain-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ml Supply Chain Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ml Supply Chain Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jassics-ml-supply-chain-review/badge)](https://www.skillsdirectory.com/skills/jassics-ml-supply-chain-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ml-supply-chain-review
description: >-
  Review the provenance and integrity of models, datasets, and ML artifacts pulled
  from hubs/registries — unsafe deserialization (pickle, PyTorch/Keras/joblib),
  untrusted model sources, model/dataset tampering, and signing. Use when an app
  loads third-party model weights or datasets, or before promoting a model.
---

# Goal

Assurance that every model and dataset entering the system is from a trusted source,
hasn't been tampered with, and can't execute code or carry a backdoor when loaded.
This is the **supply-chain** layer for ML artifacts (parallel to
`supply-chain-security` for software).

# What to look for

- **Unsafe deserialization / code execution on load** — `pickle`, PyTorch `.pt/.bin`
  (pickle under the hood), `joblib`, Keras `.h5`/Lambda layers, and custom loaders run
  arbitrary code. Prefer **safetensors** or other non-executable formats; scan model
  files (e.g., picklescan-style checks) before loading.
- **Untrusted sources** — models/datasets from public hubs without verified
  publisher; no pinning to a specific revision/commit hash; "latest" tag.
- **Tampering / backdoors** — no integrity hash or signature on weights; no
  provenance linking weights → training run → data. Watch for trojaned/backdoored
  models (poisoned to misbehave on a trigger).
- **Dataset integrity** — training/eval data from unverified sources; no checksum;
  poisoning surface (see `ml-pipeline-security-review`).
- **Dependency risk** — ML stack pulls large transitive trees; defer software-package
  trust to `supply-chain-security`.

# Steps

1. Inventory every external model/dataset artifact and its source, format, and
   load path.
2. Flag executable serialization formats and untrusted/unpinned sources; recommend
   safe formats, pinning to immutable revisions, and pre-load scanning.
3. Establish integrity: checksums/signatures on artifacts, provenance to the training
   run, and a vetting gate before a model is registered/promoted.
4. Recommend a trusted internal model registry with scanning + signing over direct
   hub pulls in production.

# Output

A findings list (artifact · source · format · risk · fix) plus recommended controls:
safe-format policy, pre-load scanning, pinning, signing, and a promotion gate. Pair
with `supply-chain-security` (software deps), `llm-security` (model behavior).

# Notes

Loading a pickle-based model from an untrusted source is **remote code execution**,
full stop — it's the most common and most underrated ML supply-chain risk. safetensors
exists precisely to remove this; prefer it. A signed, hashed model from an unknown
training run still isn't trustworthy — provenance must reach back to the data and run.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.