Redact US Social Security Number in Hugging Face Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches 9-digit US SSNs with optional dashes (123-45-6789 or 123456789).

How Igris secures Hugging Face traffic

Igris Content Guard inspects Hugging Face requests and responses for US Social Security 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: ["us-ssn"]
  action: "redact"

Other detectors for Hugging Face

Secure your AI estate with Igris