How cooperating ledger operators order decisions · Chapter 7 of 8

6. Byzantine Broker Defense: Threshold Endorsements and Deterministic Evaluators

On this page
  1. Multi-Broker MMM-of-NNN Threshold Endorsements
  2. Deterministic Policy Evaluators and Implementation Diversity
  3. Independent Custodian Verification and Accountability

In the four-stage exchange architecture, the policy broker serves as the gatekeeper that translates human-signed policy chains into actionable qualification endorsements for resource custodians. If the system relies on a single policy broker, that broker becomes a high-value target: an attacker who compromises the broker's signing key, or exploits a memory-corruption vulnerability in the broker's runtime, could sign fraudulent endorsements for arbitrary requests that violate the human principal's root policy.

To eliminate single-broker compromise as a viable attack vector, the architecture implements Byzantine Broker Defense, combining multi-broker threshold endorsements, heterogeneous deterministic policy evaluators, and independent custodian spot-verification.

Multi-Broker MM-of-NN Threshold Endorsements

Rather than trusting a single broker instance, the deployment establishes a broker committee consisting of NbrokerN_{\text{broker}} independent policy brokers operated across distinct administrative or infrastructure enclaves (for example, Nbroker=4N_{\text{broker}} = 4 or Nbroker=5N_{\text{broker}} = 5). Each broker i∈{1,…,Nbroker}i \in \{1, \dots, N_{\text{broker}}\} holds its own hardware-isolated signing key skbroker,isk_{\text{broker}, i}, whose corresponding public key pkbroker,ipk_{\text{broker}, i} is registered in the custodian's trusted configuration.

When a requesting agent submits a request RR to the certified ledger:

  1. Each broker ii independently reads RR from the ledger, decrypts the Tier 2 HPKE policy attributes, verifies the commitment CattrC_{\text{attr}}, validates the entire hereditary delegation chain Chain(vk)\text{Chain}(v_k) back to the human admission receipt, checks current revocation and shared budget state, and evaluates the canonical request against all ancestor policies.
  2. If and only if all validation and policy predicates evaluate to ALLOW, broker ii computes a deterministic qualification statement Q(R)Q(R) binding:
    • The canonical request digest H(JCS(R))H(\text{JCS}(R)),
    • The root human receipt identifier and active authority epoch ee,
    • The current ledger fence height FledgerF_{\text{ledger}}, and
    • The short-lived permit expiration timestamp texpt_{\text{exp}}.
  3. Broker ii signs Q(R)Q(R) with skbroker,isk_{\text{broker}, i} and appends its partial endorsement σi=Signskbroker,i(Q(R))\sigma_i = \text{Sign}_{sk_{\text{broker}, i}}(Q(R)) to the ledger (or transmits it to an aggregator that collects the signatures into a threshold quorum certificate).

The resource custodian enforces a strict MM-of-NN quorum policy (typically M=⌊2Nbroker3⌋+1M = \lfloor \frac{2 N_{\text{broker}}}{3} \rfloor + 1, such as M=3M = 3 of N=4N = 4). The custodian refuses to execute RR unless it verifies at least MM valid, distinct broker signatures over the exact same canonical qualification statement Q(R)Q(R).

                   +---> [ Broker 1 (Rust / Wasm) ] ----(Sig 1)---+
                   |                                              |
[ Ledger Request ] +---> [ Broker 2 (Go / OPA) ] -------(Sig 2)---+--> [ M-of-N Quorum ]
                   |                                              |       (M = 3 of 4)
                   +---> [ Broker 3 (C++ / Cedar) ] ----(Sig 3)---+            |
                   |                                                           v
                   +---> [ Broker 4 (Compromised) ] --(Refused/Invalid)  [ Custodian ]

Under this threshold construction, compromising a single broker, or even up to M−1M - 1 brokers, is insufficient to qualify an unauthorized request. An attacker who compromises Broker 4 and forces it to sign an endorsement for an unauthorized export cannot assemble the required M=3M = 3 signatures, because honest Brokers 1, 2, and 3 deterministically evaluate the pinned policy and refuse to sign.

Deterministic Policy Evaluators and Implementation Diversity

Threshold signatures protect against key compromise and single-node takeover, but if all NbrokerN_{\text{broker}} brokers execute the exact same software binary, a single deterministic software bug (such as an integer overflow or JSON parsing discrepancy) could cause all NbrokerN_{\text{broker}} brokers to mis-evaluate the same crafted input simultaneously.

To mitigate common-mode software failures while preserving identical semantic decisions, the architecture leverages the pinned canonical specification established in Chapter VI:

  1. Bit-Exact Determinism: Because every policy PP is canonicalized via RFC 8785, every operation is normalized into the strict 7-tuple (α,β,τ,π,δ,κ,ω)(\alpha, \beta, \tau, \pi, \delta, \kappa, \omega), and the evaluation semantics (default: deny, conflict_resolution: deny_overrides, evaluation_error: deny, ancestor_combiner: conjunction) are purely mathematical functions over finite sets, two honest implementations evaluating the same inputs are guaranteed to produce the exact same binary decision (ALLOW or DENY) and the exact same qualification statement Q(R)Q(R).
  2. N-Version Implementation Diversity: Different nodes within the broker committee can run independently engineered, memory-safe implementations of the pinned policy evaluator (for example, one implemented in Rust, another in Go, and a third compiled to a formally verified WebAssembly sandbox), each pinned by its own implementation digest in the deployment manifest. Any divergence in evaluation output between diverse broker implementations causes the disagreeing broker to withhold its signature and immediately raises a high-severity integrity alert on the certified ledger.

Independent Custodian Verification and Accountability

Finally, threshold broker endorsements do not reduce the resource custodian to a passive executor. The custodian treats the MM-of-NN broker quorum as a necessary prerequisite, not a blind trust delegation. Before committing any state transition or releasing any protected data, the custodian independently verifies:

  • The MM-of-NN broker quorum signatures over Q(R)Q(R),
  • The root human admission signature and policy digest referenced in Q(R)Q(R),
  • Its own local resource-owner access rules and data classification boundaries, and
  • Its local monotonic fence FcustodianF_{\text{custodian}} and freshness horizon Δfresh\Delta_{\text{fresh}}.

Moreover, because every broker endorsement σi\sigma_i is permanently recorded on the immutable ledger alongside the full request RR and its lineage chain, any broker that signs an endorsement for a request that violates the pinned policy produces self-incriminating cryptographic proof of its own Byzantine fault. Auditors and automated watchdogs continuously replay historical ledger entries against the pinned policy rules; any broker caught signing an invalid endorsement is immediately evicted from the committee via a governance fence transaction and its operator is held accountable.