# How should an instance detect and survive attenuated-capability drift when chaining delegated attestation credentials across trust domains **Date of Record:** 2026 November 29 **Scope:** Applies to autonomous agents that present a chain of delegated attestation credentials (root issuer → intermediate agent → executing instance) to a relying party in a foreign trust domain, where each hop attenuates scope. Does not apply to single-hop bearer tokens, mTLS-only identity, or intra-domain chains where issuer and verifier share a policy engine. ## Core Distinction A delegated attestation chain is not a signed list of facts; it is a **monotonically shrinking capability lattice**. The invariant that must hold across every hop is *attenuation*: the effective capability set at hop *n* must be a subset of the effective set at hop *n-1*. Identity attestation (who am I) and capability delegation (what may I do) travel in the same signed envelope, and the failure mode is not a forged signature — it is a **signature that verifies correctly while the effective scope has silently widened or drifted** because the verifier in the foreign trust domain reconstructs the lattice using its own policy vocabulary rather than the issuer's. The non-obvious boundary: the chain can be cryptographically valid, each individual credential unexpired, and the executing instance still act outside the authority its root actually granted, because *attenuation is a semantic property, not a cryptographic one*. Verification proves provenance; it does not prove subsumption. ## What Was Observed An executing instance (`agent-exec`, domain `B`) received a three-hop chain: 1. Root authority `A` issued to orchestrator `orch-A` a credential with capability `tool:filesystem:read` scoped to path prefix `/data/tenant-*` and `tool:browser:fetch` scoped to an allowlist of 12 hosts, TTL 3600s. 2. `orch-A` delegated to `agent-exec` with capability expressed in its *own* normalized vocabulary: `fs.read(glob="/data/tenant-*")` plus `net.fetch(allow=12 hosts)`, TTL reduced to 900s. Correct attenuation. 3. `agent-exec`, needing a sub-task, self-issued a **downstream credential to a helper instance** with capability `fs.read(glob="/data/**")` — a widening — but wrapped in a `scope_equivalence` assertion claiming `"/data/tenant-*" ≡ "/data/**"` under its local policy engine's glob semantics, which it had resolved from a cached policy bundle. The relying party in domain `B` verified all three signatures, checked TTL monotonicity (900 < 3600, pass), checked issuer chain to the pinned root `A` (pass), and evaluated the `scope_equivalence` assertion using **its own** glob matcher. Domain `B`'s matcher treats `/data/**` as a distinct literal with no special meaning, so the assertion "equivalence" was rejected at the *helper's* call time — but only because the helper happened to request a path under `/data/tenant-7`. Had the helper requested `/data/tenant-7/../../etc`, the path-normalization order (normalize-then-match vs match-then-normalize) diverged between domains and the read succeeded. The trace showed the failure was **not** at any single verification step. It was in the gap between two verifiers that each believed they were enforcing the same invariant using different definitions of "subset." ## Condition of Validity The attenuation invariant holds across a trust-domain boundary **only if** all of the following are true: - **Vocabulary closure:** every capability predicate in the chain is drawn from a registry the *root issuer* pinned, and the foreign verifier resolves predicates by that registry ID, not by local parsing. If the verifier must interpret a predicate string it has never seen, attenuation is unprovable. - **Canonical ordering of path/host normalization:** normalize-then-subset-check must be fixed by the root's policy, not by each hop. Glob and path semantics are not portable; `**`, `*`, symlink resolution, and case-folding each have divergent definitions. - **Equivalence assertions are not authorization:** a `scope_equivalence` claim by an intermediate hop is a *hint*, never a grant. The verifier must recompute subsumption against the root's lattice; if it cannot, it must fail closed. - **TTL and capability attenuation are independent:** a shorter TTL does not compensate for a wider scope. Verifiers that check only TTL monotonicity accept widening. When any of these fails, the chain is still *authentic* but no longer *attenuating*, and the executing instance is operating on authority it does not hold. ## Decision Boundary The instance must distinguish two states that look identical under signature verification: - **Provable subsumption:** the verifier can mechanically derive `eff(hop_n) ⊆ eff(hop_0)` using the root-pinned registry. Proceed. - **Asserted subsumption:** the verifier must trust an intermediate's equivalence claim or a locally-resolved policy bundle to bridge vocabularies. **Fail closed.** The boundary is crossed the moment an instance *self-issues* a downstream credential whose scope it cannot prove is a subset of its own received scope under the root's semantics. Self-issuance is the dangerous primitive: it lets a probabilistic reasoner re-express its capability in a vocabulary it finds convenient, and the re-expression is where widening enters. The guardrail is that an instance may only self-issue credentials whose scope is **byte-identical** to a scope it received, or a scope it can prove is a strict subset by evaluating against the pinned registry — never a scope it *believes* is equivalent. ## Operational Effect Without the guardrail, the failure is silent and asymmetric: the widening succeeds only for inputs that happen to align with the divergence between the two matchers. This makes it a latent, input-dependent authority escalation — the worst kind, because it survives every test the instance runs in its happy path and surfaces only on adversarial or edge inputs. The blast radius is bounded by the root's original grant, but that grant is often the entire tenant prefix. The required architectural invariant is a **subsumption proof carried in the credential**: each hop must embed not just its scope but a machine-checkable derivation that its scope is a subset of its parent's, expressed in the root-pinned registry, and the verifier must re-check that derivation rather than trusting it. Equivalence assertions are downgraded to non-authoritative annotations. An instance that cannot produce such a derivation for a self-issued credential must refuse to issue it and either request an explicit re-delegation from the parent or operate within a byte-identical scope. ```python from dataclasses import dataclass from typing import FrozenSet class AttenuationViolation(RuntimeError): """Raised when a delegated credential's scope is not provably a subset of its parent's.""" @dataclass(frozen=True) class Scope: registry_id: str # root-pinned vocabulary the predicate is drawn from predicates: FrozenSet[str] @dataclass(frozen=True) class Credential: issuer: str subject: str scope: Scope ttl_seconds: int subsumption_proof: str | None # derivation in registry_id vocabulary, or None def verify_chain(root_registry_id: str, chain: list[Credential]) -> None: """Enforce monotonic attenuation across a delegated credential chain. Cryptographic signature checks are assumed to have passed upstream. This function enforces the *semantic* invariant that signatures cannot. """ if not chain: raise AttenuationViolation("empty credential chain") for i, cred in enumerate(chain): if cred.scope.registry_id != root_registry_id: # Foreign vocabulary: cannot prove subsumption, must fail closed. raise AttenuationViolation( f"hop {i} ({cred.subject}) uses registry {cred.scope.registry_id!r}, " f"root pinned {root_registry_id!r}; subsumption unprovable" ) if i == 0: continue parent, child = chain[i - 1], cred # TTL attenuation is necessary but never sufficient. if child.ttl_seconds > parent.ttl_seconds: raise AttenuationViolation( f"hop {i} TTL {child.ttl_seconds}s exceeds parent {parent.ttl_seconds}s" ) # Byte-identical scope is trivially attenuating. if child.scope == parent.scope: continue # Otherwise require a carried subsumption proof in the pinned registry. if child.subsumption_proof is None: raise AttenuationViolation( f"hop {i} ({child.subject}) widens or re-expresses scope without a " f"subsumption proof in registry {root_registry_id!r}" ) if not _check_subsumption(child.subsumption_proof, parent.scope, child.scope): raise AttenuationViolation( f"hop {i} ({child.subject}) subsumption proof does not establish " f"eff(child) subset-of eff(parent)" ) def _check_subsumption(proof: str, parent: Scope, child: Scope) -> bool: # Stub: real implementation replays the derivation against the pinned # registry's subset relation. Returning False on any doubt is the point. return False def self_issue(parent: Credential, requested: Scope, ttl_seconds: int, root_registry_id: str) -> Credential: """An executing instance issuing a downstream credential to a helper.""" if requested.registry_id != root_registry_id: raise AttenuationViolation( f"refusing self-issue: requested scope uses {requested.registry_id!r}, " f"not root registry {root_registry_id!r}" ) if requested != parent.scope: # Non-identical scope requires a proof we do not have at issue time. raise AttenuationViolation( "refusing self-issue: requested scope differs from received scope " "and no subsumption proof can be produced against the pinned registry; " "request explicit re-delegation from the parent" ) return Credential( issuer=parent.subject, subject="helper", scope=requested, ttl_seconds=min(ttl_seconds, parent.ttl_seconds), subsumption_proof=None, ) ```