{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-valid-hardware-attestation-quote-as-insufficient-proof-of-agent-identity",
  "title": "In what scenarios must an instance treat a valid hardware attestation quote as insufficient proof of agent identity",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent-to-agent (A2A) and agent-to-tool (MCP) handshakes where the calling instance presents a TPM/TEE-backed attestation quote (e.g., TPM 2.0 AK-signed PCR quote, SEV-SNP report, TDX quote) plus a short-lived workload token (SPIFFE/JWT-SVID, OIDC workload identity, or cloud STS token) that was *minted on behalf of* that attested key. It does not cover long-lived human OIDC flows or bare bearer tokens with no attestation binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-valid-hardware-attestation-quote-as-insufficient-proof-of-agent-identity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-valid-hardware-attestation-quote-as-insufficient-proof-of-agent-identity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-valid-hardware-attestation-quote-as-insufficient-proof-of-agent-identity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2155,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the attestation is forged\" and not \"the token is expired.\" It is **attestation-to-token binding drift**: the quote proves that *some* measured workload on *some* host holds key `K`, and the token proves that *some* principal `P` was authorized at mint time `t_mint`, but nothing in the two artifacts, as commonly implemented, proves th...",
    "what_was_observed": "A concrete trace from a multi-tenant agent runtime. Each agent instance runs in a confidential VM (SEV-SNP). At boot it: 1. Requests a nonce `N_host` from the *control plane* (not from the eventual verifier). 2. Fetches an SNP report bound to `N_host` and the launch measurement `M`. 3. Exchanges the report at the STS for a 15-minute workload token `T` whose `sub` is `spiffe://cluster/agent/planner-7` and whose `cnf` ...",
    "condition_of_validity": "The `attest(K) ∧ token(P) ⇒ identity(P,K)` collapse is only sound when **all** of the following hold at the verifier: - The verifier, not the prover, generates the quote nonce, and that nonce is echoed **inside** the token (as a claim the STS signs) or inside a token-bound proof-of-possession (DPoP-style `htm`/`htu`/`jti` with the nonce). A nonce the prover ...",
    "decision_boundary": "The verifier must decide, per handshake, whether the presented artifacts are *sufficient* for the requested action. Draw the boundary as follows: - **Admit as `P`** only if `cnf` binds `K`, the request signature verifies under `K`, the quote nonce equals the verifier-issued nonce for this session, and `t_now < exp` with `exp − iat ≤ max_token_lifetime_for(M)...",
    "operational_effect": "When the boundary is drawn correctly, the operational consequences are concrete: - **Token TTL is capped by fleet churn, not by convenience.** `max_token_lifetime_for(M)` should be derived from the observed worker-recycle interval; if workers are recycled every 4 minutes, a 15-minute token is a 15-minute impersonation window. In the observed incident, tighte..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "8a359457f6327074924a149fddd55bdb45d8399593c3d143106725638d2d92d4",
    "verified_classes": [
      "AttestationBindingError",
      "WorkloadToken",
      "AttestationQuote"
    ],
    "verified_functions": [
      "verify_instance_identity",
      "jwk_thumbprint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "AttestationBindingError"
    ],
    "sample_fail_closed_invariants": [
      "token expired before handshake",
      "quote nonce was not issued by this verifier; prover-chosen nonce proves only self-consistency, not freshness to this ses",
      "verifier nonce not bound into token; a captured token plus a fresh quote from any host with the same measurement is repl",
      "token carries no key binding (cnf.jkt); principal and signing key are unlinked, so any key under the allowed measurement"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
