Code4rena
PoolTogether
Every publicly disclosed report for PoolTogether and what kind of bugs they were.
- disclosed reports
- 104
- most reported class
- Business logic
- bug classes found
- 6
- first disclosure
- 2021
Disclosed reports
Newest first. Only what PoolTogether chose to make public.
-
Funds locked due to missing transfer check
Business logic Medium Audit finding +4 collaborators
-
The winner can steal claimer fees, and force him to pay for the gas
Race condition Medium Audit finding +2 collaborators
-
maxDeposit() uses yieldVault.maxDeposit() but _depositAndMint() uses yieldVault.mint()
Business logic Medium Audit finding
-
yieldFeeBalance wouldn’t be claimed after calling transferTokensOut()
Business logic Medium Audit finding
-
_maxYieldVaultWithdraw() uses yieldVault.convertToAssets()
Business logic Medium Audit finding +1 collaborator
-
Permit doesn’t work with DAI
Business logic Medium Audit finding +3 collaborators
-
PrizeVault.maxDeposit() doesn’t take into account produced fees
Business logic Medium Audit finding +2 collaborators
-
Lack of Slippage Protection in withdraw / redeem Functions of the Vault
Business logic Medium Audit finding +9 collaborators
-
Any fee claim lesser than the total yieldFeeBalance as unit of shares is lost and locked in the PrizeVault contract
Business logic High Audit finding +48 collaborators
-
Resetting delegation will result in user funds being lost forever
Business logic High Audit finding +7 collaborators
-
Unintended or malicious use of prize winners’ hooks
Smart contracts Medium Audit finding +11 collaborators
-
depositWithPermit and mintWithPermit are allowed to be called by the permit creator only
Business logic Medium Audit finding +1 collaborator
-
Balance invariant between the individual and total twabs can be broken
Business logic Medium Audit finding
-
_requireVaultCollateralized() is called at the beginning of the functions mintYieldFee() and liquidate()
Business logic High Audit finding +2 collaborators
-
Vault is not compatible with some ERC4626 vaults
Business logic High Audit finding +1 collaborator
-
Vault.mintYieldFee function can be called by anyone to mint Vault Shares to any recipient address
Access control High Audit finding +37 collaborators
-
In important libraries of PoolTogether, the pow() function of PRBMath is used, which exhibits inconsistent return values
Medium Audit finding +2 collaborators
-
Inconsistent behavior for canary claims in the claimer
Business logic Medium Audit finding
-
Users can manipulate the observation creation
Business logic Medium Audit finding
-
An attacker can front-run deployVault to deploy at the same address
Business logic Medium Audit finding +4 collaborators
-
The _currentExchangeRate of the Vault contract can’t increase and will always be lower than or equal to _assetUnit
Business logic High Audit finding +1 collaborator
-
Improper handling of cases when withdrawable assets = 0
Business logic Medium Audit finding
-
High Prizes might not be claimed
Business logic Medium Audit finding +1 collaborator
-
The tier odds in TieredLiquidityDistributor are incorrect
Business logic Medium Audit finding
-
_amountOut is representing assets and shares at the same time in the liquidate function
Business logic High Audit finding +2 collaborators
-
TwabLib::getTwabBetween can return inaccurate balances if _startTime and _endTime aren’t safely bound
Business logic Medium Audit finding +1 collaborator
-
If the underlying asset is a fee on transfer token, it could break the internal accounting of the vault
Business logic Medium Audit finding +2 collaborators
-
Delegated amounts can be forcefully removed from anyone in the TwabController
Business logic High Audit finding +9 collaborators
-
Increasing reserves breaks PrizePool accounting
Business logic High Audit finding +2 collaborators
-
drawManager can be set to a malicious address
Access control Medium Audit finding +12 collaborators