Redact Credit Card Number in Hugging Face 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 Hugging Face traffic

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

Gateway config for Hugging Face

// Igris gateway → Hugging Face
baseUrl: "https://api-inference.huggingface.co/v1"
contentGuard:
  detectors: ["credit-card"]
  action: "redact"

Other detectors for Hugging Face

Secure your AI estate with Igris