Redact US Phone Number in Hugging Face Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches common US phone formats (with or without country code).

How Igris secures Hugging Face traffic

Igris Content Guard inspects Hugging Face requests and responses for US Phone 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-phone"]
  action: "redact"

Other detectors for Hugging Face

Secure your AI estate with Igris