Block PEM-encoded Private Key in Hugging Face Traffic
AI security governance · MCP security · LLM gateway
What it does
Matches PEM headers for RSA/EC/OpenSSH/private keys.
How Igris secures Hugging Face traffic
Igris Content Guard inspects Hugging Face requests and responses for PEM-encoded Private Key using regex-based detection, then blocks matches.
Gateway config for Hugging Face
// Igris gateway → Hugging Face
baseUrl: "https://api-inference.huggingface.co/v1"
contentGuard:
detectors: ["private-key-pem"]
action: "deny"Other detectors for Hugging Face
Secure your AI estate with Igris