The audit identified a missing reentrancy guard in the switchUnderlyingToken
function within the UnripeFacet
contract.
The UnripeFacet::switchUnderlyingToken
function lacks a reentrancy guard, leaving it vulnerable to reentrancy attacks.
Without a reentrancy guard, an attacker could potentially exploit the function to execute malicious code multiple times within a single transaction, leading to unexpected behaviour and potential loss of funds.
Manual Review
Implement a reentrancy guard within the UnripeFacet::switchUnderlyingToken
function to prevent potential reentrancy attacks.
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.