Closed c4-submissions closed 1 year ago
raymondfam marked the issue as sufficient quality report
raymondfam marked the issue as duplicate of #103
raymondfam marked the issue as duplicate of #471
fatherGoose1 marked the issue as unsatisfactory: Invalid
Lines of code
https://github.com/code-423n4/2023-11-kelp/blob/f751d7594051c0766c7ecd1e68daeb0661e43ee3/src/NodeDelegator.sol#L51-L68
Vulnerability details
Impact
Eigen Strategy can have a maxPerDeposit variable that limit the amount of assets that it accept per deposit. Upon depositing funds to a strategy with depositAssetIntoStrategy(), Nodelegator contract send all its asset balance to it. One can monitor NodeDelegator contracts and directly send it an asset to block deposit.
Proof of Concept
Tools Used
Manual review
Recommended Mitigation Steps
There is several ways to solve this:
Assessed type
Token-Transfer