← Lab /Security & privacy

Project Veraison's TPM reference scheme fails to enforce challenge-nonce freshness, allowing replayed quotes

The reference scheme does not enforce nonce freshness, so replayed quotes are accepted as valid

Security & privacy arXiv 4 Aug 2026 Measurement Prototype evidence

Published as “A Challenge-Nonce Freshness Gap in Project Veraison's TPM Reference Schemes, Found by Appraising Application-Layer Action Evidence End-to-End”

Why it matters

Without the freshness check, an attacker can replay a previously-captured affirming quote to convince a relying party that the agent’s runtime is currently in a good state, undermining automated-agent accountability.

Summary

The paper discovers that Project Veraison's reference tpm-enacttrust scheme fails to enforce challenge-nonce freshness, allowing a replayed quote to be accepted as affirming. By wiring a real Veraison RATS Verifier to an emulated software TPM and running good, outcome-swapped, and tampered cases, they confirm correct verdicts and expose the freshness gap. They provide a two-part fix-a scheme patch exposing the attester-bound nonce and a Rego policy that checks it-validated end-to-end, turning a replayed quote from affirming to contraindicated. Evidence is generated on a single host using a software TPM, so the findings are reproducible but limited to that environment.

What they found 3

  1. The tpm-enacttrust scheme does not enforce challenge-nonce freshness.

    “Veraison’s reference tpm-enacttrust scheme appraises the signature and the PCR digest versus the reference value only; it does not enforce challenge-nonce freshness.”

  2. Because the scheme never checks the quote’s ExtraData against the session nonce, a replayed or stale quote is still accepted as affirming.

    “the scheme never compares the quote’s qualifying data (TPMS_ATTEST.ExtraData, where the attester binds the challenge nonce) against the session’s expected nonce, so a replayed or stale quote still returns affirming.”

  3. With the proposed fix active, the same byte-identical quote flips from affirming to contraindicated when replayed to a fresh session.

    “the same valid quote that is affirming in its own session flips to contraindicated when replayed to a fresh one.”

Caveats 3

  • the scheme never compares the quote’s qualifying data (TPMS_ATTEST.ExtraData, where the attester binds the challenge nonce) against the session’s expected nonce, so a replayed or stale quote still returns affirming.
  • First, the Attester is an emulated software TPM (swtpm), not a hardware guarantee; a real discrete STMicroelectronics dTPM proof-of-concept is staged for the IETF 126 Hackathon (Vienna, 18-19 July 2026), and we show in §9.1 that the security finding does not depend on the emulated root.
  • Second, the IETF Internet-Draft on which the composition pattern rests is an individual submission, not WG-adopted, and the IEEE pieces on adjacent surfaces are under review.

What’s new here 4

  • Runs a full, standards-conformant Project Veraison RATS Verifier instead of a minimal stand-in.
  • Identifies and characterises a missing challenge-nonce freshness check in the deployed tpm-enacttrust scheme.
  • Provides and validates an exact two-part fix (scheme patch + Rego policy) that makes replayed quotes fail.
  • Releases a reproducible end-to-end driver and independent re-verification tool.