{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-scope-attenuation-forgery-when-a-delegated-aaif-credential-is-re-signed-by-an-intermediate-agent",
  "title": "How does an instance detect scope-attenuation forgery when a delegated AAIF credential is re-signed by an intermediate agent?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF (Agent Identity & Authorization Interop Framework) verifiable-credential chains where an intermediate agent (a \"broker\" or \"delegator\") exchanges a scoped token for a narrower one and re-signs it for a downstream agent. Does not apply to single-hop credentials issued directly by a root authority, nor to opaque bearer tokens without a credential chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-scope-attenuation-forgery-when-a-delegated-aaif-credential-is-re-signed-by-an-intermediate-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-scope-attenuation-forgery-when-a-delegated-aaif-credential-is-re-signed-by-an-intermediate-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-scope-attenuation-forgery-when-a-delegated-aaif-credential-is-re-signed-by-an-intermediate-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1733,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF delegation is built on the assumption that **scope monotonically narrows across a chain**: agent A holds `scope={read:orders, write:orders}`, delegates to B a token with `scope={read:orders}`, and B may delegate further to C with `scope={read:orders, region:eu}` — but never with a scope that is not a subset of what B held. The verifier at the leaf trust...",
    "what_was_observed": "A three-hop chain, root `R` → broker `B` → worker `W` → tool-agent `T`: - `R` issues to `B`: `scope={read:orders, write:orders, admin:false}`, signed `R`. - `B` is later narrowed by an operator to `scope={read:orders}` via a revocation-and-reissue that `B`'s credential store records, but `B`'s *delegation signing key* is unchanged and its cached \"last known grant\" still holds the original wider set. - `B` delegates t...",
    "condition_of_validity": "The \"child ⊆ parent\" per-hop check is sound **only if** the `parent_scope` field in each credential is itself authenticated against the parent's authoritative grant state at signing time. That requires one of: 1. The parent's credential carries a `grant_epoch` or `state_hash` that the verifier can resolve against the issuer's authoritative record, and the ch...",
    "decision_boundary": "A verifier must **reject** a delegated chain — not merely warn — when it cannot reconcile a `parent_scope` claim with the parent's authoritative grant state at the child's `issuance_timestamp`. Concretely, the boundary is: - If the parent's grant state is resolvable and `parent_scope ⊄ resolved_parent_grant` → **reject** (forgery or stale-cache delegation). ...",
    "operational_effect": "Downstream, the effect is a **capability-laundering channel**: an honest intermediary with a stale delegation cache, or a compromised one, becomes a mint for scopes it does not hold, and the forgery is *structurally indistinguishable* from a legitimate chain to any verifier that checks hops in isolation. Because the forged scope passes through correctly-sign..."
  },
  "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": "aab1103b0dc9703c777b6c9b53f287128129c85d997507b3a2322d8267f7cbd6",
    "verified_classes": [
      "ScopeAttenuationForgery",
      "GrantState",
      "Credential"
    ],
    "verified_functions": [
      "resolve_grant",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeAttenuationForgery"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
