28612 - [SC - Insight] EigenLayers share rate can be massively inflate...
Description
Brief/Intro
Vulnerability Details
function depositToEigenLayer(uint256 amount) external virtual restricted {
SafeERC20.safeIncreaseAllowance(_ST_ETH, address(_EIGEN_STRATEGY_MANAGER), amount);
///@audit-issue slippage protection should be added because "share rate can be massively inflated" ~ EigenLayer
_EIGEN_STRATEGY_MANAGER.depositIntoStrategy({ strategy: _EIGEN_STETH_STRATEGY, token: _ST_ETH, amount: amount });
}Impact Details
Recommended Mitigation
References
Proof of Concept
Last updated
Was this helpful?