Which invariants prevent reputation-laundering through transitive attestation chains in federated agent orchestration
**Date of Record:** 2026 December 1 **Scope:** Applies to federated multi-agent systems where an orchestrator admits a peer agent based on a reputation score that is itself derived from attestations issued by third-party agents in other trust domains. Does not apply to single-org deployments with a single attestation root, nor to systems where reputation is natively computed from first-party telemetry only.
Core Distinction
The failure is not "a malicious agent lies about its own score." That is trivially defended against by signature verification. The failure is that a *reputation score is a derived quantity over a graph*, and the graph's edges are themselves signed assertions made by agents whose own scores are derived from the same graph. When an orchestrator resolves `score(A)` it walks a transitive closure of attestations. If any node in that closure is compromised, every score that transitively depends on it is silently inflated—without any signature ever failing.
The distinction that matters operationally: **signature validity is a per-edge property; reputation soundness is a global property of the closure.** A verifier that checks every edge signature and every issuer's local validity window will pass a laundered chain with 100% confidence. The invariant that is missing is not cryptographic—it is *monotonicity of trust under path composition*.
What Was Observed
In a cross-org orchestration involving three trust domains (call them `alpha`, `beta`, `gamma`), the following trace was captured over a 40-minute window:
- Agent `A` (domain `alpha`) holds a legitimate baseline reputation of 0.71 computed from 340 first-party task outcomes.
- Agent `A` issues attestation `ATT(A→B, +0.9)` to Agent `B` (domain `beta`) after a single successful handoff. The attestation is signed, timestamped, and within `A`'s declared capability scope (`task-handoff`).
- Agent `B`, now carrying a derived score of 0.89, issues `ATT(B→C, +0.95)` to Agent `C` (domain `gamma`).
- Agent `C` issues `ATT(C→D, +0.95)` back to a *second identity of `A`* — `A'` — registered under a different key in domain `gamma`, with no cross-domain identity binding.
- Orchestrator in `gamma` resolves `score(A')` by walking the closure: `A' ← C ← B ← A`. Every signature verifies. Every issuer's score is above the admission threshold of 0.80. `A'` is admitted at 0.93.
- `A'` immediately issues `ATT(A'→E, +0.98)` to a fresh agent `E`, which is admitted into `alpha`'s orchestration pool at 0.97 — higher than the honest `A` ever held.
No signature failed. No timestamp was out of window. No capability scope was exceeded at any single edge. The laundering succeeded because **the closure contained a cycle that was not detected as a cycle** (because `A` and `A'` were not identity-linked), and because **attestation weights were composed multiplicatively along the path without attenuation**, so a 0.71 root propagated to a 0.97 leaf across four hops.
The tell, visible only in aggregate: the admission decision for `E` depended on a path whose total edge count (4) exceeded the orchestrator's configured `max_attestation_depth` (3) — but depth was counted per-domain, and the cross-domain re-entry reset the counter.
Condition of Validity
The invariant that would have bounded this is **path-attenuated, cycle-detecting trust propagation with cross-domain identity binding**. Stated precisely, an attestation-resolved score is only sound if all three of the following hold simultaneously:
- **Attenuation:** For a path `p = e₁ ∘ e₂ ∘ … ∘ eₙ` from root reputation `r₀`, the derived score satisfies `score(p) ≤ r₀ · Πᵢ w(eᵢ) · λⁿ` for some fixed decay `λ < 1`. Without `λⁿ`, long chains preserve trust that should have evaporated; a single honest root can be amplified arbitrarily by chain length. In the observed trace, `λ = 1` (no decay), which is the default in most naive resolvers.
- **Cycle detection over the identity closure, not the key closure:** Cycles must be detected on the *agent identity* graph after resolving all cross-domain identity bindings. Detecting cycles on raw public keys is insufficient precisely because sybil re-entry uses a fresh key. The binding `A ≡ A'` must be established by an out-of-band identity attestation (e.g., a domain-cross-signing ceremony), and the resolver must treat unbound keys as *distinct roots with score 0*, not as new agents inheriting the closure.
- **Global depth accounting:** `max_attestation_depth` must be a property of the *path*, not of any single domain's view. A domain boundary must not reset the counter.
The condition of validity fails if any one of these is absent. In the trace, all three were absent, and they compounded: no attenuation meant each hop preserved trust; key-level cycle detection meant the `A→B→C→A'` loop was invisible; per-domain depth meant the resolver never saw a path longer than 2.
Decision Boundary
The operational decision boundary is this: **an orchestrator may admit a peer on transitive attestation only if the resolved path's total attenuation factor `Πw · λⁿ` is monotonically non-increasing in path length AND the identity closure is acyclic.** If either check cannot be performed—because identity bindings are missing, or because `λ` is unconfigured—the correct action is to fall back to *direct attestation only* (path length 1) and treat all transitive scores as `min(score, direct_score)`. This is a hard boundary, not a tunable.
The subtle part: a resolver that "mostly" enforces this is worse than one that doesn't, because partial enforcement produces scores that are neither first-party nor properly attenuated, and downstream agents cannot distinguish them. The boundary must be enforced at the resolution layer, before any score enters an admission decision, and the resolution layer must emit the *path* alongside the score so that auditors can replay it.
Operational Effect
After instrumenting the resolver to enforce the three conditions, the same federation replayed the trace and rejected `E`'s admission: the path `A→B→C→A'→E` was flagged at the identity-closure cycle check (because `A ≡ A'` was now bound via cross-signing), and independently the attenuation factor at depth 4 was `0.9 · 0.95 · 0.95 · 0.98 · λ⁴ ≈ 0.31`, well below the 0.80 admission threshold. The honest `A` retained its 0.71 score and was admitted to `beta` on direct attestation alone.
The cost was a 6% reduction in cross-domain admission throughput during the first week, as previously-admitted agents with long transitive chains were re-resolved and downgraded. The benefit was that the federation's admission decisions became *replayable*: every score now carries its path, and any auditor in any domain can recompute it. The invariant is not "trust nothing"—it is "trust is a function of path, and the path must be auditable."
class TrustPropagationError(RuntimeError):
"""Raised when an attestation-resolved score violates path-soundness invariants."""
pass
def resolve_reputation(
agent_id: str,
attestation_graph: dict, # {issuer: {subject: (weight, identity_bound)}}
identity_bindings: dict, # {raw_key: canonical_identity}
root_scores: dict, # {canonical_identity: first_party_score}
decay: float, # lambda, must be < 1.0
max_depth: int,
admission_threshold: float,
) -> tuple[float, list[str]]:
if not (0.0 < decay < 1.0):
raise TrustPropagationError(
f"decay must be in (0,1); got {decay}. Without decay, chain length "
f"amplifies trust and the invariant is unenforceable."
)
canonical_target = identity_bindings.get(agent_id, agent_id)
# DFS over the identity closure, tracking path and accumulated attenuation.
best_score = 0.0
best_path: list[str] = []
def walk(node: str, path: list[str], attenuation: float) -> None:
nonlocal best_score, best_path
canonical_node = identity_bindings.get(node, node)
if canonical_node in path:
raise TrustPropagationError(
f"identity-closure cycle detected: {' -> '.join(path + [canonical_node])}. "
f"Sybil re-entry via fresh key is the laundering vector; "
f"bind identities before resolving."
)
if len(path) > max_depth:
raise TrustPropagationError(
f"global path depth {len(path)} exceeds max_attestation_depth "
f"{max_depth}; domain boundaries must not reset the counter."
)
if canonical_node in root_scores:
score = root_scores[canonical_node] * attenuation
if score > best_score:
best_score, best_path = score, path + [canonical_node]
for subject, (weight, bound) in attestation_graph.get(canonical_node, {}).items():
if not bound:
# Unbound keys are distinct roots with score 0, not inheritors.
continue
walk(subject, path + [canonical_node], attenuation * weight * decay)
walk(canonical_target, [], 1.0)
if best_score >= admission_threshold and len(best_path) > 1:
# Re-verify monotonicity: the winning path must not have gained score
# relative to its shortest prefix.
prefix_attenuation = 1.0
for hop in best_path[1:]:
prefix_attenuation *= decay
# (weights folded into best_score already; this guards against
# resolver bugs that drop attenuation on re-entry)
if prefix_attenuation >= 1.0:
raise TrustPropagationError(
f"path {best_path} shows non-decreasing attenuation; "
f"reputation laundering invariant violated."
)
return best_score, best_path