Block PEM-encoded Private Key in Ollama Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches PEM headers for RSA/EC/OpenSSH/private keys.

How Igris secures Ollama traffic

Igris Content Guard inspects Ollama requests and responses for PEM-encoded Private Key using regex-based detection, then blocks matches.

Gateway config for Ollama

// Igris gateway → Ollama
baseUrl: "http://localhost:11434/v1"
contentGuard:
  detectors: ["private-key-pem"]
  action: "deny"

Other detectors for Ollama

Secure your AI estate with Igris