The updatePoolAddress function always reverts when trying to update an existing poolId because it calls verifyNewPool, which itself reverts if the poolId already exists. This makes it impossible to update the pool address for an existing poolId.
When an operator's share is less than the penalty amount, the settlement function calls slashValidatorSD, which slashes only the minimum threshold amount of SD tokens rather than the full remaining penalty. This means the protocol may not recover the full penalty through the subsequent auction.
The function depositETHOverTargetWeight() updates the pool index for excess ETH deposits even when no validator can be funded, allowing an attacker to manipulate the index with a tiny transfer. This lets the attacker prioritise their own validator in the next allocation round.
The settleFunds function in ValidatorWithdrawalVault only considers the balance of that vault when calculating a validator's earnings, ignoring rewards held in NodeELRewardVault. As a result, an operator with sufficient total earnings across both vaults could still have their SD collateral slashed if the penalty exceeds the ValidatorWithdrawalVault balance alone.
The auction for SD tokens has a fixed end block, so bidders are incentivised to wait until the last block to bid, potentially leading to a lower final price and unfair advantage for those who can include transactions at the last moment. An attacker with MEV capabilities could exploit this to win the auction at a lower price.
The contract reads price feed data from Chainlink's latestRoundData without checking the timestamp of the last update, so it may use an outdated price. An attacker could exploit this stale price to cause functions to misbehave or to cause loss of funds.
The Auction contract's addBid function is protected by whenNotPaused, but the contract lacks external pause/unpause functions. If pausing were possible, MEV bots could front-run the pause transaction to place bids on all ongoing auctions, winning them for a fraction of their price.
The OPERATOR role in Stader's node registry contracts can arbitrarily mark validator keys as invalid or ignore them, and can authorise invalid keys without any on-chain verification. This undermines the permissionless nature of the pool and could allow a compromised operator to harm the system.
The oracle contract requires an exact number of submissions to reach consensus, but if the trusted node count changes, that exact number may never be met, preventing updates. This could block oracle updates for at least one period and leave stale price data that affects future submissions.
The StaderOracle contract stores price data in a shared array without separating it by reporting block, so data from different blocks gets mixed. When an older block is finalised, the newer block's data is lost, corrupting the oracle's price feed.
The initialise function in StaderConfig grants the admin role but does not update the mapping that getAdmin reads from, so getAdmin returns address(0). As a result, VaultProxy.initialise sets its owner to address(0), making all owner-restricted functions inaccessible until updateAdmin is called.
The permissionless distributeRewards function can be called by anyone to reset the vault balance to zero before a validator withdrawal, changing the operatorShare calculation so that it falls below the accrued penalty and triggers a slash. An attacker can front-run the withdrawal to cause this loss, or an operator can call it to rescue rewards before being slashed.
The VaultProxy implementation contract's initialise function was left unprotected, allowing anyone to set its staderConfig address to a malicious contract. An attacker could then trigger a delegatecall that self-destructs the implementation, causing all vault clones to forward calls to an address with no code and return success without executing logic.
The updateAdmin function revokes the old admin's DEFAULT_ADMIN_ROLE even when the new admin address is the same as the current one, causing the protocol to lose admin control over the StaderConfig contract. An attacker could not exploit this directly, but a mistaken call by the admin would lock the contract's admin functions.
Several contracts inherit from a pausable base but never expose external pause and unpause functions, so the emergency stop can never be triggered. An attacker cannot directly exploit this, but the intended safety mechanism is unavailable when needed.
SL
Stader Labs
Medium
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.