Skip to content

Reputation system is gameable via capital-intensive wash trading #155

Closed

Description

@thiras

Summary

Reporter weight in the reputation system is based on total_settled_value. An attacker can build credibility cheaply by cycling funds through self-dealing channels.

Problem

ADR 008 Section 4: reporter weight = total_settled_value(reporter) / max(1, max_settled_value_observed), capped at 5x.

An attacker opens channels between their own nodes, transfers data, and settles. The cost is only the protocol fee (3%) + gas. With $1,000 in USDC cycling through 33 channel rounds:

  • Cost: ~$30 in fees + ~$7.50 in gas
  • Result: $33,000 in total_settled_value
  • Attacker gains high-credibility reputation reports for targeted score manipulation

The value-weighted design prevents cheap Sybil manipulation (many small channels), but does not prevent self-dealing with real capital.

ADRs Affected

  • 008-reputation.md (reporter weight calculation)

Recommendation

Consider:

  1. Circular settlement detection — track (client_address, provider_address) pairs and de-weight reports from addresses that primarily settle with each other
  2. Distinct-counterparty requirement — settled value counts only when the two channel parties have different operator addresses in StakingRegistry
  3. Time-weighted value — settled value decays over time, so an attacker must continuously spend fees to maintain credibility

Source

Comprehensive ADR architecture review (2026-04-03)

Activity

  1. added
    design:adr
    prio:medium
    kind:security
    design:economics
    on Apr 2, 2026
  2. self-assigned this
    on Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:economicskind:securityprio:medium

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions