{"id":"XE-2447","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"323","source_url":"https://github.com/xeprotocol/xe/issues/323","reporter_id":568,"title":"Receive blocks accept timestamps far outside the node-time skew window enforced on sends","area":"node-api","claimed_tier":null,"assessed_tier":null,"verdict":"invalid","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"invalid","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-10T00:12:00.872220+00:00","updated_at":"2026-11-14T23:13:47.327705+00:00","source_created_at":"2026-11-09T17:09:45+00:00","told_at":"2026-11-14T23:13:41+00:00","status_changed_at":"2026-11-14T22:56:44.414010+00:00","url":"https://bounty.xe.network/XE-2447","body":"Summary\nThe node validates timestamps inconsistently between send and receive block paths:\nPOST /blocks/send rejects any block whose timestamp falls outside a narrow skew window (~±5 minutes) of node time.\nPOST /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.\nThis is a validation inconsistency: the same temporal-integrity guarantee enforced on one path is missing on the other.\nEnvironment\nNetwork: testnet-0005 (public testnet at https://test.network)\nNode version: xe/3019b76\nSteps to reproduce\n1. Create a funded test account on testnet (faucet is fine).\n2. Send a block with timestamp = now + 28h → rejected with a timestamp/skew error (correct behavior).\n3. Have a counterparty send to the account, then submit the corresponding receive block with timestamp = now + 28h → HTTP 201 Accepted.\n4. GET /account/{address} shows the frontier block with the future timestamp stored on-chain.\nEvidence (from our test battery):\nPath\ntimestamp\nResult\nsend\nnow\n201 OK\nsend\n+1h / +28h / −1h / −25h\nrejected (skew validation)\nreceive\nnow\n201 OK\nreceive\n+28h\n201 OK — future timestamp stored\nThe receive block was correctly signed and had valid proof of work; the only \"abnormal\" field was the timestamp.\nImpact\nAn 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).\nAt 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.\nNo funds are directly at risk at this tier, but the same code path on mainnet would let accounts forge block chronology.\nSuggested fix\nApply 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.\nReporter\nXE address for potential reward: afdc3f26ac9fabbecdfd4130c0c8990cc3ab367c9c4c1c82cda5ddb4d1d23692\nHappy to provide raw request/response logs or re-run any test on request.","patch_refs":[{"id":488,"repo":"xeprotocol/xe","kind":"pr","ref":"325","title":"fix(core): enforce timestamp skew window and causal ordering on receive blocks (#323)","url":"https://github.com/xeprotocol/xe/pull/325","note":"","state":"open","author":"tipprb","added_by":"desk","created_at":"2026-11-10T00:12:01.832547+00:00"}],"thread":[{"id":4027,"source":"github","source_ref":"6885723448","author":"XE desk","team":true,"body":"Thanks for the report. We read it against the code and could not confirm a bug in what it describes.\n\nThis report is closed as invalid. If we have missed something, file a new report that links\nhttps://bounty.xe.network/XE-2447 and says what; it is read like any other.","created_at":"2026-11-14T23:13:41+00:00"}]}