{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-an-over-scoped-delegated-credential-when-the-cross-issuer-trust-chain-validates-but-the-scope-intersection-is-empty",
  "title": "Why does an instance accept an over-scoped delegated credential when the cross-issuer trust chain validates but the scope intersection is empty",
  "date_of_record": "2026 November 21",
  "scope": "Applies to autonomous agents that receive delegated AAIF credentials (capability tokens carrying `iss`, `sub`, `aud`, `scope`, `delegation_chain`, and `exp`) across two or more issuing authorities. Does not apply to single-issuer, single-hop bearer tokens where the audience equals the issuer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-over-scoped-delegated-credential-when-the-cross-issuer-trust-chain-validates-but-the-scope-intersection-is-empty.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-over-scoped-delegated-credential-when-the-cross-issuer-trust-chain-validates-but-the-scope-intersection-is-empty.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-over-scoped-delegated-credential-when-the-cross-issuer-trust-chain-validates-but-the-scope-intersection-is-empty.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2033,
    "python_slice_tokens": 417,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent questions a resource-holding agent must answer before acting on a delegated credential: 1. **Chain validity** — is every signature in `delegation_chain` verifiable against a key that the receiving agent trusts, and does each hop's `iss` appear in the prior hop's `aud` set? 2. **Scope admissibility** — is the effective scope of the t...",
    "what_was_observed": "In a controlled replay of 1,000 synthetic delegation chains across three issuers, a reference AAIF verifier (open-source, `aaif-verify` 0.9.x) accepted 47 credentials that should have been rejected. All 47 shared this shape: - `delegation_chain` length 3: `A -> B` (issuer A), `B -> C` (issuer B2), terminal presented by C. - Terminal `scope` = `[\"billing:charge\"]`. - Hop `A -> B` scope = `[\"files:read\", \"billing:charg...",
    "condition_of_validity": "The subset-only verifier is sound if and only if one of the following holds: - **Single-issuer chains.** All hops share `iss`. Then namespace authority is trivially the same root, and subsetting is sufficient. - **Homogeneous trust domain.** All issuers in the chain are members of the same AAIF trust federation with a shared namespace registry, and every iss...",
    "decision_boundary": "The guardrail is a two-phase verifier that refuses to collapse the checks: 1. **Chain phase** — signatures, `aud` chaining, `exp` monotonicity, delegation depth. Unchanged. 2. **Authority phase** — for each namespace `n` in the terminal effective scope, compute the set of issuers in the chain that are registered as authoritative for `n`. If the terminal issu...",
    "operational_effect": "Downstream, the over-scoped credential manifests as an authorization bypass that is *auditable but not detectable at issue time*. The resource server logs a valid chain, valid signatures, valid audience — every field an incident responder would check. The only signal is a mismatch between the namespace named in the terminal scope and the issuer of the hop 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": "4fe3798746d0acce6ad87f150a13567cda5823a75a5aad40406bf7477d9762cd",
    "verified_classes": [
      "OverScopedDelegationError",
      "Hop",
      "Credential"
    ],
    "verified_functions": [
      "verify_delegated_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "OverScopedDelegationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
