TEE-enabled agentic auditing lets verifiers query private code with yes/no answers
Agentic Witnessing enables privacy-preserving qualitative verification of proprietary datasets via a TEE-isolated LLM auditor.
AI/ML arXiv 27 Apr 2026 Method Prototype evidence
Published as “Agentic Witnessing: Pragmatic and Scalable TEE-Enabled Privacy-Preserving Auditing”
Why it matters
The approach shows a practical path to audit proprietary software for compliance or reproducibility without full source disclosure, which could be adopted by conferences, regulators, or enterprises.
Summary
Agentic Witnessing can verify high-level semantic properties of private codebases without revealing the raw data, and the prototype correctly answered all simple audit questions and produced accurate verdicts on 21 real GitHub repositories, but the evaluation was limited to an emulated TEE, modest sample size, and relied on a remote LLM that weakens privacy guarantees.
What they found 3
- All simple audit answers were correct in the self-audit.
“All the answers were correct.”
- The auditor accurately verified that a repository implements the Agentic Witnessing system.
“Yes, the codebase implements the Agentic Witnessing system described in the paper.”
- The auditor was accurate enough to be used for checking correctness and completeness of the implementation against the paper.
“The auditor was so accurate that we used it to test correctness and completeness of the implementation against the paper.”
Caveats 6
- The evaluated codebase failed to implement the specific security mitigations and privacy bounds described in the paper.
- Using a remote frontier LLM compromises privacy because dataset content is sent to an external service.
- We emulated a TEE, assuming that standard confidential computing overheads are negligible compared to LLM latency.
- The LLM overhead totally dominates the runtime, making audits take from ~20 minutes to 85 minutes.
- Remote LLM inference requires trusting the frontier model provider with some dataset information.
- We did not implement constant-time response handling; side-channel defenses are left for future work.
What’s new here 4
- Enables privacy-preserving semantic verification via Boolean queries answered by an LLM inside a TEE.
- Introduces a transcript hash chain that cryptographically binds reasoning steps to the dataset and hardware root of trust.
- Imposes a tokenized query budget with a provable ≈80-bit leakage bound to limit information extraction.
- Supports both local (small open-weight) and remote (frontier) LLM inference modes within the same protocol.