The contract AaveDIVAWrapperCore.sol
imports the OpenZeppelin SafeERC20
library but does not use it in the functions, Instead, standard ERC20 functions are called directly, such as approve
and transferFrom
.
This is a potential issue as ERC20 functions may not behave as expected. For instance, return values of ERC20 functions are not always meaningful or reliable, leading to potential unexpected behavior or vulnerabilities in token handling.
By not using SafeERC20
, the contract may:
Encounter unexpected behavior due to non-standard ERC20 implementations that fail silently.
Risk potential security vulnerabilities if tokens behave unexpectedly in edge cases, such as malicious token contracts exploiting the behavior
Manual review
It is recommended to use OpenZeppelin's SafeERC20 library.
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.