arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.06365cs.CRcs.AI
收藏

ESAA-安全:一种事件源、可验证的架构,用于代理辅助的AI生成代码安全审计

ESAA-Security: An Event-Sourced, Verifiable Architecture for Agent-Assisted Security Audits of AI-Generated Code

Elzo Brito dos Santos Filho

AI总结:

ESAA-Security通过事件源和可验证架构,提供可追溯、可重复的AI生成代码安全审计方法,强调结构化意图验证与风险分类。

摘要:

AI辅助的软件生成提高了开发速度,但同时也放大了一个持续存在的工程问题:功能正确的系统可能仍然在结构上不安全。在实践中,基于提示的大型语言模型安全审查往往面临覆盖不均、可重复性差、发现不充分以及缺乏不可变审计记录的问题。ESAA架构通过通过只追加事件、受限输出和基于回放的验证,将启发式代理认知与确定性状态突变分离,从而解决代理软件工程中的相关治理问题。本文提出了ESAA-Security,这是ESAA的一个领域专用变种,专门用于代理辅助的软件仓库安全审计,特别强调AI生成或AI修改的代码。ESAA-Security将审计结构化为一个受控执行管道,包含四个阶段:侦察、领域审计执行、风险分类和最终报告,并将工作流程转化为26个任务、16个安全领域和95个可执行检查。该框架产生结构化的检查结果、漏洞清单、严重性分类、风险矩阵、修复指导、执行摘要以及最终的markdown/json审计报告。核心思想是安全审查不应建模为与LLM的自由形式对话,而应建模为由合同和事件驱动的证据导向审计过程。在ESAA-Security中,代理在受限制的协议下发出结构化的意图;协调器验证它们,将接受的输出持久化到只追加的日志中,重新投影推导出的视图,并通过回放和哈希验证一致性。结果是一种可追溯、可重复和以风险为导向的审计架构,其最终报告可通过构造进行审计。

英文摘要:

AI-assisted software generation has increased development speed, but it has also amplified a persistent engineering problem: systems that are functionally correct may still be structurally insecure. In practice, prompt-based security review with large language models often suffers from uneven coverage, weak reproducibility, unsupported findings, and the absence of an immutable audit trail. The ESAA architecture addresses a related governance problem in agentic software engineering by separating heuristic agent cognition from deterministic state mutation through append-only events, constrained outputs, and replay-based verification. This paper presents ESAA-Security, a domain-specific specialization of ESAA for agent-assisted security auditing of software repositories, with particular emphasis on AI-generated or AI-modified code. ESAA-Security structures auditing as a governed execution pipeline with four phases reconnaissance, domain audit execution, risk classification, and final reporting and operationalizes the workflow into 26 tasks, 16 security domains, and 95 executable checks. The framework produces structured check results, vulnerability inventories, severity classifications, risk matrices, remediation guidance, executive summaries, and a final markdown/JSON audit report. The central idea is that security review should not be modeled as a free-form conversation with an LLM, but as an evidence-oriented audit process governed by contracts and events. In ESAA-Security, agents emit structured intentions under constrained protocols; the orchestrator validates them, persists accepted outputs to an append-only log, reprojects derived views, and verifies consistency through replay and hashing. The result is a traceable, reproducible, and risk-oriented audit architecture whose final report is auditable by construction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑