Closed sherlock-admin3 closed 3 months ago
zraxx
High
redo
vat
The lack of permission check for the redo function in LockstakeClipper.sol will result in the function redo being called arbitrarily, thereby stealing incentive funds.
LockstakeClipper.sol
https://github.com/sherlock-audit/2024-06-makerdao-endgame/blob/main/lockstake/src/LockstakeClipper.sol#L275-L313 Lack of permission check for the redo function.
kick
No response
All the funds in vat will be stolen by attackers.
Add the auth check for the function redo.
auth
There is a check if the auction needs a reset -https://github.com/sherlock-audit/2024-06-makerdao-endgame/blob/main/lockstake/src/LockstakeClipper.sol#L289
zraxx
High
The function
redo
can be used to steal all funds invat
.Summary
The lack of permission check for the
redo
function inLockstakeClipper.sol
will result in the functionredo
being called arbitrarily, thereby stealing incentive funds.Root Cause
https://github.com/sherlock-audit/2024-06-makerdao-endgame/blob/main/lockstake/src/LockstakeClipper.sol#L275-L313 Lack of permission check for the
redo
function.Internal pre-conditions
kick
to start the auction.redo
repeatedly to steal the incentive funds.External pre-conditions
No response
Attack Path
redo
repeatedly to steal the incentive funds.Impact
All the funds in
vat
will be stolen by attackers.PoC
No response
Mitigation
Add the
auth
check for the functionredo
.