Code4rena
Malt Protocol - Versus contest
Every publicly disclosed report for Malt Protocol - Versus contest and what kind of bugs they were.
- disclosed reports
- 57
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Malt Protocol - Versus contest chose to make public.
-
Manipulation of livePrice to receive defaultIncentive in 2 consecutive blocks
Business logic High Audit finding
-
RewardThrottle.checkRewardUnderflow() might track the cumulative APR s wrongly.
Business logic High Audit finding
-
SwingTraderManager.swingTraders() shoudn’t contain duplicate traderContract s.
Business logic Medium Audit finding +1 collaborator
-
The latest malt price can be less than the actual price target and StabilizerNode.stabilize will revert
Smart contracts Medium Audit finding +1 collaborator
-
StabilizerNode.stabilize uses stale GlobalImpliedCollateralService data, which will make stabilize incorrect
Business logic High Audit finding
-
LinearDistributor.declareReward() might revert after changing vestingDistributor .
Smart contracts Medium Audit finding
-
StabilizerNode.stabilize may use undistributed rewards in the overflowPool as collateral
Business logic Medium Audit finding
-
LinearDistributor.declareReward: previouslyVested may update incorrectly, which will cause some rewards to be lost
Business logic Medium Audit finding
-
Function stabilize() might always revert because of overflow since Malt contract use solidity 0.8
Smart contracts Medium Audit finding
-
LinearDistributor.declareReward can revert due to dependency of balance
DoS Medium Audit finding
-
SwingTraderManager.addSwingTrader will push traderId with active = false to activeTraders
Business logic High Audit finding +1 collaborator
-
RewardThrottle: If an epoch does not have any profit, then there may not be rewards for that epoch at the start of the next epoch.
Business logic High Audit finding +1 collaborator
-
MaltRepository._revokeRole may not work correctly
Access control Medium Audit finding
-
RewardThrottle.populateFromPreviousThrottle may be exposed to front-run attack
Race condition Medium Audit finding
-
Value of totalProfit might be wrong because of wrong logic in function sellMalt()
Business logic Medium Audit finding +2 collaborators
-
RewardThrottle.setTimekeeper: If changing the timekeeper causes the epoch to change, it will mess up the system
Business logic Medium Audit finding
-
Repository._removeContract() removes the contract wrongly.
Business logic Medium Audit finding +1 collaborator
-
RewardThrottle._sendToDistributor() reverts if one distributor is inactive.
DoS Medium Audit finding
-
Average APR s might be calculated wrongly after calling populateFromPreviousThrottle() .
Business logic Medium Audit finding
-
StabilizerNode.stabilize() should update lastTracking as well to avoid an unnecessary incentive.
Business logic Medium Audit finding
-
priceTarget is inconsistent in StabilizerNode.stabilize
Business logic Medium Audit finding
-
theft of system profit
Business logic Medium Audit finding
-
AbstractRewardMine.sol#setRewardToken is dangerous
Smart contracts Medium Audit finding
-
_notSameBlock() can be circumvented in bondToAccount()
Business logic Medium Audit finding
-
AbstractRewardMine - Re-entrancy attack during withdrawal
Smart contracts Medium Audit finding
-
_getFirstSample returns wrong sample if count < sampleMemory
Business logic Medium Audit finding
-
AuctionParticipant.sol: purchaseArbitrageTokens should not push duplicate auctions
Business logic Medium Audit finding
-
Frontrunning in UniswapHandler calls to UniswapV2Router
Business logic Medium Audit finding
-
Dutch auction can be manipulated
Business logic Medium Audit finding