Two custom errors within KittyBridgeBase.sol
have been identified but not implemented, indicating potential issues with the recovery of user funds deposited accidentally into the contract. Additionally, the KittyConnect.sol::TokensRedeemedForVetVisit
event is declared but not utilized in any functions, suggesting a missing functionality within the contract.
Currently, there is no mechanism to recover ERC-20 or native tokens sent unintentionally by users. To address this issue, two distinct functions could be added to facilitate the recovery of each type of asset. Refer to the example below for implementation details
The absence of a recovery mechanism poses a risk of permanent loss of user funds.
Manual review.
Implement rescue functions such as the following:
Find PoC associated to the rescue functions attached:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.