Redact Credit Card Number in OpenRouter Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches 13-19 digit credit card numbers (optional space/dash separators) that pass the Luhn checksum.

How Igris secures OpenRouter traffic

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

Gateway config for OpenRouter

// Igris gateway → OpenRouter
baseUrl: "https://openrouter.ai/api/v1"
contentGuard:
  detectors: ["credit-card"]
  action: "redact"

Other detectors for OpenRouter

Secure your AI estate with Igris