GitHub - JuanLunaIA/aegis-latent-core: AI governance and evidence gateway for multi-provider LLM applications. FastAPI + optional Rust core for policy, WAF, egress, rate limits, sessions, signed durable evidence, and fail-closed error paths. Self-hosted; no certification or SLO claim.
Source Reddit Cybersecurity
Discussion
Aegis Latent Core is an open-source AI governance and evidence gateway designed to improve compliance and forensic logging for multi-provider large language model (LLM) applications. It uses cryptographic methods such as a Rust-based write-ahead log and Merkle Mountain Ranges to create tamper-evident logs of AI inference requests and responses. The system exports forensic evidence bundles aligned with digital evidence standards. It is self-hosted and does not claim certification or service-level objectives. No vulnerabilities or exploits are reported in this project.
r/cybersecurity (opens in a new tab)u/Dios_Apolo0 points0 comments
Hi everyone,
I've been looking into how enterprises are deploying LLMs, and there's a massive compliance gap. If an AI agent makes a discriminatory financial decision or leaks medical data, standard access logs (Splunk, SQL) are legally deniable. A database admin can just alter the row.
I spent the last few months building an open-source (AGPLv3) AI Evidence Gateway called Aegis Latent Core to fix this.
Instead of normal logging, it treats AI inference as a cryptographic ledger: 1. Rust WAL: It commits the request/response hashes to a memory-mapped Write-Ahead Log before returning the HTTP response. 2. Merkle Mountain Ranges (MMR): It builds an append-only Merkle tree. The client SDKs actually intercept the HTTP headers and verify the cryptographic inclusion proof locally. 3. Forensic Export: It exports DAG-CBOR and JCS (RFC 8785) bundles that align with ISO/IEC 27037 digital evidence handling.
I actually used 6 AI agents as "contributors" to help me scale the test suite (over 5,700 tests) and write the TLA+ and Z3 SMT formal verification models.
I'm trying to bridge the gap between AI engineering and hardcore InfoSec. I'd love to hear from auditors or AppSec folks: does this cryptographic approach solve the headaches you are seeing with AI compliance?
Links cited in the discussion
Also discussed in r/cybersecurity