The GiantMevAndFeesPool contract's reward accounting can be manipulated by any user because the inherited ERC20 transfer function is not protected and triggers hooks that update reward state. An attacker could lock all rewards in the pool, making them inaccessible to other users.
When a user unstakes part of their sETH, the contract pays out the ETH owed but does not update the record of how much has already been claimed. The user is then left with a claim record based on the larger original stake, so they can claim little or nothing on their remaining stake.
The function that returns unused ETH from a vault to the Giant Pool does not update the pool's idleETH accounting variable. As a result, the returned ETH becomes permanently stuck because later withdrawals and staking deposits revert due to an underflow in idleETH.
The GiantMevAndFeesPool contract reduces its idleETH balance before burning the user's LP tokens, which causes the reward calculation to overstate accumulated rewards. An attacker could deposit and then withdraw to steal more ETH than they deposited.
A reentrancy flaw in the withdrawETHForKnot function lets a node runner re-enter the stake function before their BLS key is banned, causing the key to become both banned and in the DEPOSIT_COMPLETE state. This permanently freezes user funds, as derivatives cannot be minted and LP tokens cannot be burned or rotated.
The withdrawDETH function in GiantSavETHVaultPool accepts user-supplied vault addresses without validation and makes external calls to them before transferring the calculated dETH amount, with no reentrancy protection. An attacker could supply a malicious vault contract that reenters or manipulates the contract's dETH balance during the call, causing the contract to transfer more dETH than owed.
When a user deposits more ETH into the GiantMevAndFeesPool, the contract sets their claimed rewards to the maximum based on their new balance without first paying out any unclaimed rewards. This causes the user to permanently lose those previously earned rewards.
The Giant pools checked a vault's authenticity by calling a function on the vault itself, so an attacker could supply a fake contract that returned a valid manager address and receive the pool's ETH. The attacker could then withdraw all ETH staked by users in the pool.
The withdrawETH function burns the user's LP tokens without first distributing any unclaimed ETH rewards, so a user who withdraws all their LP tokens loses those rewards. An attacker could not gain anything, but any user withdrawing would forfeit their remaining rewards.
The function bringUnusedETHBackIntoGiantPool does not verify that the provided staking funds vaults are legitimate, allowing an attacker to supply fake vault contracts. The attacker can then use these fake vaults to transfer real LP tokens out of the GiantMevAndFeesPool contract.
The giant pools lack a fallback or receive function, so when the vaults try to send back unused ETH via a low-level call, the transfer fails and the whole function reverts. As a result, unused ETH stays in the vaults and cannot be used to cover withdrawals, potentially causing insolvency.
The contract enforces that a node runner's representative must be an externally owned account (EOA) when registering, but the same check is missing in the functions that rotate the representative. An attacker could therefore set a contract as the representative, bypassing the intended restriction.
The DAO admin of the LiquidStakingManager contract can call executeAsSmartWallet to make arbitrary calls from a node operator's smart wallet, allowing the admin to transfer the wallet's ETH or ERC20 tokens to themselves. This lets the admin steal the funds that node operators deposit when registering.
The rotateLPTokens function in ETHPoolLPFactory.sol uses a hardcoded 24 ether limit instead of the maxStakingAmountPerValidator (4 ether) for the StakingFundsVault, allowing a user to rotate LP tokens and inflate the total supply of a staking fund LP token beyond 4 ether. This causes the stake function in LiquidStakingManager to revert because it requires the total supply to be exactly 4 ether, resulting in a denial of service for that validator's staking.
The report argues that dETH, ETH and LPTokenETH could lose their peg because ETH 2.0 staking carries a slashing penalty, which would leave a validator below the 32 ETH minimum balance. The author claims this could break the promised no-loss protected staking, though the protocol disputed that any peg exists.
The deployLPToken function does not include the chain ID in the data it uses to create a new LP token, so if a user deploys on the wrong network, an attacker can replay the same action on the correct chain and steal the funds. The report references a similar attack on a Gnosis Safe.
The liquid staking manager always stakes a fixed 12 ETH through the syndicate, but the syndicate contract caps total staking at 12 ETH and reverts on overflow. An attacker who owns a small amount of the staking token can front-run a mintDerivatives call by staking a tiny amount, causing the legitimate 12 ETH stake to revert.
The executeAsSmartWallet function is payable but does not forward the sent ETH to the smart wallet, so the ETH becomes locked in the LiquidStakingManager contract. When the smart wallet has sufficient balance, the call succeeds and deducts the value from the smart wallet instead, causing the DAO to lose the sent ETH and the node runner to lose funds from their smart wallet.
The vault's ETH withdrawal function for staking does not check that the supplied smart wallet address actually exists, so a mistyped or wrong address still receives the transfer and the ETH becomes permanently locked. An attacker or careless manager could therefore cause loss of funds by passing a non-existent address.
The claimRewards function only refreshes the accumulated ETH-per-LP share when the first supplied BLS key is still part of the syndicate, so for other key orderings the reward distribution uses a stale share value. A user could therefore receive fewer rewards than they are eligible for.
A node runner in the liquid staking network could call the rotation function themselves before the DAO's slashing transaction landed, moving the smart wallet to a new address and avoiding being banned. The DAO's later transaction would then revert because the old node runner no longer had a wallet.
The batch withdrawal functions check the wrong token's last-interaction timestamp, so after the first withdrawal the shared token's timestamp is updated and any further withdrawals in the same batch fail. An attacker could not gain funds, but legitimate users could not withdraw several LP tokens in one transaction, forcing one withdrawal per day.
The batchRotateLPTokens function in the GiantMevAndFeesPool lets any user rotate LP tokens between staking funds vaults, and the only guard is a 0.5 ether lpTokenETH balance that can be obtained and burned at will. A malicious user could therefore keep moving LP tokens around and stop the pool's holdings from being staked by the liquid staking manager.
A hacker can prevent users from withdrawing dETH or LP tokens from giant pools by sending a zero-amount token transfer to the victim, which updates the victim's last interaction timestamp and causes the withdrawal to revert with 'Too new'. This can be done repeatedly to freeze funds and cause a liquidity crunch.
The rotateLPTokens function does not check whether the new BLS public key is banned, allowing a user to migrate LP tokens to a banned key. This could lead to project insolvency, especially if the banned key was malicious.
The first user to claim rewards from GiantMevAndFeesPool can collect all previously generated rewards, regardless of amount or whether they participated in generating them. This is due to a flaw in how accumulated rewards per LP share and claimed amounts are tracked.
A reward-accounting bug in the Syndicate contract lets a malicious user overwrite rather than accumulate the accrued ETH per share, so they can claim ETH that belongs to free floating SLOT holders. The reporter states an attacker can steal all claimable ETH of those holders.
The withdrawETHForKnot function sent 4 ETH to the caller before marking the BLS public key as banned, so a contract recipient could re-enter the function and withdraw again. An attacker could drain more than the intended 4 ETH from their smart wallet, in the proof of concept 8 ETH instead of 4.
When a GiantLP token that uses a transfer hook is burned, the hook is called with the zero address as the recipient, and a zero-address check in the rewards distribution function makes the burn revert. As a result, any withdrawal that burns such tokens fails and users' funds remain stuck in the Giant Pool contracts.
LN
LSD Network - Stakehouse contest
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.