57752 sc medium aave and euler incentives for myt will be lost due to unimplemented claimrewards function
Description
Brief/Intro
Vulnerability Details
function _allocate(uint256 amount) internal override returns (uint256) {
require(TokenUtils.safeBalanceOf(address(usdc), address(this)) >= amount, "Strategy balance is less than amount");
TokenUtils.safeApprove(address(usdc), address(pool), amount);
@> pool.supply(address(usdc), amount, address(this), 0);
return amount;
}Impact Details
References
Proof of Concept
Proof of Concept
Previous58730 sc medium an attacker can prevent any tokenauto strategy allocation by making a donation to the vault of as little as 1 wei of underlying tokenNext57983 sc low direct asset drain via zeroxswapverifier bypass and mytstrategy unlimited permit2 approvals
Was this helpful?