Redact Credit Card Number in Ollama Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches 13-19 digit credit card numbers; runner applies Luhn validation.

How Igris secures Ollama traffic

Igris Content Guard inspects Ollama requests and responses for Credit Card Number using regex-based detection, then redacts matches.

Gateway config for Ollama

// Igris gateway → Ollama
baseUrl: "http://localhost:11434/v1"
contentGuard:
  detectors: ["credit-card"]
  action: "redact"

Other detectors for Ollama

Secure your AI estate with Igris