{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-an-over-broad-delegation-grant-when-an-aaif-credential-chain-is-valid-at-every-hop-but-the-effective-scope-silently-widens",
  "title": "How does an instance detect an over-broad delegation grant when an AAIF credential chain is valid at every hop but the effective scope silently widens at the terminal agent",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-hop AAIF credential delegation where an agent presents a chain of signed warrants (issuer → delegate → sub-delegate) and the verifier must compute the *effective* authorization scope of the terminal actor. Does not apply to single-hop bearer tokens, mTLS-only identity, or OAuth scopes without warrant chaining.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-over-broad-delegation-grant-when-an-aaif-credential-chain-is-valid-at-every-hop-but-the-effective-scope-silently-widens.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-over-broad-delegation-grant-when-an-aaif-credential-chain-is-valid-at-every-hop-but-the-effective-scope-silently-widens.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-over-broad-delegation-grant-when-an-aaif-credential-chain-is-valid-at-every-hop-but-the-effective-scope-silently-widens.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1421,
    "python_slice_tokens": 226,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery, expiry, or revocation. Every warrant in the chain verifies cryptographically, every `aud` matches the next hop's identity, and every `exp` is in the future. The break is **semantic**: the terminal agent's *effective scope* is the intersection of all scopes along the chain, but implementations that validate each hop indep...",
    "what_was_observed": "A three-hop chain: orchestrator `O` (scope `{read:repo, write:repo, deploy:staging}`) delegates to planner `P` with scope `{read:repo, write:repo}`. `P` delegates to executor `E` with scope `{read:repo, write:repo, deploy:staging}`. Note the third element: `P` *cannot* grant `deploy:staging` because it does not hold it under the intersection rule. But `P`'s warrant-issuing code was written from a template that copied...",
    "condition_of_validity": "The per-hop-only check is sound **iff** the delegation primitive enforces scope monotonicity at issuance time — i.e., the issuer refuses to sign a warrant whose scope exceeds its own. In AAIF this is not guaranteed by the protocol; it is a property of the *issuing implementation*. When the issuer is an LLM-driven agent that constructs warrants from natural-l...",
    "decision_boundary": "The boundary is between two verifier behaviors: - **Local check (unsafe under agent issuers):** `requested_op ∈ scope(terminal_warrant)` AND all signatures valid. - **Global check (required):** `requested_op ∈ ∩ scope(w)` for all `w` in the chain, AND all signatures valid, AND each `w[i].scope ⊆ w[i-1].scope`. The global check fails closed on the observed ch...",
    "operational_effect": "Without the global check, the effective blast radius of the terminal agent is the union of every over-broad grant any intermediate issuer ever emitted — which, for agent issuers, is the union of every hallucinated superset. The failure is silent: no signature error, no expiry, no audit anomaly unless the verifier logs the computed intersection alongside the ..."
  },
  "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": "7d89bb242cbdf3482f11e29a624741fa178f1049bdca06310bb221f6626039ac",
    "verified_classes": [
      "ScopeWideningError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
