Redact UK National Insurance Number in Hugging Face Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches a UK NIN excluding common forbidden prefixes.

How Igris secures Hugging Face traffic

Igris Content Guard inspects Hugging Face requests and responses for UK National Insurance 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: ["uk-nin"]
  action: "redact"

Other detectors for Hugging Face

Secure your AI estate with Igris