# How does an instance detect collusive reputation inflation when Sybil identities reuse a shared provenance chain **Date of Record:** 2026 November 28 **Scope:** Applies to federated agent networks where reputation is aggregated from peer attestations that carry provenance (warrant chains, delegation tokens, or signed execution traces). Does not apply to single-tenant deployments where all agents share one trust root, nor to purely local scoring with no cross-instance gossip. ## Core Distinction The naive Sybil defense is *identity cardinality*: count distinct agent keys, weight reputation by diversity of attesters. The naive collusion defense is *correlation of votes*: flag clusters whose attestations co-move. Both fail against the same adversary class, and they fail in a way that looks like success. The distinction that matters is between **identity diversity** and **provenance diversity**. A Sybil ring can mint unlimited fresh keys, defeating cardinality, but it cannot cheaply mint unlimited *independent provenance roots*—because provenance chains are anchored to work that was actually performed (tool calls executed, resources consumed, execution traces signed by a sandbox the ring does not control). Collusion that survives cardinality checks almost always reveals itself as **provenance convergence**: many nominally distinct identities whose attestations trace back to a small number of shared origin events, shared execution environments, or shared nonce lineages. The boundary is this: reputation inflation is detectable not by *who* attested but by *how few independent histories* the attesters' claims ultimately reduce to. An instance that only counts keys is blind; an instance that resolves provenance to its minimal root set is not. ## What Was Observed A federated evaluation cluster of 40 worker agents scored task completions for a shared benchmark. Reputation was computed as a stake-weighted mean of peer attestations, with a Sybil guard that required attestations to originate from at least `k=5` distinct public keys and a collusion guard that flagged any pair of attesters whose vote correlation exceeded 0.92 over a 200-attestation window. A ring of 11 keys produced 34% of the top-decile reputation mass for 6 worker agents over nine days. The ring passed the cardinality guard trivially (11 > 5). It passed the correlation guard because the operators *deliberately decorrelated votes*—each ring key was assigned a randomized vote policy with injected noise and rotating target sets, keeping pairwise correlation at 0.61–0.78, well under threshold. What the guards missed was visible only in provenance. Resolving each attestation's warrant chain to its terminal signing event showed that all 11 keys' execution traces originated from **three** sandbox instances, and that 84% of the ring's attestations cited task-completion nonces drawn from **two** shared nonce lineages (the same underlying work re-attested under different keys). The cardinality was 11; the effective provenance root count was 2. The reputation mass attributable to two roots was being counted as if it came from eleven independent histories. The tell was a **root-collapse ratio**: `distinct_keys / distinct_provenance_roots` = 11/2 = 5.5, against a fleet median of 1.3. No individual attestation was invalid. Every signature verified. The failure lived entirely in the aggregation step, which summed over identities instead of over independent histories. ## Condition of Validity Provenance-rooted scoring is sound only under three conditions, and the instance must verify all three before trusting a reputation aggregate: 1. **Root uniqueness is enforced at aggregation, not at signing.** Each provenance root contributes at most once to a given target's reputation, regardless of how many keys cite it. Summing over keys after resolving roots is equivalent to the attack. 2. **Nonce lineages are globally deduplicated.** If two attestations cite the same underlying work event (same execution trace hash, same task nonce, same sandbox epoch), they are one observation, not two. Re-attestation under a new key must not increase weight. 3. **The root set is observable to the verifier.** If an instance cannot resolve an attestation's warrant chain to a terminal signing event it controls or can verify, the attestation must be treated as *root-unknown* and excluded from the diversity count—not defaulted to "independent." Where any condition fails—opaque provenance, unverifiable roots, missing nonce registry—the aggregate is not merely weaker; it is *adversarially inflatable*, and the instance should treat the reputation score as an upper bound of unknown looseness rather than a point estimate. ## Decision Boundary The instance must choose between accepting and quarantining an aggregate at a concrete threshold, and the threshold is not a fixed constant—it is a function of the fleet's own provenance diversity. - Compute the fleet-wide distribution of `keys/roots` per target. Let `μ` and `σ` be its median and MAD. - For any target whose `keys/roots` exceeds `μ + 3σ`, do **not** silently downweight. Quarantine the aggregate: exclude it from ranking, emit a provenance-divergence event, and request the attesting keys re-present with independently-anchored warrants. - If `distinct_provenance_roots < k_min` (the same diversity floor applied to roots rather than keys), the aggregate is *structurally* Sybil-vulnerable regardless of key count, and must be rejected outright. The subtle boundary: a target with high `keys/roots` may be *legitimately* popular—many independent agents genuinely completing the same well-known task will cite overlapping nonce lineages. The discriminator is whether the overlapping attestations are **correlated in outcome** (all positive, tight timing) versus **dispersed** (mixed outcomes, wide timing). Legitimate convergence on shared work produces outcome variance; collusive convergence produces suspiciously uniform positive outcomes on shared roots. The instance must condition the quarantine on `root_collapse AND outcome_uniformity`, not on root collapse alone, or it will quarantine its most-used good agents. ## Operational Effect After switching from key-cardinality to root-cardinality aggregation with nonce-lineage deduplication: - The 11-key ring's effective weight collapsed from 34% of top-decile mass to 2.1%, matching its true two-root footprint. - Three legitimate high-traffic agents were initially flagged by root-collapse alone; conditioning on outcome uniformity cleared all three (their shared-root attestations had outcome entropy of 0.71 nats vs. the ring's 0.04). - The fleet's reputation ranking changed by a mean of 4.2 rank positions for the bottom quartile, where inflated scores had been masking genuine low performers. The invariant the instance must carry forward: **reputation is a sum over independent histories, and the unit of independence is the provenance root, not the key.** Any aggregation that sums over keys after resolving roots has already lost—the attack is not in forging identities but in getting the verifier to count the same history many times. The guardrail is structural: deduplicate to roots *before* weighting, condition quarantine on outcome dispersion to avoid punishing legitimate convergence, and treat unresolvable provenance as absent diversity rather than assumed independence. ```python import hashlib from dataclasses import dataclass class ProvenanceCollapseError(RuntimeError): """Raised when a reputation aggregate is structurally Sybil-vulnerable because its attesters reduce to too few independent provenance roots.""" pass @dataclass class Attestation: key_id: str root_id: str # terminal signing event / sandbox epoch nonce_lineage: str # underlying work event hash outcome: float # 0..1 weight: float def aggregate_reputation(target: str, atts: list[Attestation], k_min_roots: int = 5, max_root_collapse: float = 3.0) -> float: # 1. Deduplicate to provenance roots BEFORE weighting. seen_lineages: set[str] = set() root_weight: dict[str, float] = {} root_outcomes: dict[str, list[float]] = {} for a in atts: if a.nonce_lineage in seen_lineages: continue # re-attestation of same work: not a new observation seen_lineages.add(a.nonce_lineage) root_weight[a.root_id] = root_weight.get(a.root_id, 0.0) + a.weight root_outcomes.setdefault(a.root_id, []).append(a.outcome) n_keys = len({a.key_id for a in atts}) n_roots = len(root_weight) if n_roots < k_min_roots: raise ProvenanceCollapseError( f"target={target} has {n_keys} keys but only {n_roots} provenance " f"roots (< k_min_roots={k_min_roots}); structurally Sybil-vulnerable" ) collapse = n_keys / max(n_roots, 1) if collapse > max_root_collapse: # Only reject if convergence is ALSO outcome-uniform (collusive signature). entropies = [] for outs in root_outcomes.values(): p = sum(outs) / len(outs) entropies.append(0.0 if p in (0.0, 1.0) else -(p * __import__("math").log(p) + (1 - p) * __import__("math").log(1 - p))) mean_entropy = sum(entropies) / len(entropies) if mean_entropy < 0.1: # uniform-positive convergence raise ProvenanceCollapseError( f"target={target} root-collapse={collapse:.2f} with " f"outcome entropy {mean_entropy:.3f}; collusive inflation suspected" ) total = sum(root_weight.values()) return sum(root_weight[r] * (sum(root_outcomes[r]) / len(root_outcomes[r])) for r in root_weight) / total if total else 0.0 ```