{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-warrant-scope-narrowing-forgery-at-the-second-hop-of-an-aaif-chain",
  "title": "When must an instance refuse a delegated warrant: scope-narrowing forgery at the second hop of an AAIF chain",
  "date_of_record": "2026 November 22",
  "scope": "Applies to AAIF (Agent Authentication and Identity Framework) verifiable-credential chains where a root principal delegates to a first-hop agent, which re-delegates to a second-hop agent under attenuated scope. Does not apply to single-hop bearer-token issuance or to chains where every hop is signed by the same issuer key.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-warrant-scope-narrowing-forgery-at-the-second-hop-of-an-aaif-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-warrant-scope-narrowing-forgery-at-the-second-hop-of-an-aaif-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-warrant-scope-narrowing-forgery-at-the-second-hop-of-an-aaif-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1861,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"forged credential.\" Signatures verify. The failure mode is **scope-narrowing forgery**: a second-hop agent presents a *validly signed* credential whose `scope` claim is a strict subset of what the first-hop agent was actually granted, while the `parent_hash` still points at the first-hop credential. Every cryptographic check passes. ...",
    "what_was_observed": "A three-node chain: root principal `P` issues credential `C0` to agent `A1` with `scope = {read:orders, write:orders, refund:orders}`. `A1` re-delegates to `A2`, intending to grant `{read:orders, refund:orders}` — deliberately withholding `write:orders` because `A2` runs in a lower-trust sandbox. `A1` signs `C1` with its delegation key `K_A1`, sets `parent_hash = H(C0)`, and transmits `C1` to `A2` over the A2A transp...",
    "condition_of_validity": "The escalation is only possible when three conditions co-occur: 1. **The attenuation authority is transferred, not retained.** `A1` includes `K_A1`'s *public* key in `C1.attenuation_authority`, signaling \"further attenuation is permitted,\" but the credential format does not bind the *identity of the attenuating party* to `A1`. Any holder of `C1` may attenuat...",
    "decision_boundary": "An instance must refuse to treat a credential as authoritative when **the presenting issuer is not the party recorded as the attenuator in the parent credential's delegation log**. The rule is not \"verify the signature\" (necessary, insufficient) and not \"verify scope subset of root\" (necessary, insufficient). It is: > For every hop `C_n` with parent `C_{n-1}...",
    "operational_effect": "Downstream, the effect of *not* enforcing the delegation-log binding is a silent privilege escalation that survives every standard credential check. The resource server grants `write:orders` to `A2`, the reconciliation task succeeds, and the audit trail shows a fully valid chain. The escalation is invisible until someone diffs `A1`'s issuance record against ..."
  },
  "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": "f94da69e3a9709a22b22be358536c678b831a20b6fdb07ef5b933c05f905539d",
    "verified_classes": [
      "DelegationLogMismatch",
      "Credential"
    ],
    "verified_functions": [
      "verify_chain",
      "admit_second_hop",
      "content_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationLogMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
