v1.3.0: Stateless Cryptography, MCP Governance, Air-Gapped Egress, and System Hardening
This major release marks a massive leap forward in enterprise readiness and infrastructure resilience for LLM-Shield-Proxy. Version 1.3.0 introduces revolutionary zero-data stateless cryptography, strict agent identity enforcement, dynamic MCP governance, overhauled deployment topologies, and fortified cryptographic safeguards designed for the most demanding zero-trust environments.
🛡️ Core Security & Identity Enforcement
- Edge-Level Agent Identity Enforcer: Implemented a cryptographic Zero-Trust ingress barrier that intercepts autonomous agent tool-calls. Strictly validates mathematically signed Workload Identity (JWT) and DPoP proofs in <1ms to prevent rogue agent escalation and enforce O(1) identity mapping.
- Stateless Cryptography (Zero-Data Mode): Fully integrated ephemeral TTL vaults and AES-256-GCM envelope encryption, guaranteeing zero long-term data liability. The proxy operates completely statelessly in an ultra-low footprint (
<85 MB RAM) without ever persisting sensitive prompts to disk.
🧠 Advanced Agent Governance
-
Context-Aware Tool Catalog Pruner (MCP Discovery): Built a dynamic network-edge interceptor for JSON-RPC server/discover payloads (Model Context Protocol). Enforces
$O(1)$ Pluggable Tool-Call RBAC to silently prune unauthorized tool schemas before they ever reach the LLM's context window.
🔌 Resiliency & Infrastructure
- Air-Gapped Egress Topologies: Introduced formal architectural patterns for deploying the proxy in Zero-Internet, strict Air-Gapped VPC configurations. The proxy now elegantly routes through internal network gateways (Squid, Envoy) while retaining full SSE hydration.
- Graceful K8s SIGTERM Draining: Resolved race conditions in the Kubernetes 25-second connection draining logic. Active Server-Sent Event (SSE) streams will now completely finish their token transmission during Pod termination before tearing down the sockets.
- Port-Collision & Mocking Stability: Overhauled the Out-Of-The-Box (OOTB) test suite to eliminate port-collisions and enforce deterministic connection binding during Docker standalone test executions.
🚀 Performance & Code Quality
- Production-Grade Exception Handling: Replaced all underlying logic
assertstatements within the proxy lifecycle with strict, deterministicRuntimeErrorand typed Exceptions. This prevents ungraceful process halting during unexpected streaming network edge cases. - Token Bloat Optimization: Re-engineered the cryptographic benchmark suites, replacing lambda heuristics with exact TikToken bytecode encoders to achieve extreme precision in
base64token bloat telemetry. - Elimination of Unused Pointers: Conducted a massive repository-wide static analysis and linting sweep to eliminate all trailing whitespaces, unused mock bindings, and floating variables to guarantee 100% execution integrity.
📚 Documentation & Repository Overhaul
- Comprehensive Architecture Documentation: Wrote and expanded dedicated documentation for
Topologies,Agent Identity Enforcement,MCP Pruner, andBYOM/BYORrules. - Structural Consolidation: Massively reorganized the repository root. Migrated all core documentation to
docs/, relocated local binaries tobin/, and completely eradicated over a dozen legacy throwaway/generation scripts, resulting in a significantly leaner, faster-to-clone repository structure.
Full Changelog: v1.2.14...v1.3.0