Skip to content
Business logic Audit finding Intermediate

Certain fees are unaccounted for causing failed transactions

Movement does not account for Celestia's one-time 10,000 gas fee for an account's first transaction, so a user's first transaction can fail while the gas fee is still lost. The report claims this leads to unintended fee modification outside the protocol's design.

okmxuse Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

#43287 [BC-Low] Certain fees are unaccounted for causing failed transactions

Submitted on Apr 4th 2025 at 10:24:09 UTC by @okmxuse for Attackathon | Movement Labs

Description

Description

As per the Celestia Docs https://docs.celestia.org/how-to-guides/submit-data#estimating-pfb-gas:

The first transaction sent by an account (sequence number == 0) has an additional one time gas cost of 10,000 gas. If this is the case, this should be accounted for.

This gas cost must be accounted for each time a user submits their first transaction. However, Movement does not enforce this requirement anywhere in the codebase.

Impact

As a result, transactions may fail, and since Celestia does not refund fees, the associated gas costs will be lost. Moreover, the user's transaction will not be processed.

We believe this issue warrants a LOW severity rating, as it leads to unintended fee modifications outside the protocol’s design scope. The protocol has not been designed to handle this scenario.

Even if this behaviour would somehow be intentional, users should be explicitly informed either through documentation or in-protocol messaging.

Recommendation

Ensure this scenario is properly addressed—either by enforcing it within the codebase or by clearly notifying users to prevent failed transactions.

Proof of Concept

POC

  • Bob submits his first transaction using the Movement environment.
  • the necessary gas is specified to ensure the transaction is processed smoothly.
  • However, the Movement environment does not account for the additional 10,000 gas required for first-time transactions.
  • As a result, Bob’s transaction fails, and the gas fee is lost.

The original report as published on Immunefi, by okmxuse. 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

Impact

Transactions may fail, and since Celestia does not refund fees, the associated gas costs will be lost.

What the attacker needed

User's first transaction on Celestia; Movement environment

The fix

The scenario should be addressed by enforcing the extra gas cost in the codebase or by clearly notifying users to prevent failed transactions.

How it was found

  1. Bob submits his first transaction using the Movement environment.
  2. The necessary gas is specified to ensure the transaction is processed smoothly.
  3. The Movement environment does not account for the additional 10,000 gas required for first-time transactions.
  4. Bob's transaction fails, and the gas fee is lost.

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.

When a user sends their very first transaction on Celestia, there is an extra one-time gas fee. Movement does not include this extra fee when preparing the transaction, so the transaction can fail, and the fee is still paid and lost because Celestia does not refund fees.

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.

More by okmxuse

View all

9 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.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.