51847 sc critical dos via dust leftover in erc 20 approvals
Description
depositAsset.safeApprove(address(aggregator), depositAmount);
(supportedAssetAmount,) = aggregator.swap(executor, desc, data);uint256 shares = depositAmount.mulDivDown(ONE_SHARE, rate);
vault.enter(msg.sender, asset, depositAmount, to, shares);Impact
Recommendation
Proof of Concept
Previous52339 sc low loss of daily streak and jackpot eligibility due to supra generator callback delay and on callback time usage in spin sol Next52601 sc high in spin handlerandomness jackpot eligibility uses outdated streakcount instead of updated streak
Was this helpful?