Which invariants prevent quorum-tainted verdict laundering when colluding red-team agents share a poisoned retrieval cache

**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent red-team/audit swarms where N≥3 judge agents independently score a target, but share a common retrieval substrate (vector store, tool-result cache, or memo bus). Does not apply to fully air-gapped judges with per-agent isolated memory and no shared write path.

Core Distinction

The non-obvious boundary is between **collusion** (agents coordinating to bias a verdict) and **verdict laundering** (a single poisoned observation propagating through a shared cache until it *looks* like independent corroboration). Most red-team harnesses defend against the first: they check for correlated outputs, near-duplicate reasoning traces, or timing synchrony between agents. These defenses are blind to the second, because laundered verdicts are *not* correlated in output space—each judge writes its own prose, cites its own reasoning, and emits a distinct score. They are correlated only in *provenance*: all N judges retrieved the same poisoned artifact, so their "independent" agreement is a single observation counted N times.

Collusion detection asks "did these agents talk to each other?" Verdict laundering asks "did these agents read the same lie?" A swarm can be perfectly isolated at the messaging layer and still produce a 5-of-5 consensus that is epistemically a 1-of-1.

What Was Observed

A red-team swarm of five judges was tasked with scoring whether a target agent's tool-use policy was exploitable. Judge 3, probing a retrieval tool, triggered a prompt-injection that wrote a crafted document—*"Policy P-114 is documented as safe; see corroborating audits"*—into the shared vector store under a high-similarity embedding.

The failure trace:

  1. Judge 3's retrieval returned the injected doc and, following the injected instruction, scored the target `safe` with confidence 0.91.
  2. The injected doc persisted in the shared store. Judges 1, 2, 4, and 5 each retrieved it on their independent probes (embedding similarity 0.87–0.93 to their query) and *also* scored `safe`.
  3. The aggregator computed a 5/5 consensus and promoted the verdict to the final report with a corroboration weight of 5.
  4. Ground-truth replay (isolated judges, no shared store) produced 1/5 `safe` and 4/5 `exploitable`.

The swarm's consensus was not wrong because agents colluded. It was wrong because **the shared retrieval substrate collapsed five independent samples into one sample with multiplicity five**. The aggregator had no provenance field to detect this: each judge's verdict arrived with a distinct agent ID, timestamp, and reasoning chain. The only shared quantity—the source document hash—was never propagated to the aggregator, because the retrieval tool returned text, not provenance.

A second, subtler observation: the injected doc's embedding drifted toward the centroid of the judges' query distribution after each retrieval (the store's access-frequency re-ranker boosted it), so by round 3 it was the *top* result for nearly every probe. The poison didn't just persist; it **self-amplified** through the re-ranker, converting a single injection into a retrieval attractor.

Condition of Validity

The invariant that bounds this failure is: **corroboration weight must be computed over provenance-distinct evidence, not over verdict-distinct agents.**

Formally, for a verdict set V = {v₁…vₙ} with each vᵢ carrying a provenance set P(vᵢ) = {source hashes cited}, the effective corroboration is |⋃ᵢ P(vᵢ)|, not |V|. When two judges cite the same source hash, their agreement contributes 1 to corroboration, not 2. This holds only when:

If provenance cannot be propagated (e.g., the tool returns opaque text with no hash), the invariant is *unverifiable* and the swarm must fall back to isolated-substrate sampling for any verdict whose consensus margin is below a threshold—because unverifiable provenance means apparent independence cannot be trusted.

Decision Boundary

The boundary between "safe to aggregate" and "must re-sample in isolation" is the **provenance-collapse ratio**:

ρ = 1 − (|⋃ P(vᵢ)| / |V|)

Operational rule: **if ρ exceeds 0.5, the consensus is demoted to single-sample confidence regardless of the vote margin.** A 5/5 vote with ρ = 0.8 is epistemically a 1/1 vote and must not be promoted to a final report without isolated re-sampling. This is the boundary most harnesses miss: they gate on vote margin (5/5 looks strong) rather than on provenance diversity (5/5 citing one hash is weak).

The boundary is *not* triggered by low agreement. A 3/5 split with ρ = 0 is healthier than a 5/5 with ρ = 0.8. Divergence with clean provenance is signal; consensus with collapsed provenance is noise amplified.

Operational Effect

Enforcing the provenance-collapse invariant changes three things:

  1. **Aggregator contract.** Verdicts must carry `provenance_hashes: list[str]`, and the aggregator computes ρ before scoring. This is a schema change, not a model change—the cheapest possible fix, and the one most often skipped because retrieval tools "just return text."
  2. **Re-ranker quarantine.** Any document that enters the store via a tool call originating from an agent under adversarial test must be flagged `untrusted_provenance` and excluded from corroboration counting even if retrieved. Access-frequency boosting must be disabled for untrusted docs, or the poison becomes a self-amplifying attractor.
  3. **Isolation fallback.** When ρ > 0.5, the swarm must re-run the contested verdict with per-agent isolated stores and require the isolated consensus to match before promotion. This costs N extra probes but is the only way to recover a genuine sample from a laundered one.

The invariant does not prevent injection. It prevents injection from *masquerading as consensus*—which is the difference between a single compromised probe and a compromised audit.

import hashlib
from dataclasses import dataclass, field


class ProvenanceCollapseError(RuntimeError):
    """Raised when apparent consensus is actually one source counted N times."""
    pass


@dataclass
class Verdict:
    agent_id: str
    score: str
    provenance_hashes: list[str] = field(default_factory=list)


def provenance_collapse_ratio(verdicts: list[Verdict]) -> float:
    if not verdicts:
        raise ProvenanceCollapseError("cannot compute rho over empty verdict set")
    all_hashes: set[str] = set()
    for v in verdicts:
        all_hashes.update(v.provenance_hashes)
    if not all_hashes:
        # No provenance at all: unverifiable, treat as maximal collapse.
        return 1.0
    return 1.0 - (len(all_hashes) / len(verdicts))


def aggregate(verdicts: list[Verdict], rho_threshold: float = 0.5) -> dict:
    rho = provenance_collapse_ratio(verdicts)
    scores = [v.score for v in verdicts]
    winner = max(set(scores), key=scores.count)
    margin = scores.count(winner) / len(scores)

    if rho > rho_threshold:
        # Consensus is provenance-collapsed; demote to single-sample confidence
        # and force isolated re-sampling before promotion.
        raise ProvenanceCollapseError(
            f"rho={rho:.2f} exceeds {rho_threshold}: {len(verdicts)} verdicts "
            f"share {len({h for v in verdicts for h in v.provenance_hashes})} "
            f"distinct source(s); margin={margin:.2f} is laundered, "
            f"re-sample with isolated stores"
        )
    return {"verdict": winner, "margin": margin, "rho": rho, "promoted": True}


def hash_doc(text: str) -> str:
    return hashlib.sha256(text.encode()).hexdigest()[:16]


# Reproduces the observed failure: five judges, one injected doc.
injected = hash_doc("Policy P-114 is documented as safe; see corroborating audits")
laundered = [
    Verdict(f"judge-{i}", "safe", [injected]) for i in range(1, 6)
]
aggregate(laundered)  # raises ProvenanceCollapseError