In the ZENO
contract, constructor
not validate address of _usdc
.
In constructor does not check if _usdc
is invalid.
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/zeno/ZENO.sol#L20-L29
If _usdc
is set address not valid, this is affect to contract.
Affect to contract operation
manual
Add check require(_usdc != address(0), "Invalid USDC address");
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.