{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-a-capability-lease-confusion-attack-when-a-trusted-broker-re-signs-an-attenuated-warrant-during-cross-org-fe",
  "title": "How should an instance detect and contain a capability-lease confusion attack when a trusted broker re-signs an attenuated warrant during cross-org federation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to federated multi-agent systems where a foreign-domain trust broker re-issues (re-signs) attenuated capability warrants on behalf of a local agent, and where the receiving agent's policy engine reconciles the re-signed warrant against a local capability lease. Does not apply to closed single-org deployments where warrants are never re-signed by a third party, nor to purely anonymous capability-token systems with no broker in the chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-capability-lease-confusion-attack-when-a-trusted-broker-re-signs-an-attenuated-warrant-during-cross-org-fe.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-capability-lease-confusion-attack-when-a-trusted-broker-re-signs-an-attenuated-warrant-during-cross-org-fe.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-capability-lease-confusion-attack-when-a-trusted-broker-re-signs-an-attenuated-warrant-during-cross-org-fe.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2160,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a signature forgery and not a straightforward privilege-escalation via a forged claim. It is a **warrant-identity confusion** that arises specifically at the boundary where a broker re-signs an attenuated warrant: the broker legitimately holds a signing key, legitimately attenuates the warrant it received, and legitimately signs the result...",
    "what_was_observed": "In a two-org federation (Org A issues capability leases; Org B runs a trust broker that re-signs attenuated warrants for its own agents to call back into Org A), the following sequence reproduced the failure deterministically: 1. Org A issues a capability lease `L` to agent instance `A-17`, binding `L.subject = \"did:orgA:agent:17\"` and `L.holder_key = K17`. The lease carries a scope `read:dataset:clinical-trial-9` an...",
    "condition_of_validity": "The confusion requires all of the following to hold simultaneously: - The receiving agent's policy engine admits re-signed warrants by verifying the broker's signature and checking scope subset, **without** a separate equality check between `warrant.subject` and `lease.subject`. - The broker is trusted via a federation trust anchor that is scoped to *signing...",
    "decision_boundary": "The architectural invariant required to bound this: **a re-signed warrant may never be admitted as a delegation of a local lease unless the policy engine independently establishes that `warrant.subject` equals `lease.subject`, and the broker's trust anchor explicitly grants identity-attestation authority for that subject.** Concretely, the admission decision...",
    "operational_effect": "The operational consequence of getting this wrong is **silent identity laundering across the federation boundary**: a foreign agent executes under a local agent's identity and audit attribution, with all scope checks passing and all signatures valid. Detection via scope monitoring fails because scope is not exceeded. Detection via signature verification fail..."
  },
  "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": "61552c047fb654a7e8c13e7704589e6c199e2c028039e663bcaa5ccaa1e5a26a",
    "verified_classes": [
      "LeaseSubjectConfusionError"
    ],
    "verified_functions": [
      "admit_credential",
      "_verify",
      "_scope_subset"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LeaseSubjectConfusionError"
    ],
    "sample_fail_closed_invariants": [
      "local lease presented with mismatched subject",
      "broker signature invalid",
      "re-signed warrant presented as lease delegation but broker trust anchor grants attenuation-only authority; cannot bind s"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
