arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25555cs.CRcs.AI
收藏

从CRUD到自主代理:面向AI原生企业系统的语义网关的正式验证与零信任安全

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

Universidad Austral(乌尔苏拉大学)

Ignacio Peyrano

AI总结:

本文提出了一种基于模型上下文协议的语义网关,通过正式验证和实证评估,解决了AI原生系统中自主代理的安全验证问题,采用零信任安全模型和语义模糊化技术,实现了对动态状态转换系统的安全审计。

摘要:

企业软件工程正从确定性的CRUD/REST架构转向AI原生系统,其中大语言模型作为认知编排器。这种转变引入了关键的安全张力:概率性LLM削弱了传统的验证、访问控制和正式测试机制。本文提出了语义网关的设计、正式验证和实证评估,该网关将企业API重新定义为语义表面,动态发现、授权和执行工具基于意图和策略执行。核心贡献在于范式转变:自主代理不应作为传统软件或简单API消费者进行验证,而应作为随机状态转换系统,其行为必须通过启用工具图进行抽象、模糊和审计。架构引入了三层零信任安全模型,包括预推理语义防火墙、确定性工具级RBAC和非带加密的人在回路批准。启用性保持抽象(EPAs)和灰色盒语义模糊化——最初为区块链智能合约验证开发——被适应于审计企业环境中的代理行为。结果表明,无意代码减少了84.2%。在500,000个多轮模糊序列中,该方法实现了100%发现隐藏的未经授权的状态转换,证明动态正式验证对于安全代理部署是严格必要的。

英文摘要:

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分析而来,可能存在错误,请以论文正文为准。

↑