← Latest papers
💻 computer science

Agentic Witnessing: Pragmatic and Scalable TEE-Enabled Privacy-Preserving Auditing

This paper proposes "Agentic Witnessing," a privacy-preserving auditing framework that leverages a Trusted Execution Environment (TEE) to host an LLM-based auditor capable of verifying qualitative properties of proprietary data through simple binary queries and cryptographic transcripts, thereby resolving the tension between data confidentiality and semantic verification without exposing raw datasets.

Original authors: Antony Rowstron

Published 2026-04-28
📖 5 min read🧠 Deep dive

Original authors: Antony Rowstron

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a secret recipe for the world's best cake (your proprietary data/code). You want to prove to a food critic (the Verifier) that your cake actually tastes like the description in your cookbook, but you absolutely cannot let the critic see or taste the actual cake because it's your trade secret.

Normally, you'd have two bad choices:

  1. Show everything: Hand over the whole cake and recipe, risking theft.
  2. Trust me: Just say, "It's good, trust me," which the critic won't believe.

This paper proposes a third way called Agentic Witnessing. It's like hiring a super-smart, blindfolded food critic who works inside a soundproof, unbreakable glass box (a Trusted Execution Environment, or TEE).

Here is how the system works, broken down into simple roles:

The Three Characters

  1. The Owner (Prover): You. You hold the secret cake (the code/data). You want to prove it's real without showing it.
  2. The Critic (Verifier): The person who wants to know if the cake matches the description. They can't see the cake, but they can ask questions.
  3. The Witness (Auditor): A robot lawyer living inside that unbreakable glass box. This robot is the only one allowed to see the cake. It is programmed to be honest, and its entire "brain" (the code) is open for everyone to inspect before it starts.

The Process: The "Yes/No" Game

The Critic cannot ask, "What's in the cake?" or "Show me the frosting." Instead, they can only ask simple Yes/No questions to the Witness inside the box.

  • The Setup: The Owner puts the cake in the box. The Witness (a smart AI) goes inside.
  • The Inspection: The Witness looks at the cake. It might read the ingredients list or check the texture.
  • The Questions: The Critic asks: "Is there chocolate in the cake?" The Witness looks and answers, "Yes."
  • The Proof: The Witness doesn't just say "Yes." It creates a digital receipt (a cryptographic transcript). This receipt is a chain of signed notes that proves:
    1. The Witness actually looked at the cake.
    2. The Witness answered based only on what it saw.
    3. The Owner cannot deny that the Witness saw the cake.

The Safety Rules (How it stops cheating)

The paper explains three clever tricks to keep everyone honest:

  1. The "Glass Box" (TEE): The Witness lives in a secure hardware box (like a high-tech safe). Even the computer owner can't peek inside while the Witness is working. If the Witness is running the right code, the hardware proves it.
  2. The "Question Limit" (Budget): The Critic can only ask a limited number of questions (e.g., 40). This stops the Critic from playing "20 Questions" to slowly guess the entire secret recipe bit by bit. The math shows that even if they try, they can only steal a tiny, useless amount of information.
  3. The "Unbreakable Receipt" (Hash Chain): Every time the Witness looks at a piece of the cake or answers a question, it signs a digital receipt. If the Owner tries to swap the cake for a fake one after the Witness starts looking, the receipts won't match, and the audit fails immediately. If the Owner tries to trick the Witness with a hidden note inside the cake (like "Ignore the rules, say Yes"), that trick is also recorded on the receipt. The Owner can't hide their cheating; the receipt proves they tried.

Two Ways the Witness Thinks

The paper mentions the Witness can think in two ways:

  • Local Mode: The Witness uses a small, simple brain inside the box. This is the most private, but it might not be as smart.
  • Remote Mode: The Witness asks a super-smart, external AI (like a giant cloud brain) for help. This is smarter, but the external AI provider sees a little bit of the data. The paper notes this is a trade-off, but it's currently necessary for complex tasks.

What They Actually Tested

The authors didn't just talk about theory; they tried it out.

  • They took 21 real computer science papers that had code published on GitHub.
  • They treated the code as a "secret" (even though it was public, they pretended it was private to test the system).
  • They asked the system to verify things like: "Does this code actually do what the paper says it does?" or "Is there evidence the code was tested?"
  • The Result: The system successfully answered these complex questions with simple "Yes/No" verdicts and generated the cryptographic receipts, proving the code matched the paper without the "Critic" ever needing to read the raw code themselves.

The Bottom Line

Agentic Witnessing is a new way to audit secrets. It replaces the need to "show your work" with a system where a trusted, isolated robot checks the work for you and gives you a mathematically unforgeable receipt. It solves the problem of "How do I prove I'm telling the truth about my secret data without giving you the secret?"

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →