vulnforge_audit_model_supply_chain
Audits AI model supply chains, Safetensors tensor headers, PyTorch pickle opcodes (CWE-502), and model hub provenance configs across 8 critical vectors (CWE-502, CWE-345, CWE-20, CWE-494, CWE-295, CWE-829, CWE-200, CWE-778) with automated…
Instructions
Audits AI model supply chains, Safetensors tensor headers, PyTorch pickle opcodes (CWE-502), and model hub provenance configs across 8 critical vectors (CWE-502, CWE-345, CWE-20, CWE-494, CWE-295, CWE-829, CWE-200, CWE-778) with automated patch synthesis and canary sandbox verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Model artifact format override (auto-detected if omitted) | |
| content | No | Raw Safetensors header JSON, PyTorch model loader script, or Hugging Face model config | |
| filePath | No | File path or model artifact name (e.g. model.safetensors, config.json, loader.py) (optional) | |
| commitSha | No | Pinned git commit SHA for immutable revision verification (optional) | |
| modelRepoId | No | Hugging Face or model hub repository identifier (e.g. meta-llama/Llama-3-8B) (optional) | |
| disallowRemoteCode | No | Flag and disallow trust_remote_code=True (default: true) | |
| maxHeaderSizeBytes | No | Maximum permitted Safetensors header size in bytes (default: 104857600) | |
| enforceSafetensorsOnly | No | Disallow pickle formats and mandate Safetensors (default: true) |