Bounty
XE-2447 · Bounty

Receive blocks accept timestamps far outside the node-time skew window enforced on sends

Closed · invalid — xe#323 filed 2026-11-09 17:09 UTC by grizelshalom

Report

Summary The node validates timestamps inconsistently between send and receive block paths: POST /blocks/send rejects any block whose timestamp falls outside a narrow skew window (~±5 minutes) of node time. POST /blocks/receive accepts blocks whose timestamp is 28+ hours in the future (and far in the past), storing the attacker-chosen timestamp on the account's frontier. This is a validation inconsistency: the same temporal-integrity guarantee enforced on one path is missing on the other. Environment Network: testnet-0005 (public testnet at https://test.network) Node version: xe/3019b76 Steps to reproduce

  1. Create a funded test account on testnet (faucet is fine).
  2. Send a block with timestamp = now + 28h → rejected with a timestamp/skew error (correct behavior).
  3. Have a counterparty send to the account, then submit the corresponding receive block with timestamp = now + 28h → HTTP 201 Accepted.
  4. GET /account/{address} shows the frontier block with the future timestamp stored on-chain. Evidence (from our test battery): Path timestamp Result send now 201 OK send +1h / +28h / −1h / −25h rejected (skew validation) receive now 201 OK receive +28h 201 OK — future timestamp stored The receive block was correctly signed and had valid proof of work; the only "abnormal" field was the timestamp. Impact An attacker can backdate or future-date their own receive blocks. Timestamps on account frontiers feed conflict resolution / ordering heuristics; a block that can lie about its time can influence those heuristics in its favor (e.g. resolving forks toward the attacker's chain). At minimum it breaks the temporal consistency invariant the send path explicitly tries to enforce, and pollutes on-chain timestamps used by explorers, analytics, and points/testnet reward systems that rely on block times. No funds are directly at risk at this tier, but the same code path on mainnet would let accounts forge block chronology. Suggested fix Apply the same node-time skew check used by the send path (reject if abs(ts − node_now) > window) to all block types in the shared validation function, rather than per-endpoint — receives, opens, changes, leases, and burns included. Reporter XE address for potential reward: afdc3f26ac9fabbecdfd4130c0c8990cc3ab367c9c4c1c82cda5ddb4d1d23692 Happy to provide raw request/response logs or re-run any test on request.

Thread

XE deskteam2026-11-14 23:13 UTCgithub

Thanks for the report. We read it against the code and could not confirm a bug in what it describes.

This report is closed as invalid. If we have missed something, file a new report that links https://bounty.xe.network/XE-2447 and says what; it is read like any other.