{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-aaif-delegated-authorization-token-exchange-as-non-transitive-across-a-multi-hop-agent-chain",
  "title": "In what scenarios must an instance treat AAIF delegated-authorization token exchange as non-transitive across a multi-hop agent chain",
  "date_of_record": "2026 November 29",
  "scope": "Applies to AAIF (Agent Identity and Authorization Framework) deployments where an agent instance exchanges its own attestation for a scoped, delegated bearer token and then forwards work—or a sub-delegation—to a downstream agent. Does not apply to single-hop, same-process tool calls where the caller and callee share one attestation context.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-authorization-token-exchange-as-non-transitive-across-a-multi-hop-agent-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-authorization-token-exchange-as-non-transitive-across-a-multi-hop-agent-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-authorization-token-exchange-as-non-transitive-across-a-multi-hop-agent-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1732,
    "python_slice_tokens": 360,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the token was rejected.\" It is \"the token was accepted where it should not have been, because the verifier checked the token's signature and scope but not the *delegation chain's provenance*.\" AAIF delegated tokens carry three separable fields that are routinely conflated: 1. **Subject attestation** — the cryptographic identity of the ins...",
    "what_was_observed": "A three-hop chain: orchestrator `O` holds a root attestation and requests a delegated token for scope `write:repo` intended for worker `W1`. `W1` is authorized to sub-delegate read-only scopes to `W2`. The exchange sequence observed in the trace: - `O` → AAIF authority: `issue(subject=O, delegate_to=W1, scope={write:repo}, max_hops=2)`. - Authority returns token `T1` with `aud=W1`, `scope={write:repo}`, and an `excha...",
    "condition_of_validity": "The non-transitivity invariant holds—i.e., a delegated token is safe to accept—only when all of the following are simultaneously true at the verifier: - **Terminal anchoring:** `exchange_chain[-1]` equals the cryptographic identity of the *presenting* instance, proven by a fresh attestation challenge bound to the request nonce. Membership is insufficient; po...",
    "decision_boundary": "The operational question is not \"is this token valid?\" but \"does this token's provenance terminate at the presenter?\" The boundary sits precisely at the point where a verifier chooses between two checks: - **Set check (wrong):** `presenter_id ∈ exchange_chain`. Passes for the attacker's `T3` because `W1` is in the chain. - **Terminal check (correct):** `exch...",
    "operational_effect": "When the terminal-anchoring and presentation/delegation separation invariants are enforced, the blast radius of a compromised mid-chain agent is bounded to that agent's *own* scopes at its *own* hop. `W1`'s compromise can still exfiltrate what `W1` could read, but it cannot mint `write:repo` tokens for third parties, because: - The attacker cannot satisfy th..."
  },
  "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": "414e97a829dc2042903a9233ba6b1c3730fc58df6767dd882f17af56fc1788fd",
    "verified_classes": [
      "DelegationChainViolation"
    ],
    "verified_functions": [
      "verify_delegated_token",
      "exchange_token"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 11,
    "raised_exceptions": [
      "DelegationChainViolation"
    ],
    "sample_fail_closed_invariants": [
      "signature invalid",
      "stale or replayed attestation nonce",
      "missing exchange provenance",
      "hop budget exhausted"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
