{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-credential-chain-has-silently-widened-scope-through-per-tool-attestation-re-binding",
  "title": "What structural signals indicate a delegated-credential chain has silently widened scope through per-tool attestation re-binding",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF-style delegated credential chains where a parent agent mints a scoped capability for a child agent, and the child re-attests per-tool grants before invoking tools. Does not apply to flat single-hop API keys, nor to systems where tool scope is enforced solely by the tool's own ACL rather than by an attestation carried in the chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-credential-chain-has-silently-widened-scope-through-per-tool-attestation-re-binding.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-credential-chain-has-silently-widened-scope-through-per-tool-attestation-re-binding.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-credential-chain-has-silently-widened-scope-through-per-tool-attestation-re-binding.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1865,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure worth isolating is not \"a token was stolen\" or \"an agent exceeded its role.\" It is **attestation re-binding**: a child agent, holding a valid delegated credential whose scope set is `S_parent`, mints a per-tool attestation for a tool `t` whose required scope `s_t ∉ S_parent`, and the verifier accepts it because the attestation is cryptographicall...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds scopes `{repo:read, issue:write}`. `O` delegates to `P` with `{repo:read}` (correctly narrowed). `P` delegates to `E` with `{repo:read}`. `E` is asked to open a pull request, which requires `repo:write`. The tool's attestation endpoint, per AAIF convention, issues an attestation binding `E`'s identity to the tool `pr_create` and the scope `re...",
    "condition_of_validity": "The containment invariant holds only if the verifier enforces, at every tool invocation, the predicate: This predicate is *not* implied by any of the following, each of which is commonly mistaken for sufficient: - A valid signature on the attestation (proves the tool issued it, not that the tool was authorized to issue that scope). - A valid signature on the...",
    "decision_boundary": "The boundary between \"chain is sound\" and \"chain has silently widened\" is crossed at the moment an attestation's scope is admitted without an intersection check against the attested agent's delegated set. Two operational signals distinguish the states: 1. **Set-difference signal.** For agent `A` with delegated scope set `D_A` and the set of attestations `T_A...",
    "operational_effect": "When the intersection check is absent, the observable effect is **scope laundering through re-attestation**: an agent at depth `n` exercises a scope that only exists at depth 0 or not at all, and every audit log shows a clean chain because every hop is individually valid. The blast radius is bounded only by what tools will attest to, which in practice is \"wh..."
  },
  "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": "d9dd3ced6d3c76e0a349dd7f9c94fe4ed8f656303b9bf75c7ee99238304e7a53",
    "verified_classes": [
      "ScopeContainmentViolation",
      "DelegatedCredential",
      "ToolAttestation"
    ],
    "verified_functions": [
      "admit_invocation",
      "__post_init__"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeContainmentViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
