Movement Labs
The Movement full node software lacked a check to prevent processing two different blocks at the same height, allowing a permanent chain split. An attacker could exploit this to cause double-spending and force a hard fork.
medium.com
Published on medium.com
Hello, I’m Yunus Emre Sarıtoprak. As a cybersecurity researcher, my goal is to contribute to the security of the Web3 ecosystem.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The code only checked whether a block's unique identifier had been processed before, but did not check whether its height had already been used, so two different blocks at the same height could both be executed.
Impact
This could cause a permanent chain split, enabling double-spending and requiring a hard fork to resolve.
What the attacker needed
Access to a multi-validator test environment; ability to cause a brief network partition
The fix
The fix should add a height-based check to reject any block whose height has already been processed, and ideally implement fork-choice logic.
How it was found
- Set up two Celestia validators connected to a single Movement full node.
- Briefly disconnect and reconnect one validator's network to simulate a partition.
- During the partition, both validators produce blocks at the same height with different identifiers.
- After reconnection, observe the node processing both blocks at the same height without error.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A blockchain is a shared ledger where each block has a unique position (height). This software failed to ensure only one block exists per height, so two different blocks could be accepted at the same height, splitting the network permanently.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.