Skip to content

Code4rena

Popcorn contest

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

disclosed reports
47
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Popcorn contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

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

ReportClassSeverityBountyCVSSVotesDisclosed
Any user can drain the entire reward fund in MultiRewardStaking due to incorrect calculation of supplierDelta Smart contracts High – – – 7 Sep 2023
BeefyAdapter() malicious vault owner can use malicious \_beefyBooster to steal the adapter’s token Access control High – – – 7 Sep 2023
Lost Rewards in MultiRewardStaking Upon Third-Party Withdraw Business logic High – – – 7 Sep 2023
Attacker can deploy vaults with a malicious Staking contract Access control High – – – 7 Sep 2023
Modifier VaultController._verifyCreatorOrOwner does not work as intented Access control High – – – 7 Sep 2023
Total assets of yearn vault are not correct Business logic Medium – – – 7 Sep 2023
Adapters logic contracts can be destroyed Access control Medium – – – 7 Sep 2023
VaultController() Missing call DeploymentController.nominateNewDependencyOwner() Access control Medium – – – 7 Sep 2023
Vault.redeem function does not use syncFeeCheckpoint modifier Business logic Medium – – – 7 Sep 2023
Management Fee for a vault is charged even when there is no assets under management and subject to manipulation. Business logic Medium – – – 7 Sep 2023
vault.changeAdapter can be misused to drain fees Business logic Medium – – – 7 Sep 2023
erc777 cross function re-entrancy Race condition Medium – – – 7 Sep 2023
Vault fees can be set to anything when initializing Business logic Medium – – – 7 Sep 2023
AdpaterBase.harvest should be called before deposit and withdraw Business logic Medium – – – 7 Sep 2023
DOS any Staking contract with Arithmetic Overflow DoS Medium – – – 7 Sep 2023
Vault.maxWithdraw returns asset amount that is too big for Vault.withdraw Business logic Medium – – – 7 Sep 2023
Vault::takeFees can be front run to minimize accruedPerformanceFee Business logic Medium – – – 7 Sep 2023
quitPeriod is effectively always just 1 day Business logic Medium – – – 7 Sep 2023
Vault creator can prevent users from claiming staking rewards Business logic Medium – – – 7 Sep 2023
Protocol loses fees because highWaterMark is updated every time someone deposit, withdraw, mint Business logic High – – – 7 Sep 2023
Users can fail to withdraw deposited assets from a vault that uses YearnAdapter contract as its adapter because maxLoss input for calling corresponding Yearn vault’s withdraw function cannot be specified Business logic Medium – – – 7 Sep 2023
cool down time period is not properly respected for the harvest method Business logic Medium – – – 7 Sep 2023
AdapterBase should always use delegatecall to call the functions in the strategy Smart contracts Medium – – – 7 Sep 2023
Accrued perfomance fee calculation takes wrong assumptions for share decimals, leading to loss of shares or hyperinflation – Medium – – – 7 Sep 2023
Incorrect Reward Duration After Change in Reward Speed in MultiRewardStaking Business logic High – – – 7 Sep 2023
Owner can collect management fees with a new increased fee for previous time period. Business logic Medium – – – 7 Sep 2023
Strategy can’t earn yields for user as underlyingBalance is not updated when strategy deposits Business logic Medium – – – 7 Sep 2023
syncFeeCheckpoint() does not modify the highWaterMark correctly, sometimes it might even decrease its value, resulting in charging more performance fees than it should Business logic Medium – – – 7 Sep 2023
Malicious Users Can Drain The Assets Of Vault. (Due to not being ERC4626 Complaint) Smart contracts Medium – – – 7 Sep 2023
The calculation of takeFees in Vault contract is incorrect Smart contracts Medium – – – 7 Sep 2023