Skip to content
Business logic Audit finding Intermediate

Executor fee will be stuck in the contract when rejectInvalidRedemption is called

The rejectInvalidRedemption function deletes a redemption request without burning the executor fee that the redeemer paid. This leaves the fee stuck in the contract instead of being burned as intended.

Oxgritty Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

#46320 [SC-Low] Executor fee will be stuck in the contract when rejectInvalidRedemption is called

Submitted on May 28th 2025 at 11:26:56 UTC by @Oxgritty for Audit Comp | Flare | FAssets

Description

Brief/Intro

  • When agent vault owner will call rejectInvalidRedemption, to reject the redemption request, request will be deleted without burning executor fee.

Vulnerability Details

  • When a redeemer creates a redemption request, he has the option to pay an executor fee with it. This is either paid to the executor, if he calls confirmRedemptionPayment with the payment proof or it is burned if agent submits the payment proof.
  • The problem lies in rejectInvalidRedemption function, which is called by the agent for a redemption request where the redeemer provided a invalid address, here the redemption request is deleted without burning the executor fee.

Impact Details

  • Executor fee will be stuck in the contract, instead of just burning it by sending it to a dead address.

References

Proof of Concept

Proof of Concept

  1. Redeemer calls redeem to create a redeem request where he provides invalid underlying redeemer address and also provides executor fees.
  2. Agent vault owner calls rejectInvalidRedemption with the proof of invalid address to delete the redemption request.
  3. Redemption request will be deleted, but executor fee will remain in the contract.
Solidity
// rejectInvalidRedemption function is missing this code:-
            Redemptions.payOrBurnExecutorFee(request);

The original report as published on Immunefi, by Oxgritty. 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 rejectInvalidRedemption function omits the call to burn the executor fee that other redemption paths include.

Impact

The executor fee becomes stuck in the contract rather than being burned, so funds are not lost but are not delivered as promised.

What the attacker needed

Redeemer provides invalid address; redeemer pays executor fee; agent vault owner calls reject

The fix

The rejectInvalidRedemption function should burn the executor fee, for example by calling the same pay-or-burn helper used elsewhere.

How it was found

  1. Redeemer calls redeem with an invalid underlying address and provides executor fees.
  2. Agent vault owner calls rejectInvalidRedemption with proof of the invalid address.
  3. The redemption request is deleted but the executor fee remains in the contract.

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 someone redeems an asset, they can pay an extra fee to an executor. Normally this fee is either paid out or burned. Here, a specific function that cancels invalid requests forgets to burn the fee, so the money stays locked in the contract.

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 Oxgritty

View all

5 more disclosed reports, best first.

More from Flare | FAssets

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.