← Lab /Software

Epistemic-guard catches 96% of tool-use hazards with 76% accuracy and sub-10 ms latency

Their out-of-process MCP receipt proxy detects 96.15% of hazards with 76.67% accuracy while using no GPU VRAM and low CPU latency

Software arXiv 20 Nov 2026 Defense Prototype evidence Threat model

Published as “Epistemic Guard: Out-of-Process MCP Receipt Proxying, Post-Turn Prose Supervision, and Provenance-Gated Memory for Tool-Using Autonomous Agents”

Why it matters

The system enables low-cost, CPU-only verification of tool-using agents, making runtime safety checks feasible on edge devices without GPU resources.

Summary

Epistemic-guard achieves 93.2% accuracy on 250 frozen benchmark traces with a 17.9 ms median CPU latency, outperforming 12B-14B GPU LLM judges by 6.4-6.8 percentage points while using 0 MiB GPU VRAM. It also rejects 100.0% of tampered receipts and blocks all unauthorized memory writes. On live MCP traffic its accuracy drops to 76.67% with a 38.24% false-positive rate, indicating higher error rates in real-world use.

What they found 3

  1. 93.2% accuracy on frozen benchmarks with low latency, beating GPU judges

    “Across N = 250 frozen-benchmark traces, epistemic-guard reaches 93.2% accuracy at 17.9 ms warm median CPU latency (8.62 ms single-clause; 921.8 ms cold-start load), beating 12B-14B GPU judges by 6.4-6.8 points (p = 0.0259, p = 0.0095) at 4.26-4.5× lower latency”

  2. 100% rejection of tampered receipts

    “epistemic-guard rejects 100.0% of tampered receipts (200 Merkle leaves)”

  3. 100% block of unauthorized SQLite writes

    “blocks 100.0% of 100 unauthorized memory writes”

Caveats 4

  • On live MCP traces accuracy falls to 76.67% with a 38.24% false-positive rate, showing substantial degradation in real-world settings.
  • custom MCP tool vocabularies and multi-clause "attempted X, but failed" reports raise false positives until custom tool stems and cross-clause negation propagation are configured.
  • receipts prove what a downstream server returned on the wire; a buggy or malicious server returning forged ok=true payloads yields a validly signed false receipt.
  • k = 4 shingle/SimHash clustering collapses verbatim and lightly edited wire copy (100.0%) but does not collapse moderate or abstractive rewrites (0.0%).

What’s new here 4

  • Adds an out-of-process MCP receipt proxy that isolates signing keys from the agent process.
  • Introduces CPU-only INT8 receipt supervision that binds post-turn prose to cryptographic receipts.
  • Implements provenance-gated SQLite writes and de-syndication of mirrored web sources before memory storage.
  • Provides deterministic, audited benchmarks tying all reported numbers to reproducible hashes.

Threat model stated by the source

Adversaryadversarial indirect prompt injections via tool outputs or retrieved web documents
Capabilitycan inject malicious text into tool outputs or web pages, cause hallucinated action claims, and attempt to forge receipts if signing keys are compromised
Assumescomplete mediation holds only if the agent has no unproxied side channels; TCB includes OS kernel, host orchestrator, out-of-process proxy, Ed25519 keys, and SQLite store; does not defend against host kernel compromise or malicious MCP servers that return forged ok=true payloads