Skip to content
DoS Audit finding Intermediate

The passthrough DA light node streams transactions instead of blocks which means that the block cannot be deserialized

The passthrough DA light node streams individual transactions rather than serialised blocks, so when a full node tries to deserialise the blob as a block it fails. This prevents the block from being executed and, because Celestia blobs must be processed in order, blocks all subsequent execution.

KlosMitSoss Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

#41686 [BC-High] The passthrough DA light node streams transactions instead of blocks which means that the block cannot be deserialized

Submitted on Mar 17th 2025 at 14:52:18 UTC by @KlosMitSoss for Attackathon | Movement Labs

Description

Brief/Intro

The passthrough DA light node does not stream blocks, and therefore full node execution fails when it tries to deserialize blobs as blocks.

Vulnerability Details

Whenever a full node tries to execute a block, the block is deserialized from the block_bytes.

Rust
	async fn process_block_from_da(
		&mut self,
		response: StreamReadFromHeightResponse,
	) -> anyhow::Result<()> {
		// get the block
		let (block_bytes, block_timestamp, block_id, da_height) = match response
			.blob
			.ok_or(anyhow::anyhow!("No blob in response"))?
			.blob_type
			.ok_or(anyhow::anyhow!("No blob type in response"))?
		{
			// To allow for DA migrations we accept both sequenced and passed through blobs
			blob_response::BlobType::SequencedBlobBlock(blob) => {
				(blob.data, blob.timestamp, blob.blob_id, blob.height)
			}
			// To allow for DA migrations we accept both sequenced and passed through blobs
			blob_response::BlobType::PassedThroughBlob(blob) => {
				(blob.data, blob.timestamp, blob.blob_id, blob.height)
			}
			blob_response::BlobType::Heartbeat(_) => {
				tracing::info!("Receive DA heartbeat");
				// Do nothing.
				return Ok(());
			}
			_ => anyhow::bail!("Invalid blob type"),
		};

		info!(
			block_id = %hex::encode(block_id.clone()),
			da_height = da_height,
			time = block_timestamp,
			"Processing block from DA"
		);

		// check if the block has already been executed
		if self.da_db.has_executed_block(block_id.clone()).await? {
			info!("Block already executed: {:#?}. It will be skipped", block_id);
			return Ok(());
		}

		// the da height must be greater than 1
		if da_height < 2 {
			anyhow::bail!("Invalid DA height: {:?}", da_height);
		}

>>		let block: Block = bcs::from_bytes(&block_bytes[..])?;
        ... ...
	}

These bytes are obtained from the DA light node blobs that have been streamed by the DA light node. However, the passthrough DA light node does not serialize blocks but single transactions which means that any blob that is sent by the passthrough cannot be deserialized.

The passthrough DA light node processes blobs without doing anything with them so the blobs are just transactions.

https://github.com/immunefi-team/attackathon-movement/blob/a2790c6ac17b7cf02a69aea172c2b38d2be8ce00/networks/movement/movement-full-node/src/node/tasks/transaction\\_ingress.rs#L104-L111

In contrast, the sequencer DA light node builds blocks from the transactions that it receives which means that the blobs can be deserialized as blocks.

https://github.com/immunefi-team/attackathon-movement/blob/a2790c6ac17b7cf02a69aea172c2b38d2be8ce00/protocol-units/da/movement/protocol/light-node/src/sequencer.rs#L165-L173

The README (https://github.com/immunefi-team/attackathon-movement/blob/main/protocol-units/da/movement/protocol/light-node/README.md) of the DA light node explicitly states that both the passthrough (blocky) and sequencer mode can be used.

Impact Details

The passthrough DA light node does not serialize blocks which means that the bytes cannot be deserialized as a block. As a result, the block cannot be executed which prevents the execution of any other block as well since Celestia blobs must be processed in order.

References

Code references are provided throughout the report.

Proof of Concept

Proof of Concept

  1. A request is sent to the passthrough DA light node which only contains transactions (https://github.com/immunefi-team/attackathon-movement/blob/a2790c6ac17b7cf02a69aea172c2b38d2be8ce00/networks/movement/movement-full-node/src/node/tasks/transaction\\_ingress.rs#L104-L111). The passthrough DA light node only submits these transactions without building blocks (https://github.com/immunefi-team/attackathon-movement/blob/a2790c6ac17b7cf02a69aea172c2b38d2be8ce00/protocol-units/da/movement/protocol/light-node/src/passthrough.rs#L235-L244).
  2. Then the blobs are sent to Celestia and streamed back to the full node in execute_settle::run() (https://github.com/movementlabsxyz/movement/blob/ec71271bbd022e89a1e3e917629b83442ac2e9d4/networks/movement/movement-full-node/src/node/tasks/execute\\_settle.rs#L70-L98).
  3. This function calls process_block_from_da() (https://github.com/movementlabsxyz/movement/blob/ec71271bbd022e89a1e3e917629b83442ac2e9d4/networks/movement/movement-full-node/src/node/tasks/execute\\_settle.rs#L100-L188). Inside of this function, bcs::from_bytes() (https://github.com/movementlabsxyz/movement/blob/ec71271bbd022e89a1e3e917629b83442ac2e9d4/networks/movement/movement-full-node/src/node/tasks/execute\\_settle.rs#L145) is called to deserialize the bytes as a block. However, this is not possible as the passthrough does not serialize blocks. As a result, the function returns an error.

The original report as published on Immunefi, by KlosMitSoss. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the passthrough DA light node does not build blocks from the transactions it receives, while the full node unconditionally deserialises every blob as a block.

Impact

The block cannot be executed, and because Celestia blobs must be processed in order, this prevents the execution of any other block as well, potentially shutting down the network.

What the attacker needed

Passthrough DA light node mode is used

How it was found

  1. A request containing only transactions is sent to the passthrough DA light node.
  2. The passthrough light node submits these transactions to Celestia without building blocks.
  3. The blobs are streamed back to the full node in execute_settle::run().
  4. process_block_from_da() calls bcs::from_bytes() to deserialise the bytes as a block, which fails.

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 report has not been written yet. The Original tab links to the source.

A full node reads data from a data-availability layer and expects each piece of data to be a complete block. In passthrough mode the light node only sends individual transactions, not whole blocks, so the full node's attempt to read the data as a block fails. Because the data must be processed in order, one failed read stops all later blocks from being executed.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by KlosMitSoss

View all

25 more disclosed reports, best first.

More from Movement Labs

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.