Event-sourced audit architecture makes AI code security reviews traceable and reproducible
ESAA-Security provides a traceable, reproducible, and auditable security audit process for AI-generated code
AI/ML arXiv 6 Mar 2026 Method Maturity unclear
Published as “ESAA-Security: An Event-Sourced, Verifiable Architecture for Agent-Assisted Security Audits of AI-Generated Code”
Why it matters
If adopted, organizations could obtain auditable, reproducible security audit trails for AI-generated code, improving governance and remediation prioritization.
Summary
The paper claims that ESAA-Security enables a governed, traceable, replay-verifiable security audit of AI-generated code, but it only presents a design and an initial validation plan without empirical results. It introduces an event-sourced architecture that separates agent cognition from state mutation via append-only logs, contracts, and deterministic replay. The evaluation is limited to two case-study repositories (small and medium) compared against prompt-only and checklist-only baselines, so the strength of the evidence is weak.
What they found 2
- ESAA-Security provides a governed, traceable, and replay-verifiable way to execute security audits in AI-accelerated development environments.
“ESAA-Security provides a governed, traceable, and replay-verifiable way to execute security audits in AI-accelerated development environments.”
- Security review is reframed from a free-form LLM conversation to an evidence-oriented audit process governed by contracts and events.
“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.”
Caveats 4
- ESAA-Security does not prove the absence of vulnerabilities, does not replace penetration testing, and should not be interpreted as a certification mechanism.
- Dependence on playbook quality: weak playbooks can yield well-governed but substantively weak audits.
- Dependence on repository context: missing infrastructure or deployment details can lead to protocol-valid but context-poor audits.
- Semantic model error: structured outputs reduce but do not eliminate misinterpretation of framework conventions or exploitability.
What’s new here 4
- Applies event-sourcing and CQRS to agent-assisted security auditing.
- Enforces structured, contract-validated agent outputs rather than free-form LLM prose.
- Provides deterministic replay and hashing to verify audit state integrity.
- Generates a multi-phase, risk-oriented reporting pipeline (vulnerability inventory, risk matrix, executive summary).