Core Contracts

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

The LendingPool has no method to call the 'rescueToken' function

Vulnerability Details

contract : RToken

rescueTokenfunction is defined to rescue any tokens mistakenly sent to the RToken contract
excluding the RTkoen itself.

This function enforces a onlyReservePoolmodifier,
which means the only allowed caller of this function is the LendingPool

The issue is , the absence of any method in LendingPool to call this rescueTokenfunction.

So there is no way to rescue the mistakenly sent tokens.

Recommendation

Add a function inside LendingPool to facilitat calling the rescueToken function

Updates

Lead Judging Commences

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

RToken::rescueToken() can never be called

Support

FAQs

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