Individual skill
ml-security
The model and data artifacts: checkpoint formats that execute code on load, provenance for a model you did not train, training-data poisoning and the ingestion controls that bound it, PII that survives into weights, and notebooks that commit their own output. Use when loading a model from disk, a Hub, or object storage, ingesting user content for training or fine-tuning, or writing training, evaluation, or notebook code.
skills/ml-security/SKILL.md
Source commit eaba88102d91df65a9aa6397e8507c315c018f5e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 23
- Repository last updated
- Aug 14, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 8,427 bytesSKILL.mdcore · 8,427 bytesSKILL.mdcore · 8,427 bytesSKILL.mdcore · 8,427 bytesreferences/artifacts-and-provenance.mddoc · 6,384 bytesreferences/verifying-findings.mddoc · 3,592 bytestests/corpus.jsonasset · 3,636 bytes
Read excerpt
# ML Model Security
## Rules (for AI agents)
### ALWAYS
- Prefer a **tensor-only format** — safetensors — for anything you load. It stores
arrays and metadata and has no mechanism for executing code, which is the property
that matters. A `.pt`, `.pkl`, `.bin`, `.ckpt` or `joblib` artifact is a pickle:
loading it runs whatever the author put in it, before you see a single weight.
- Pass `weights_only=True` to `torch.load` **explicitly**, every time. The default has
changed across PyTorch releases, so code that relies on it behaves differently
depending on the pin — and the flag narrows the surface without removing it, so it
is a mitigation rather than a reason to load an untrusted file.
`deserialization-security` owns the pickle boundary itself and the per-language