Skip to content

Code4rena

prePO contest

Every publicly disclosed report for prePO contest and what kind of bugs they were.

disclosed reports
21
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find prePO contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what prePO contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Manager can get around min reserves check, draining all funds from Collateral.sol Business logic Medium – – – 27 Jan 2023
A whale user is able to cause freeze of funds of other users by bypassing withdraw limit Business logic High – – – 27 Jan 2023
Users do not receive owed tokens if TokenSender contract cannot cover their owed amount. Business logic Medium – – – 27 Jan 2023
Bypass userWithdrawLimitPerPeriod check Business logic Medium – – – 27 Jan 2023
The recipient receives free collateral token if an ERC20 token that deducts a fee on transfer used as baseToken Business logic Medium – – – 27 Jan 2023
PrePO NFT holders will not be able to redeem collateral Access control Medium – – – 27 Jan 2023
Frontrunning for unallowed minting of Short and Long tokens Access control Medium – – – 27 Jan 2023
PrePOMarket.setFinalLongPayout() shouldn’t be called twice. Business logic Medium – – – 27 Jan 2023
griefing / blocking / delaying users to withdraw Business logic High – – – 27 Jan 2023
TokenShop: purchase function should add _purchasePrices parameter Race condition Medium – – – 6 Sep 2022
Token transfers do not verify that the tokens were successfully transferred Smart contracts Medium – – – 6 Sep 2022
No storage gap for upgradeable contracts Smart contracts Medium – – – 6 Sep 2022
SafeAccessControlEnumerableCaller and SafeOwnableCaller contracts lack access control Access control Medium – – – 6 Sep 2022
First depositor can break minting of shares Smart contracts High – – – 9 May 2022
Withdrawal delay can be circumvented Business logic High – – – 9 May 2022
Duplicate _tokenNameSuffix and _tokenSymbolSuffix will incorrectly update current Market Business logic Medium – – – 9 May 2022
Market expiry behaviour differs in implementation and documentation Business logic Medium – – – 9 May 2022
getSharesForAmount returns wrong value when totalAssets == 0 Business logic Medium – – – 9 May 2022
SingleStrategyController doesn’t verify that new strategy uses the same base token Business logic Medium – – – 9 May 2022
Strategy Migration May Leave Tokens in the Old Strategy Impacting Share Calculations Business logic High – – – 9 May 2022
Wrong formula of getSharesForAmount() can potentially cause fund loss when being used to calculate the shares to be used in withdraw() Business logic Medium – – – 9 May 2022