Keras safe_mode and Lambda layers: why model files can run code
Keras load_model has a safe_mode flag that blocks unsafe Lambda deserialization in v3 files. Here is what it covers and why you should leave it on.
Deep dives, practical guides, and incident analyses from engineers who build Safeguard. No fluff, no vendor FUD — just what you need to ship secure software.
Keras load_model has a safe_mode flag that blocks unsafe Lambda deserialization in v3 files. Here is what it covers and why you should leave it on.
Jailbreaking is a form of prompt injection aimed at removing safety rules. A short guide to choosing the right term in tickets, reports and audits.
The NIST AI RMF is voluntary and not a certification, but contracts, customers or other rules may still point to it. How closely should you follow it?
A second model that screens inputs and outputs is useful, but it can be injected too. Why guardrail models are one layer and what to pair them with.
Use pickletools to list the imports and opcodes in a pickle model file without executing it, and learn which opcodes matter when you review one.
Should a content filter check what users send, what the model returns, or both? A decision guide for AI products with real users, with the trade-offs.
How to use an LLM in a threat hunt without losing rigor: write the hypothesis first, let the model draft queries, and verify every result against raw data.
Human in the loop only works if the approver sees the exact action. What to show, which actions to gate, and how to avoid rubber stamp fatigue.
The Hub scans uploads with ClamAV, a pickle import check and partner scanners. A clean result lowers risk but is not proof a model is safe to load.
Weekly insights on software supply chain security, delivered to your inbox.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.