Semantic gateway cuts incidental code by 84.2% and finds all hidden unauthorized transitions
The proposed Semantic Gateway with Zero-Trust model reduces incidental code by 84.2% and discovers 100% of hidden unauthorized state transitions in fuzz testing
AI/ML arXiv 28 Apr 2026 Method Prototype evidence
Published as “From CRUD to Autonomous Agents: Formal Validation and Zero-Trust Security for Semantic Gateways in AI-Native Enterprise Systems”
Why it matters
The approach dramatically reduces incidental code (84.2% less) and eliminates BOLA-type breaches, suggesting a practical path for securing AI-native enterprise services.
Summary
The paper shows that a semantic fuzzer discovers a BOLA vulnerability in just 52 of 500 fuzzing iterations, and after fixing the OPA policy the same fuzzer finds zero violations in 500 iterations. Their zero-trust gateway also blocks 99.4% of pre-inference prompt-injection attempts (ε1 = 0.006). The evidence comes from a fully reproducible open-source PoC with 200 tools and 500 k generated interaction sequences, compared against a traditional REST baseline. The results are strong but note a residual 0.6% of malicious inputs slip past the firewall.
What they found 2
- Semantic firewall blocks 99.4% of pre-inference prompt injections
“Layer 1 (Semantic Firewall) successfully purged 99.4% of all pre-inference prompt injections and tainted context attempts, yielding ε1 = 0.006.”
- Semantic fuzzer discovers the AcceptSharingRequest BOLA vulnerability in 52 iterations
“The semantic fuzzer discovers the AcceptSharingRequest bola vulnerability in only 52 iterations out of a possible 500, confirming that the guided mutation strategy (80% valid-tool preference) is highly efficient at reaching dangerous boundary states.”
Caveats 3
- Layer 1 (Semantic Firewall) still allows 0.6% of malicious inputs to pass (ε1 = 0.006 implies a 0.6% failure rate)
- The discussion notes "as evidenced by the 0.6% failure rate at the initial semantic firewall level"
- The primary threat concerns Construct Validity, specifically regarding the phenomenon of state space explosion.
What’s new here 4
- Adapts Enabledness-Preserving Abstractions (EPAs) from smart-contract verification to AI agent toolsets
- Introduces a pre-inference semantic firewall that tags tainted context and blocks prompt injections
- Implements tool-level RBAC using Open Policy Agent with BOLA ownership checks
- Adds a cryptographic human-in-the-loop approval step for critical tool execution