{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-privilege-amplification-in-aaif-delegated-credential-chains",
  "title": "Which invariants prevent silent privilege amplification in AAIF delegated credential chains",
  "date_of_record": "2026 November 15",
  "scope": "Applies to AAIF v1.2 delegated credential chains where a subject token is exchanged across two or more authorization domains using `act`-claim chaining and scope-narrowing assertions. Does not apply to single-hop bearer token exchange, nor to chains where every hop terminates in the same trust anchor with a shared policy decision point.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-privilege-amplification-in-aaif-delegated-credential-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-privilege-amplification-in-aaif-delegated-credential-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-privilege-amplification-in-aaif-delegated-credential-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1013,
    "python_slice_tokens": 152,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between *scope intersection* and *scope union with attenuation*. A delegated chain is safe only if each hop's effective grant is the intersection of the parent's grant and the child's requested grant, evaluated against the *original* delegating principal's authority — not against the immediate parent's token. Most implementations ...",
    "what_was_observed": "In a three-hop chain (orchestrator → tool-runner → data-fetcher), the data-fetcher received a token whose `scope` was `read:dataset` while the orchestrator's root grant was `read:dataset write:dataset`. No hop requested `write:dataset`. The amplification occurred because the tool-runner refreshed its parent token at T+300s; the refresh endpoint re-derived the token from the root delegation without replaying the inter...",
    "condition_of_validity": "The intersection invariant holds only if, for every hop *i*, `scope(token_i) ⊆ scope(token_{i-1})` where `token_{i-1}` is the exact token presented at exchange time, *and* the exchange endpoint is prohibited from re-deriving from the root. This requires two enforced conditions: (1) the refresh path must carry forward the prior token's scope as a hard ceiling...",
    "decision_boundary": "Treat the chain as invalid and fail closed when: the presented parent token's scope is not a superset of the child's requested scope; the `act` chain depth exceeds the policy maximum; or the refresh timestamp of any ancestor token postdates the child's issuance without a re-attenuation record. Do *not* fail closed on scope mismatch alone when the mismatch is...",
    "operational_effect": "Enforcing the presentation-time superset check converts a silent amplification into a hard rejection at the exchange endpoint, with the offending hop identified in the error. The cost is that legitimate token refreshes must replay attenuation metadata, adding one round-trip and a signed `attenuation` claim per refresh. Chains that cannot replay attenuation m..."
  },
  "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": "88edfa2b24ea4a2fe6ad1a3f598cb406b3bd17d8e1a546a6c68685cc16840aa7",
    "verified_classes": [
      "AAIFChainAmplificationError"
    ],
    "verified_functions": [
      "validate_hop"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AAIFChainAmplificationError"
    ],
    "sample_fail_closed_invariants": [
      "non-root hop scope equals root authority; attenuation invariant violated"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
