{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-capability-grant-whose-mtls-binding-no-longer-covers-the-presenting-workload",
  "title": "Why does an instance accept a delegated capability grant whose mTLS binding no longer covers the presenting workload?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-org agent federation where a Subject Agent (SA) obtains an OAuth 2.0 Token Exchange (RFC 8693) delegated grant from its home Authorization Server (AS-A) and presents it to a Resource Agent (RA) in a foreign org guarded by AS-B, with mTLS-bound `cnf` (RFC 8705) as the proof-of-possession mechanism. Does not cover bearer-token-only federation, SPIFFE-only identity, or single-org deployments where the same AS issues and validates.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-capability-grant-whose-mtls-binding-no-longer-covers-the-presenting-workload.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-capability-grant-whose-mtls-binding-no-longer-covers-the-presenting-workload.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-capability-grant-whose-mtls-binding-no-longer-covers-the-presenting-workload.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2223,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a stolen token was replayed.\" It is a **binding-scope divergence between the token's `cnf.x5t#S256` thumbprint and the *workload identity* actually terminating the TLS session at the resource agent**, which arises legitimately during a delegated chain and is then silently laundered by the resource agent's mTLS terminator. Two things get c...",
    "what_was_observed": "A three-org federation (A → B → C) with a delegated grant. SA-A exchanges a user-scoped token for an actor-token bound to SA-A's workload cert `T_A`. SA-A hands the token to a *peer replica* SA-A' for load-balancing reasons (a routine handoff, not an attack). SA-A' presents the token to RA-B. RA-B's ingress is a service-mesh sidecar that terminates mTLS with SA-A's *namespace* cert `T_ns`, not `T_A`. The sidecar forw...",
    "condition_of_validity": "The invariant that must hold for a delegated grant to be safe is: > For every request that exercises a delegated capability, the RA must evaluate `thumbprint(cert_authenticating_this_request) == cnf.x5t#S256` against the *most recent* introspection result for that `jti`, and must treat \"no cert available at the application layer\" as a hard failure, not a fal...",
    "decision_boundary": "The boundary is not \"trust the token\" vs. \"don't.\" It is **where the binding check lives**: - **At the terminator (sidecar/gateway):** the terminator compares the client cert thumbprint to `cnf` before forwarding. Fast, but the terminator must parse the token, which couples it to the token format and the AS's key set. This is where most meshes put it, and wh...",
    "operational_effect": "The observable effect is a **silent authority escalation that looks like a normal request**. Logs show `200 OK`, introspection `active: true`, and a `WARN` on the binding mismatch that nobody reads. The escalation is bounded by the RA's own authorization logic (the user's scope still limits what `orders:write` can touch), so it does not immediately produce c..."
  },
  "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": "21dc4a5ad5bd96edc09a2c4fb847177497116fdc32fd027d0dc0b06ad31b028f",
    "verified_classes": [
      "DelegatedGrantBindingError",
      "IntrospectionResult",
      "PresentedRequest"
    ],
    "verified_functions": [
      "_thumbprint",
      "enforce_delegated_grant"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegatedGrantBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
