arXiv:2604.25555cs.CRcs.AI2026-04被引 1

为AI原生企业系统设计可形式化验证的语义网关,提升自主代理安全

From CRUD to Autonomous Agents: Formal Validation and Zero-Trust Security for Semantic Gateways in AI-Native Enterprise Systems

论文配图:From CRUD to Autonomous Agents: Formal Validation and Zero-Trust Security for Semantic Gateways in AI-Native Enterprise Systems
图 1 · 摘自论文原文
  • 用语义网关重构企业API,基于意图与策略动态授权工具
  • 通过灰盒语义模糊测试发现100%隐藏未授权状态转移
  • 适合关注AI代理安全与零信任架构的系统工程师

企业软件工程正从确定性的CRUD/REST架构转向以大语言模型为认知编排器的AI原生系统。这一转变带来关键安全矛盾:概率性LLM削弱了传统验证、访问控制和形式化测试机制。本文提出语义网关的设计、形式化验证与实证评估,其核心为模型上下文协议(MCP)。该网关将企业API重构为语义接口,根据意图与策略动态发现、授权并执行工具。核心贡献在于范式转变:自主代理不应被视作传统软件或简单API消费者,而应作为随机状态转移系统,需通过启用工具图进行抽象、模糊测试与审计。架构包含三层零信任安全模型:预推理语义防火墙、工具级确定性RBAC、离线加密人工审批。采用源自区块链智能合约验证的保启用抽象(EPAs)与灰盒语义模糊测试,应用于企业环境。50万次多轮模糊测试中,方法实现100%发现隐藏未授权状态转移,证明动态形式化验证对安全代理部署是必要手段。意外代码减少84.2%。

原文摘要 · Abstract (English)

Enterprise software engineering is shifting away from deterministic CRUD/REST architectures toward AI-native systems where large language models act as cognitive orchestrators. This transition introduces a critical security tension: probabilistic LLMs weaken classical mechanisms for validation, access control, and formal testing. This paper proposes the design, formal validation, and empirical evaluation of a Semantic Gateway governed by the Model Context Protocol (MCP). The gateway reframes the enterprise API as a semantic surface where tools are dynamically discovered, authorized, and executed based on intent and policy enforcement. The central contribution rests on a paradigm shift: autonomous agents must not be validated as traditional software nor as simple API consumers, but as stochastic state-transition systems whose behavior must be abstracted, fuzzed, and audited through enabled-tool graphs. The architecture introduces a three-layer Zero-Trust security model comprising a pre-inference Semantic Firewall, deterministic Tool-Level RBAC, and out-of-band Cryptographic Human-in-the-Loop approval. Enabledness-Preserving Abstractions (EPAs) and greybox semantic fuzzing--originally developed for blockchain smart contract verification--are adapted to audit agent behavior in enterprise environments. Results demonstrate an 84.2% reduction in incidental code. Across 500,000 multi-turn fuzzing sequences, the methodology achieved a 100% discovery rate of hidden unauthorized state transitions, proving that dynamic formal verification is strictly necessary for secure agentic deployment.

AI安全零信任语义网关自主代理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。