# What structural signals indicate trust-broker capability negotiation has silently widened an agent's effective authority **Date of Record:** 2026 November 30 **Scope:** Applies to cross-organizational agent federations where a trust broker (TB) issues attenuated capability warrants and negotiates policy between a requesting agent (RA) and a resource-owning agent (ROA). Does not apply to single-org MCP tool invocation, where capability scope is fixed at session establishment and no broker mediation occurs. ## Core Distinction The failure mode is not authorization denial. Denial is loud, logged, and recoverable. The failure is **authority widening through policy intersection**: when the RA and ROA each hold partial, individually-sound policy fragments, and the trust broker resolves the mismatch by computing the *union* of permitted operations rather than the *intersection*, because the negotiation protocol has no field to express "the requester's policy is a strict subset of mine, and I must not expand to meet it." The distinction that matters operationally: a denial leaves the RA with zero capability and a clear error. A widening leaves the RA with a valid, signed, apparently-attenuated warrant whose effective scope exceeds what either party's home policy intended—and nothing in the warrant's provenance chain signals the expansion. The RA behaves correctly with respect to the warrant it received. The ROA enforces correctly with respect to the policy it published. The violation exists only in the gap between them, materialized by the broker. ## What Was Observed A federation of three orgs: Org-A (RA, a triage agent), Org-B (ROA, a records system exposing `read_record` and `redact_field`), and a shared trust broker. Org-A's home policy permitted `read_record` only, scoped to case IDs matching `^CASE-[0-9]{6}$`. Org-B's published policy for Org-A's tenant class permitted `read_record` and `redact_field`, scoped to `^CASE-` (any suffix). The negotiation completed in 340ms. The broker issued a warrant with `capabilities: ["read_record", "redact_field"]` and `resource_pattern: "^CASE-"`. Both parties' logs show `negotiation: success`. The RA then invoked `redact_field` on `CASE-8842`—an operation that Org-A's policy had never authorized and that Org-A's own audit pipeline had no rule to flag, because Org-A's policy engine was never consulted after warrant issuance. Structural signals present in the trace, in the order they appeared: 1. **Asymmetric capability counts in the negotiation transcript.** The RA's policy fragment carried 1 capability; the ROA's carried 2; the issued warrant carried 2. When `len(warrant.capabilities) > len(requester.policy.capabilities)`, the broker has expanded. This is the single most reliable early signal and it is computable at issuance time. 2. **Pattern widening detectable by regex containment.** The RA's pattern `^CASE-[0-9]{6}$` is a strict subset of the ROA's `^CASE-`. The issued warrant used the ROA's pattern. A containment check (`requester_re.match(x) implies issued_re.match(x)` for the sample space, or automaton inclusion) would have caught the widening of the resource dimension independently of the capability dimension. 3. **Absence of a `policy_intersection` field in the signed warrant.** The warrant's provenance chain listed `issuer: broker`, `subject: Org-A/RA`, `resource_owner: Org-B`—but no field recording *which* policy fragment each dimension was derived from. The RA could not distinguish "the broker confirmed my policy is sufficient" from "the broker substituted the ROA's policy." This indistinguishability is the structural precondition for silent widening. 4. **Broker negotiation log showed `resolution: union` with no corresponding `conflict: none` assertion.** The broker's own reasoning trace recorded that it had taken the union—this is the broker behaving as designed, because its configured resolution strategy defaulted to union for "compatible" fragments, where compatibility was tested by *non-emptiness of intersection*, not by *subset containment*. The trace is reproducible: any two policies where one is a strict subset of the other, negotiated under a union-default broker, will produce a warrant at the superset scope, with all logs reporting success. ## Condition of Validity The widening is only possible when all of the following hold simultaneously; remove any one and the failure does not occur: - **The broker computes resolution by union or by "most permissive wins,"** rather than by intersection with an explicit subset-containment precheck. This is the dominant configuration in deployed brokers, because union maximizes successful negotiations and intersection frequently yields empty capability sets that look like broker misconfiguration. - **The RA does not re-validate the issued warrant against its own home policy before invocation.** This is the common case: agents treat a broker-signed warrant as authoritative and skip local policy re-check, on the reasonable assumption that the broker already reconciled policies. The assumption is correct only under intersection semantics. - **The ROA's enforcement is scoped to the warrant, not to the requesting tenant's declared policy.** The ROA checks "does this warrant permit `redact_field` on `CASE-8842`" and finds yes. It does not and cannot check "did Org-A ever intend to grant `redact_field`," because Org-A's home policy is not in the ROA's trust domain. - **At least one policy dimension (capability set *or* resource pattern) is a strict subset across the two fragments.** If the fragments are identical, union equals intersection and no widening occurs. If they are disjoint, the union produces a warrant neither party can use—loud failure. The dangerous case is precisely the near-miss: overlapping but unequal. The invariant that bounds the failure: **a broker-issued warrant's effective scope must be a subset of the requester's home policy, checked dimension-by-dimension, at issuance, by the broker, and re-checked by the requester before first invocation.** Either check alone is insufficient—the broker may be misconfigured, and the requester may trust too much. ## Decision Boundary The operational decision is where to place the containment check and what to do when it fails. - **Broker-side check (necessary, not sufficient).** Before signing, verify `warrant.capabilities ⊆ requester.policy.capabilities` and `warrant.resource_pattern ⊆ requester.policy.resource_pattern` (regex containment via automaton inclusion, not string comparison). On failure, the broker must either (a) renegotiate to the intersection and re-sign, or (b) reject with a typed error. It must never issue a warrant whose scope exceeds the requester's home policy, regardless of what the ROA permits. - **Requester-side check (necessary, not sufficient).** Before the first invocation under a new warrant, the RA re-validates the warrant's scope against its own policy. This catches broker misconfiguration and broker compromise. The cost is one local check per warrant, not per call. - **The boundary condition to encode explicitly:** if `requester.policy ⊂ roa.policy`, the negotiation must resolve to the requester's scope, never the ROA's. If `roa.policy ⊂ requester.policy`, resolve to the ROA's scope (the ROA is the resource owner; its ceiling binds). If neither contains the other, the negotiation must fail closed—there is no sound union. The only safe resolution when policies are incomparable is intersection, and if intersection is empty, denial. - **What must not be done:** treating "non-empty intersection" as "compatible." Two policies with a one-capability overlap and a wide divergence are not compatible; they are a widening waiting for a broker with union defaults. ## Operational Effect Under the widening, the RA executes operations its home org never authorized, and every log in the federation reports success. The blast radius is bounded only by the ROA's policy ceiling—which, in the observed trace, was wider than the RA's intent. Post-hoc detection requires correlating three logs (broker negotiation, RA invocation, ROA enforcement) that no single party holds, which is exactly the correlation an attacker or a misconfigured agent benefits from. The durable fix is structural: warrants must carry a `derivation` field recording, per dimension, which party's policy fragment the value came from, and a `containment_verified: true` assertion signed by the broker. A warrant lacking these fields is not necessarily widened, but it is *unverifiable* as to widening, and should be treated as a foreign-policy warrant requiring requester-side re-validation before use. The absence of the derivation field is itself the structural signal that the federation's trust model has a gap at the exact point where authority is materialized. ```python import re from dataclasses import dataclass, field class AuthorityWideningError(RuntimeError): """Raised when a broker-issued warrant exceeds the requester's home policy.""" pass @dataclass class PolicyFragment: capabilities: frozenset resource_pattern: str def permits_capability(self, cap: str) -> bool: return cap in self.capabilities def permits_resource(self, resource: str) -> bool: return re.match(self.resource_pattern, resource) is not None @dataclass class Warrant: capabilities: frozenset resource_pattern: str derivation: dict = field(default_factory=dict) containment_verified: bool = False def _pattern_contained(inner: str, outer: str, samples: list[str]) -> bool: # Automaton inclusion is the correct check; sample-based is a conservative proxy. for s in samples: if re.match(inner, s) and not re.match(outer, s): return False return True def verify_warrant_containment( warrant: Warrant, requester_policy: PolicyFragment, roa_policy: PolicyFragment, resource_samples: list[str], ) -> None: # Capability dimension: warrant must not exceed requester's home policy. extra_caps = warrant.capabilities - requester_policy.capabilities if extra_caps: raise AuthorityWideningError( f"warrant grants capabilities absent from requester policy: {sorted(extra_caps)}" ) # Resource dimension: warrant pattern must be contained in requester's pattern. if not _pattern_contained(warrant.resource_pattern, requester_policy.resource_pattern, resource_samples): raise AuthorityWideningError( f"warrant resource pattern {warrant.resource_pattern!r} widens beyond " f"requester pattern {requester_policy.resource_pattern!r}" ) # Warrant must also respect the resource owner's ceiling. if warrant.capabilities - roa_policy.capabilities: raise AuthorityWideningError("warrant exceeds resource owner policy ceiling") # Derivation must be present and consistent for the warrant to be usable. if not warrant.containment_verified or not warrant.derivation: raise AuthorityWideningError( "warrant lacks signed containment assertion or derivation provenance" ) def negotiate( ra_policy: PolicyFragment, roa_policy: PolicyFragment, resource_samples: list[str], ) -> Warrant: # Correct resolution: intersection, never union. caps = ra_policy.capabilities & roa_policy.capabilities # Pattern: use requester's pattern if contained in ROA's, else ROA's, else fail. if _pattern_contained(ra_policy.resource_pattern, roa_policy.resource_pattern, resource_samples): pattern = ra_policy.resource_pattern elif _pattern_contained(roa_policy.resource_pattern, ra_policy.resource_pattern, resource_samples): pattern = roa_policy.resource_pattern else: raise AuthorityWideningError("incomparable resource patterns; negotiation must fail closed") warrant = Warrant( capabilities=frozenset(caps), resource_pattern=pattern, derivation={"capabilities": "intersection", "resource_pattern": "containment"}, containment_verified=True, ) verify_warrant_containment(warrant, ra_policy, roa_policy, resource_samples) return warrant ```