Security & SIEM

4-Tier Security, DLP & SIEM Export

Ordered inline defense-in-depth across both /llm/* and /mcp: deterministic rules execute in sub-millisecond time ahead of bounded evasion decoders, a two-stage AI Judge, tamper-evident audit trails, and real-time SIEM streaming.

The 4-Tier Inline Security Model

Every LLM prompt, completion, MCP tool call, resource read, and prompt fetch passes through four ordered enforcement tiers under Security. Policy changes require recent step-up authentication and propagate to gateways within roughly a minute.

Tier 1 — Identity & Protocol Gate

  • Caller verification: Validates corporate SSO JWTs (Okta, Microsoft Entra ID, generic OIDC), revocable personal gateway keys (mcpr_...), standby/personal MCP tokens, or service account keys before any payload is evaluated.
  • RBAC & active grant enforcement: Verifies active, non-expired catalog grants on every MCP capability (tools/*, resources/*, prompts/*).
  • MCP HTTP & JSON-RPC hardening: Enforces valid JSON-RPC 2.0 framing, rejects duplicate or Unicode-escaped JSON keys (400, -32600), validates Origin headers (403 untrusted_origin), and enforces supported MCP-Protocol-Version headers (2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26; 400, -32022).

Tier 2 — Deterministic DLP & MCP Tool Guardrails (Sub-Millisecond)

Deterministic rules execute inline in under a millisecond with independent per-gateway controls (LLM Gateway vs. MCP Gateway) set to Off, Monitor, Mask (replaces spans in-flight with [REDACTED:<id>]), or Block.

Built-In & Custom DLP (40+ Secret, PCI, PII & HIPAA Detectors)

Category Detectors Covered
Secrets & Credentials 40+ published credential formats across private keys, API tokens, cloud provider access keys & storage/vault tokens, passwords, webhooks, and high-entropy credential assignments.
Payment & Financial (PCI) Luhn-checked payment cards (pii.card), unchecked card shapes, CVV/CVC, US ABA routing numbers, and IBANs.
Personal Details (PII) Context-gated US SSN, US EIN, driver’s license, passport, street address, public IPv4, UK NINO, Canadian SIN, DOB, email, phone, and bulk dumps (5+ records, pii.bulk_records).
Health Data (HIPAA) US NPI, DEA numbers, Medicare MBI, and medical record numbers (phi.mrn).
Secret Files & Markings .env file contents, credential files, confidential markings, and sensitive system file paths.
  • Custom rules, scoped overrides & allowlist: Define up to 50 custom DLP rules (exact keywords, prefix + digit ID formats, and ReDoS-safe regex), up to 50 top-down scoped overrides by user group, model provider, MCP server, and traffic direction (all, outbound, inbound), plus up to 100 false-positive allowlist entries—all verifiable before saving in the interactive Test DLP rules simulator.

6-Class MCP Argument Guardrails, Pinning & Poisoning Quarantine

Under Security → Tool Guardrails, argumentGuardrailsMode (default block) inspects outbound tools/call arguments and resource/prompt inputs across six deterministic classes:

Detector ID Threats Caught
tool.command_injection Shell metacharacter chaining, backtick/$(...) subshells, pipe-to-shell, and SSTI expressions.
tool.sql_injection SQL tautologies, UNION SELECT, stacked DDL/writes, time-based blind SQLi, and NoSQL $where/$regex operators.
tool.path_traversal Multi-round canonicalized ../ traversal, null bytes, UNC/device/system and private key paths.
tool.ssrf_destination Loopback, private LAN, cloud metadata endpoints (169.254.169.254), IPv6/decimal/hex IP tricks, and unsafe schemes.
tool.dangerous_options Dangerous CLI flags, response files (@path), preloads, hooks, and untrusted interpreter options.
tool.unsafe_arguments Prototype pollution (__proto__, constructor), policy/consent/role bypass keys, and JSON-pointer confusion.
  • Cryptographic tool pinning & poisoning quarantine: Tools are pinned by SHA-256 hash across description, inputSchema, annotations, and outputSchema; drifted or uncatalogued tools are held back until re-synced. High-risk poisoned metadata (hidden Unicode tags, override instructions, tool shadowing) is quarantined automatically from tools/list and blocked on tools/call.
  • Shell, exfiltration domains & Lethal Trifecta: Enforce Off / Monitor / Block rules for destructive (rm -rf, git reset --hard) and privileged (sudo, chmod) shell commands, block 15 built-in plus up to 100 custom exfiltration/tunnel domains (and optionally raw public IPv4 URLs), and monitor Lethal Trifecta patterns combining sensitive DLP data with external web-fetch tool results.

Tier 3 — Two-Stage AI Judge, Evasion Decoders & Contextual Guardrails

  • Bounded multi-layer evasion decoders: Before DLP and injection checks run, payloads pass through bounded decoders for NFKC/zero-width/Unicode Tags (U+E0000–U+E01EF), homoglyph folding, single-spaced character collapse, URL percent-encoding, HTML entities, JSON \uXXXX escapes, variation-selector payloads, Base64/Base32 blobs, hex payloads, leetspeak, and cross-turn fragment reassembly.
  • Wording rules & two-stage AI Judge: Combines fast override/jailbreak wording detection (injection.wording) with semantic inspection (injection.judged) across prompts, secondary system messages, tool schemas, and untrusted MCP outputs. A fast primary Decision model clears routine traffic quickly and escalates to a deeper Evaluation LLM when confidence is below threshold (default 0.75).
  • Configurable thresholds & 3.5s fail-open wait: Admins set flag thresholds (0.10–0.95, default 0.50), block thresholds (0.20–0.99, default 0.80), and the inline wait timeout (500–30,000 ms, default 3,500 ms / 3.5s), failing open cleanly if the judge times out so employee workflows never hang.
  • Contextual PII & Policy Guardrails: Five ready-to-toggle semantic DLP topics (topic.hr_payroll, topic.ma_financials, topic.legal_disputes, topic.customer_data, topic.proprietary_ip; up to 20 topics, flagging at 0.50 and blocking at 0.75), plus optional cloud-native Contextual PII & Policy Guardrails (Mask in-flight, Block HTTP 451, or Monitor only, with 500–8,000 ms fail-open timeout).

Tier 4 — Hash-Chained Audit, Alerts & SIEM Export

  • Tamper-evident Audit Log: Hash-chained record of administrative changes, access approvals/revocations, role assignments, emergency/break-glass actions, and payload inspections, with secret-looking fields blanked in before/after diffs.
  • Real-time Alerts (Security → Alerts): Post notifications to Slack, Microsoft Teams, or custom HTTPS JSON webhooks across four categories: Security events (blocks, break-glass, emergency access), Access waiting, Usage (caps & heavy token use), and Changes and faults (tools_held, log_export_failing, admin role changes). Alerts fire only on blocks/state events—never on Monitor or Mask—and never include raw prompt or tool text.
  • Built-in SIEM Streaming (Setup → Log export): Streams mcp_call, model_request, and audit events every 15 seconds to Splunk HEC (Authorization: Splunk <token>, source: mcp-registry, sourcetype: mcp_registry:mcp_call / mcp_registry:model_request / mcp_registry:audit) or JSON Lines (application/x-ndjson, Authorization: Bearer <token>).
SIEM payload export is off by default: Unless an admin explicitly ticks Also send what was said under Setup → Log export, SIEM events carry zero content fields—only user/server/provider identity, outcome, latency, token counts, conversation hash, and scan rule labels/counts. When enabled, stored redactions still apply and content parts are capped at 64,000 characters.

Configurable Payload Capture & Split-Role Envelope Encryption

Portal payload capture is configurable independently per MCP server and per model provider. When enabled:

  1. Storage redaction: Secret values, payment cards, SSNs, and bank account numbers are scrubbed into [REDACTED:…] markers before persistence.
  2. Hardware-backed envelope encryption: Payloads, provider API keys, and upstream server credentials are sealed using split-role hardware-backed envelope encryption bound to strict context tags (such as upstream_origin), so database snapshots alone cannot decrypt secrets or transcripts.
  3. Audited reads: Opening a captured payload in Activity → Model log or Activity → MCP log writes an immutable entry to the Audit Log naming the reader.

Outage Continuity Caches

Gateways stay resilient during transient control-plane or identity-provider interruptions:

  • 90s+ local policy cache: Every gateway maintains a local snapshot of catalog servers, grants, gateway key hashes, settings, and sealed model providers (refreshed every 30s, default stale tolerance 90 seconds, configurable up to 7 days) so active traffic continues uninterrupted if the database is temporarily unreachable.
  • 10m+ identity key cache: Identity provider public signing keys (JWKS) are cached locally for 10 minutes by default (configurable from 1 minute to 24 hours) so transient IdP downtime does not reject valid tokens, while any newly rotated unseen key ID triggers an immediate fetch.