LLM-Shield-Proxy Feature Catalog
This catalog outlines the available features and their stability tiers.
Supported: CI exercises the feature end-to-end against target infrastructure.Beta: Tests cover the code, but depend heavily on operator configuration or mock external systems.Experimental: Target infrastructure is not fully exercised, or implements a partial protocol.Research: Exploratory, no support commitment, may be removed without warning.
Section A: Data Protection & PII Redaction
SupportedTier 1 Pre-Compiled Regex: High-performance DFA regex scanning viagoogle-re2.SupportedTier 2 Shannon Entropy Scanner: Detects unstructured secrets (e.g., base64 keys) based on entropy density.SupportedTier 3 Quantized ONNX BERT-NER: Local NLP named-entity recognition. CI runs a checksum-pinned quantized DistilBERT model through realonnxruntimeinference. The current engine supplies onlyinput_idsandattention_mask; a model that also requirestoken_type_idsproduces no name spans and logs a warning. It also labels every non-Oprediction asPERSONinstead of readingid2label.SupportedFormat-Preserving Synthetic Masking: Generates realistic synthetic replacements for detected PII.BetaIn-Band Stateless Cryptographic Masking: AES-256-GCM encryption of detected PII, eliminating stateful mapping databases.SupportedRedis TTL Vault: Stores original-to-masked token mappings in Redis for stateful rehydration.Beta4-Mode Per-Request Masking: Override masking modes (SYNTHETIC,SCRUB, etc.) per-request via HTTP headers.BetaBring-Your-Own-Regex (BYOR): Add custom detection rules via a YAML configuration file.SupportedJSON Recursion Bomb Protection: Blocks overly nested JSON payloads to prevent DoS attacks.
Section B: Streaming and Traffic Engineering
SupportedSSE Sliding-Window Buffer: Safely reconstructs PII split across streaming Server-Sent Event (SSE) chunks.SupportedBounded Streaming JSON Lexer: Incrementally parses JSON without unbounded memory allocation.ExperimentalAnthropic Adapter: Translates OpenAI-formatted requests into Anthropic API calls.SupportedHTTP/2 Connection Pooling: Multiplexes upstream connections for reduced latency.
Section C: Traffic Controls and Resilience
BetaProvider Failover Routing: Automatically routes traffic to secondary provider URLs on failure.BetaAgent Loop Circuit Breaker: Detects and breaks infinite AI agent loops (returns HTTP 429).BetaToken Bucket Rate Limiting: Redis-backed request rate limiting per virtual key.SupportedGraceful Pod Draining: Completes in-flight SSE streams before shutting down onSIGTERM.
Section D: Audit and Evidence
SupportedHash-Chained Audit Logging: Emits tamper-evident, SHA-256 chained audit logs.SupportedEd25519 Audit Signatures: Cryptographically signs audit events.BetaAsynchronous OpenTelemetry (OTel): Exports traces via W3C standard OTLP.SupportedOSCAL 1.2 Export: Generates NIST-compatible compliance assessment artifacts.SupportedCompliance-Pack CLI: Verifies hash chains and signatures offline.
Section E: Infrastructure and Service Mesh
ExperimentalgRPC ext_proc Integration: Native Envoy proxy integration over Unix Domain Sockets.ExperimentalVault Secrets and mTLS: Retrieves configuration secrets and handles Mutual TLS via HashiCorp Vault.ExperimentalKubernetes Mutating Webhook: Automatically injects the proxy container as a sidecar into Kubernetes pods.BetaRole-Based Policy-as-Code Hot-Reloading: Reloads RBAC and tool policies from YAML without restarting the proxy.SupportedSSRF & DNS-Rebinding Egress Firewall: Blocks malicious internal tool calls by resolving and verifying all DNS records against a CIDR denylist.