Skip to content

ADR 008: Gossip reputation reports have no recency validation — replay possible #77

Closed

Description

@thiras

Category: Security

Severity: MEDIUM

File: adr/008-reputation.md (~line 99)

Reputation reports include a timestamp: u64 field but no validation rule requires reports to be recent. A signed report from weeks ago can be replayed to re-damage a node's reputation after it has recovered.

Attack:

  1. Node X has a bad week (legitimate low scores)
  2. Attacker saves the signed reports
  3. Node X improves and reputation recovers
  4. Attacker replays old reports, tanking Node X's score again

Recommendation:
Add a recency check: reject reports with timestamps older than N hours (e.g., 24h). Receiving nodes should validate now - report.timestamp < MAX_REPORT_AGE.

ADRs affected

  • ADR 008 (Reputation System)

Activity

  1. added
    kind:security
    on Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:security

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions