Skip to content
Audit finding Beginner

Undocumented Redemption Pool Fee Share potentially leading to confusion

The smart contract code allows agents to set a Redemption Pool Fee Share, but the public documentation states that the redemption fee is not shared with the collateral pool. This mismatch could confuse agents and auditors, though no direct exploit is described.

a090325 Follow

Originally disclosed on Immunefi

Informational View original
  • Disclosed after under an hour

#47116 [SC-Insight] Undocumented Redemption Pool Fee Share potentially leading to confusion

Submitted on Jun 9th 2025 at 03:04:13 UTC by @a090325 for Audit Comp | Flare | FAssets

Description

Brief/Intro

It's possible for agents to set/update Redemption Pool Fee Share. This feature is implemented in several files (listed in "references" section). But the docs (https://dev.flare.network/fassets/redemption#redemption-fee) said:

This fee is meant only to cover the agent's transaction fee on the underlying chain, so it is not shared with the collateral pool.

So there's a clear mismatch between the docs and the implemented feature.

Vulnerability Details

 function setRedemptionPoolFeeShareBIPS(
        Agent.State storage _agent,
        uint256 _redemptionPoolFeeShareBIPS
    )
        internal
    {
        require(_redemptionPoolFeeShareBIPS <= SafePct.MAX_BIPS, "value too high");
        _agent.redemptionPoolFeeShareBIPS = _redemptionPoolFeeShareBIPS.toUint16();
    }
  • Besides above functions, there're several other related functions as well. Digging into those functions, I conclude that this (Redemption Pool Fee Share) is a fully implemented feature.

Impact Details

This undocumented feature could cause confusion to:

  • Agents: could use this feature the wrong way.
  • Auditors: could spend time on an unused (but implemented) feature.

References

Proof of Concept

Proof of Concept

Please check those files (listed in references) and also the docs (https://dev.flare.network/fassets/redemption#redemption-fee).

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

This undocumented feature could cause confusion to agents and auditors, but no direct security impact is demonstrated.

What the attacker needed

None

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.

This is about a mismatch between what the code does and what the documentation says. The code lets an 'agent' (a participant in the system) set a fee share, but the docs say that fee is not shared. This could confuse people using or reviewing the system, but it is not shown to be a security hole.

More by a090325

View all

7 more disclosed reports, best first.

More from Flare | FAssets

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.