Policy JSON
What It Does
- Verifies model identity — confirms the model ID matches an approved entry
- Checks version strings — ensures the model version matches what was tested
- Validates hashes (when available) — SHA-256 hash verification for model integrity
- Denies requests if the model version doesn’t match or the hash fails verification
- Protects against model swaps, silent updates, and supply chain attacks
Example
Agent requestsgpt-4o but the provider returns a different version:
Decision object:
Install
Customize
Not all providers expose model hashes. Set
require_hash to false for providers that only expose version strings. Version verification alone still catches silent model updates.Related
- Model Allowlist — Combine allowlisting with provenance verification
- Tool Allowlist — Basic — Control tool access alongside model verification
- EU AI Act — High Risk — Requires provenance tracking for high-risk AI
- TealRegistry Documentation — Full API reference

