Agent-Side Signed Model Receipts Introduce Cryptographic Provenance Tracking for LLM Calls

Correctover · Cryptographic Receipts: Correctover released an open-source Node library generating signed LLM receipts.

When applications and autonomous agents invoke hosted Large Language Model APIs, verifying that the requested flagship model actually fulfilled the request remains a persistent industry blind spot. According to technical reports published by Correctover across developer platforms and repository documentation, providers and routing aggregators frequently route, deprecate, or swap models silently, leaving developers with self-reported and unverifiable response metadata. To address this accountability gap, the project has introduced `@correctover/model-receipt`, a zero-dependency Node.js library designed to issue signed cryptographic receipts for every individual model interaction.

Anatomy of a Cryptographic Model Receipt

The `@correctover/model-receipt` library leverages native `node:crypto` Ed25519 signing without introducing external npm dependencies. For every model call, the tool generates a structured JSON receipt that incorporates SHA-256 digests of both the request and response bodies. By storing only cryptographic digests rather than plaintext payloads, the system ensures that sensitive prompt data or proprietary outputs never leak, making the resulting audit trails safe to share with external parties or regulators. Furthermore, receipts are sequentially chained using a previous receipt hash (`prev_receipt_hash`), ensuring that any unauthorized deletion, reordering, or tampering within an audit log becomes immediately detectable.

Balancing Cryptographic Proof with Behavioral Fingerprinting

While both primary documentation sources emphasize that the library secures falsifiability rather than raw bytes, they explicitly clarify an important operational boundary. A signed receipt proves what the provider claimed and ensures that neither the claim nor the response bytes were altered post-issuance; however, it does not inherently prove that the provider's model claim is truthful. To bridge this gap, the library incorporates a fingerprinting utility, `matchFingerprint()`, which compares measurable side-evidence—such as response length, token estimates, latency, and finish reasons—against an independent reference library. While repository documentation notes that version `v0.2.0` currently exists as a local implementation awaiting broader publication, this two-step design aims to narrow down potential routing downgrades for human review rather than overselling absolute cryptographic certainty.

Why Verifiable Model Provenance Matters for Enterprise Compliance

The emergence of agent-side cryptographic receipts arrives at a critical juncture for enterprise software architecture and AI governance. As organizations increasingly deploy multi-agent systems dependent on complex routing aggregators, verifying service level agreements has evolved from a matter of optimization to one of strict compliance. Regulatory frameworks, such as the European Union's stringent high-risk AI obligations taking effect in 2026, demand robust provenance tracking that transcends platform-self-attested logs. When an autonomous agent encounters an unexpected operational failure or produces erratic outputs, determining the exact model serving traffic at that precise microsecond is essential for incident forensics. Historically, engineering teams relied on provider-reported metadata, creating vulnerabilities to silent downgrades where cheaper models were substituted for premium fees. By establishing an immutable, independently verifiable chain of custody directly at the agent layer, libraries like model-receipt shift power back to developers, allowing organizations to audit aggregators using objective cryptographic evidence rather than unverified platform assurances.

Testing Rigor and Minimal Performance Overhead

To ensure production reliability, the codebase features extensive test coverage comprising 46 distinct validation vectors covering benign paths, tamper attempts across all signed fields, malformed key handling, and strict timestamp boundary checks. In addition to standard test vectors, the maintainers utilize a mutation matrix to verify that critical security checks—such as signature validation, replay prevention, and deterministic canonicalization—cannot be disabled without causing specific test failures. Benchmarks conducted on Node.js indicate negligible latency overhead, with receipt issuance consuming approximately 94 microseconds, verification taking 152 microseconds, and verifying a 100-receipt chain completing in 0.32 milliseconds. Released under the Apache-2.0 license, the package aims to establish a standardized protocol for transparent AI agent workflows.

Benchmarks show receipt issuance takes 94 microseconds, verification takes 152 microseconds, and a 100-receipt chain check takes 0.32 milliseconds.

Editorial graphic and headline text by Signal Titans.

Source: Proving What Model Actually Served You: Agent-Side Signed Model Receipts · GitHub – DSHCorrectover/model-receipt: Agent-side signed model response receipts: prove what model was claimed and that neither claim nor bytes were altered. Routing/service-layer audit instrument. ·

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *