Quickstart
pip install palisade# Scan a single file
palisade scan model.safetensors
# Scan a directory recursively
palisade scan ./huggingface_cache --recursiveSee It In Action
The "Clean" Scan
$ palisade scan test_models/performance/tiny/model.safetensors
✓ Using built-in default policy
Scanning: test_models/performance/tiny/model.safetensors
Size: 2098.20 MB
Policy: Default security policy
2025-12-08 11:25:47,537 - INFO - Pattern compilation success rate: 100.0% (66/66)
Using streaming validation ...
🔍 Running security validators...
✅ Metadata - Clean (0.28s)
✅ ModelGenealogy - Clean (0.24s)
✅ Provenance - Clean (0.25s)
✅ BufferOverflow - Clean (13.34s)
✅ Tokenizer - Clean (0.00s)
✅ DecompressionBomb - Clean (0.00s)
✅ Model - Clean (16.73s)
✅ SupplyChain - Clean (16.55s)
✅ Behavior - Clean (8.75s)
✅ ToolCall - Clean (14.86s)
✅ Backdoor - Clean (10.40s)
✅ LoRAAdapter - Clean (1.09s)
✅ Safetensors - Clean (16.25s)
📊 Validation complete - No issues found (62.5 MB/s)
2025-12-08 11:26:21,110 - INFO - Applying policy evaluation (environment: default)
2025-12-08 11:26:21,110 - INFO - Policy evaluation complete - Overall effect: allow
╭──────────────────────────── 📄 Palisade Security Scan ─────────────────────────╮
│ model.safetensors │
│ test_models/performance/tiny/model.safetensors │
╰────────────────────────────────────────────────────────────────────────────────╯
✅ CLEAN: model.safetensors
Scan Time 33.58s
Validators 13
Memory Used 35.1 MB
Warnings 0
✅ No security threats detected
╭───────────────────────────── 🛡️ Policy Decision ────────────────────────────────╮
│ ✅ ALLOWED │
│ │
│ Environment: default │
│ Model passed policy checks. │
╰─────────────────────────────────────────────────────────────────────────────────╯
✅ Model passed all security checks
Malicious Scan (Blocked):
Last updated