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
Disclosed reports
Newest first. Only what Popcorn contest chose to make public.
-
Any user can drain the entire reward fund in MultiRewardStaking due to incorrect calculation of supplierDelta
Smart contracts High Audit finding +3 collaborators
-
BeefyAdapter() malicious vault owner can use malicious \_beefyBooster to steal the adapter’s token
Access control High Audit finding +3 collaborators
-
Lost Rewards in MultiRewardStaking Upon Third-Party Withdraw
Business logic High Audit finding +3 collaborators
-
Attacker can deploy vaults with a malicious Staking contract
Access control High Audit finding +3 collaborators
-
Modifier VaultController._verifyCreatorOrOwner does not work as intented
Access control High Audit finding +10 collaborators
-
Total assets of yearn vault are not correct
Business logic Medium Audit finding +1 collaborator
-
Adapters logic contracts can be destroyed
Access control Medium Audit finding +1 collaborator
-
VaultController() Missing call DeploymentController.nominateNewDependencyOwner()
Access control Medium Audit finding +3 collaborators
-
Vault.redeem function does not use syncFeeCheckpoint modifier
Business logic Medium Audit finding +6 collaborators
-
Management Fee for a vault is charged even when there is no assets under management and subject to manipulation.
Business logic Medium Audit finding +1 collaborator
-
vault.changeAdapter can be misused to drain fees
Business logic Medium Audit finding +5 collaborators
-
erc777 cross function re-entrancy
Race condition Medium Audit finding
-
Vault fees can be set to anything when initializing
Business logic Medium Audit finding +6 collaborators
-
AdpaterBase.harvest should be called before deposit and withdraw
Business logic Medium Audit finding +1 collaborator
-
DOS any Staking contract with Arithmetic Overflow
DoS Medium Audit finding +7 collaborators
-
Vault.maxWithdraw returns asset amount that is too big for Vault.withdraw
Business logic Medium Audit finding
-
Vault::takeFees can be front run to minimize accruedPerformanceFee
Business logic Medium Audit finding +7 collaborators
-
quitPeriod is effectively always just 1 day
Business logic Medium Audit finding +6 collaborators
-
Vault creator can prevent users from claiming staking rewards
Business logic Medium Audit finding
-
Protocol loses fees because highWaterMark is updated every time someone deposit, withdraw, mint
Business logic High Audit finding +1 collaborator
-
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 Audit finding +3 collaborators
-
cool down time period is not properly respected for the harvest method
Business logic Medium Audit finding +15 collaborators
-
AdapterBase should always use delegatecall to call the functions in the strategy
Smart contracts Medium Audit finding +1 collaborator
-
Accrued perfomance fee calculation takes wrong assumptions for share decimals, leading to loss of shares or hyperinflation
Medium Audit finding +4 collaborators
-
Incorrect Reward Duration After Change in Reward Speed in MultiRewardStaking
Business logic High Audit finding +8 collaborators
-
Owner can collect management fees with a new increased fee for previous time period.
Business logic Medium Audit finding +4 collaborators
-
Strategy can’t earn yields for user as underlyingBalance is not updated when strategy deposits
Business logic Medium Audit finding
-
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 Audit finding +4 collaborators
-
Malicious Users Can Drain The Assets Of Vault. (Due to not being ERC4626 Complaint)
Smart contracts Medium Audit finding +9 collaborators
-
The calculation of takeFees in Vault contract is incorrect
Smart contracts Medium Audit finding +2 collaborators