Block GCP Service Account Credential in Hugging Face Traffic

AI security governance · MCP security · LLM gateway

What it does

Matches private_key / private_key_id markers from GCP credential JSON.

How Igris secures Hugging Face traffic

Igris Content Guard inspects Hugging Face requests and responses for GCP Service Account Credential using regex-based detection, then blocks matches.

Gateway config for Hugging Face

// Igris gateway → Hugging Face
baseUrl: "https://api-inference.huggingface.co/v1"
contentGuard:
  detectors: ["gcp-service-account"]
  action: "deny"

Other detectors for Hugging Face

Secure your AI estate with Igris