Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: medium
Valid

Incompatible Stability Pool Transfer in `endAuction` Function

Summary

The endAuction function attempts to transfer funds to the StabilityPool, but if the StabilityPool contract lacks a receive/fallback function, the transfer will always revert, which means the endAuction will always fail

Vulnerability Details

In the code https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/pools/StabilityPool/NFTLiquidator.sol#L151, stability pool gets the transfer of the winningbid using eth transfer, but in the stability pool, there is no receive or fallback function https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/pools/StabilityPool/StabilityPool.sol. This means it would revert and winning bid will always revert

Impact

  • Prevents auctions from ending successfully

  • Causes funds to be locked within the contract

Tools Used

Manual Review, Forge

Recommendations

  • Alternatively, ensure that the StabilityPool contract implements a receive or fallback function to accept Ether transfers.

  • Always check the success of external calls to avoid unexpected reverts.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Validated
Assigned finding tags:

StabilityPool misses receive/fallback breaking the integration with NFTLiquidator

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Validated
Assigned finding tags:

StabilityPool misses receive/fallback breaking the integration with NFTLiquidator

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!