Skip to content

incentive: no replay-protection window enforced on incoming voucher nonces, allowing a client to resubmit a previously accepted voucher after a node restart and receive a second byte-delivery for the same payment #527

Closed

Description

@alpergundogdu

ChannelState tracks the current nonce in memory but the channel module has no persistence layer and no on-startup replay fence, so any voucher with nonce ≤ last_accepted that was processed in a prior process lifetime will be accepted again. This is distinct from the nonce-loss issue and specifically affects nodes that restart with an empty in-memory channel map.


Filed via GitDailyReporterBot

Activity

  1. added
    kind:bug
    kind:security
    prio:high
    on May 11, 2026
  2. self-assigned this
    on May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:bugkind:securityprio:high

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions