Hunt prep
Before you test LSD Network - Stakehouse contest
What 52 disclosed reports say about LSD Network - Stakehouse contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 28 | 0 | – | – | $0 |
| Smart contracts lesson | 11 | 0 | – | – | $0 |
| Access control lesson | 9 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
BringUnusedETHBackIntoGiantPool can cause stuck ether funds in Giant Pool
The withdrawUnusedETHToGiantPool function should update idleETH when ETH is returned to the Giant Pool.
Disclosed
-
function withdrawETH from GiantMevAndFeesPool can steal most of eth because of idleETH is reduced before burning token
The idleETH balance should be decreased after the LP tokens are burned, not before.
Disclosed
-
Protocol insolvent - Permanent freeze of funds
Add a reentrancy guard to withdrawETHForKnot and stake, and keep proper accounting for ETH deposited by the node runner for each BLS key.
Disclosed
-
Possible reentrancy and fund theft in withdrawDETH() of GiantSavETHVaultPool because there is no whitelist check for user provided Vaults and there is no reentrancy defense
The function should validate the provided vault addresses and include a reentrancy guard.
Disclosed
-
User loses remaining rewards in GiantMevAndFeesPool when new deposits happen because _onDepositETH() set claimed[][] to max without transferring user remaining rewards
The contract should transfer the user's remaining rewards before increasing their balance and then setting their claim to max.
Disclosed
-
Giant pools can be drained due to weak vault authenticity check
The pool should accept a list of trusted LiquidStakingManager addresses, validate each against the factory, and derive the vault from the manager rather than trusting the vault's own answer.
Disclosed
-
withdrawETH() in GiantPoolBase don’t call _distributeETHRewardsToUserForToken() or _onWithdraw() which would make users to lose their remaining rewards
The withdrawETH function should calculate and transfer any unclaimed rewards before burning the user's LP tokens.
Disclosed
-
bringUnusedETHBackIntoGiantPool in GiantMevAndFeesPool can be used to steal LPTokens
The function should validate the staking funds vaults by checking the liquid staking manager address and verifying the vaults' legitimacy.
Disclosed
-
Giant pools cannot receive ETH from vaults
Add a fallback or receive function to the pools and increase idleETH accounting with the received ETH.
Disclosed
-
Adding non EOA representative
Add the same EOA check to both rotation functions.
Disclosed
-
DAO admin in LiquidStakingManager.sol can rug the registered node operator by stealing their fund in the smart wallet via arbitrary execution.
The DAO admin should not have the privilege to perform arbitrary execution that can access user funds.
Disclosed
-
Incorrect implementation of the ETHPoolLPFactory.sol#rotateLPTokens let user stakes ETH more than maxStakingAmountPerValidator in StakingFundsVault , and DOS the stake function in LiquidStakingManager
The rotateLPTokens function should use maxStakingAmountPerValidator instead of 24 ether, and the stake function's balance check should use >= instead of ==.
Disclosed
-
dETH / ETH / LPTokenETH can become depegged due to ETH 2.0 reward slashing
The reporter suggested adding a mechanism to keep dETH pegged by burning tokens after a slashing and clarifying who tops up or withdraws a validator below 32 ETH; the protocol rejected the premise.
Disclosed
-
Cross-chain replay attacks are possible with deployLPToken
The contract should include the chain ID in the deployment data to prevent cross-chain replay.
Disclosed
-
Unstaking does not update the mapping sETHUserClaimForKnot
The unstake function should update the user's claim checkpoint to the accumulated ETH per share multiplied by their remaining staked balance.
Disclosed