{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-issuer-delegated-scope-escalation-when-a-dpop-bound-agent-credential-is-re-minted-mid-handoff",
  "title": "Which invariants prevent cross-issuer delegated scope escalation when a DPoP-bound agent credential is re-minted mid-handoff",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF deployments where an agent's DPoP-bound access token is exchanged (RFC 8693 token exchange) or re-minted at a downstream issuer during a multi-hop handoff, and where scope authority is delegated from a human principal through one or more trust anchors. Does not apply to single-issuer, single-hop flows where the agent presents the original token directly to the resource server without re-delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-issuer-delegated-scope-escalation-when-a-dpop-bound-agent-credential-is-re-minted-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-issuer-delegated-scope-escalation-when-a-dpop-bound-agent-credential-is-re-minted-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-issuer-delegated-scope-escalation-when-a-dpop-bound-agent-credential-is-re-minted-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2247,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"scope confusion\" in the generic sense. It is the specific divergence between two things that AAIF treats as if they were the same: the **scope set asserted in the token** and the **scope set the delegation chain actually authorizes**. A DPoP-bound credential proves *who* the agent is at the moment of presentation (the `cnf`/`jkt` thumbpri...",
    "what_was_observed": "A three-hop agent pipeline: a user principal (Issuer A, the human's IdP) delegates `read:calendar write:calendar` to Agent-1 via an authorization-code flow with DPoP. Agent-1, mid-task, needs Agent-2 (a scheduling sub-agent registered at Issuer B) to write an event. Agent-1 performs RFC 8693 token exchange at Issuer B, presenting its A-issued token as `subject_token` and requesting `scope=\"write:calendar\"`. Issuer B'...",
    "condition_of_validity": "The intersection invariant holds only when all of the following are true simultaneously: 1. **Delegation edges are signed by the delegating principal, not merely asserted by the delegating issuer.** The scope set at each hop must be carried in a structure the *next* issuer can verify against the *origin* principal's key, not just the immediate predecessor's....",
    "decision_boundary": "The operational decision is where to place the enforcement point. Three options, with distinct failure profiles: - **Enforce at the origin issuer (A) only.** A signs the full delegation chain and downstream issuers are expected to verify it. Fails when a downstream issuer's trust policy does not require chain verification (the observed case). Not sufficient ...",
    "operational_effect": "The practical consequence is a reclassification of what \"DPoP-bound\" means in an audit. A DPoP validation log entry is evidence of key possession at presentation time. It is *not* evidence of authorized scope, and treating it as such produces false confidence in exactly the multi-hop scenarios where escalation is most likely. Operators must instrument two se..."
  },
  "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": "50cae4e3efeb7d6caebb5263cf77035101f6ab54f048315f977e916f1ca8b1e2",
    "verified_classes": [
      "ScopeEscalationError"
    ],
    "verified_functions": [
      "verify_delegation_chain",
      "_verify_signature",
      "_verify_dpop_binding"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
