Skip to content

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
Find Malt Protocol - Versus contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Malt Protocol - Versus contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Manipulation of livePrice to receive defaultIncentive in 2 consecutive blocks Business logic High – – – 1 May 2023
RewardThrottle.checkRewardUnderflow() might track the cumulative APR s wrongly. Business logic High – – – 1 May 2023
SwingTraderManager.swingTraders() shoudn’t contain duplicate traderContract s. Business logic Medium – – – 1 May 2023
The latest malt price can be less than the actual price target and StabilizerNode.stabilize will revert Smart contracts Medium – – – 1 May 2023
StabilizerNode.stabilize uses stale GlobalImpliedCollateralService data, which will make stabilize incorrect Business logic High – – – 1 May 2023
LinearDistributor.declareReward() might revert after changing vestingDistributor . Smart contracts Medium – – – 1 May 2023
StabilizerNode.stabilize may use undistributed rewards in the overflowPool as collateral Business logic Medium – – – 1 May 2023
LinearDistributor.declareReward: previouslyVested may update incorrectly, which will cause some rewards to be lost Business logic Medium – – – 1 May 2023
Function stabilize() might always revert because of overflow since Malt contract use solidity 0.8 Smart contracts Medium – – – 1 May 2023
LinearDistributor.declareReward can revert due to dependency of balance DoS Medium – – – 1 May 2023
SwingTraderManager.addSwingTrader will push traderId with active = false to activeTraders Business logic High – – – 1 May 2023
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 – – – 1 May 2023
MaltRepository._revokeRole may not work correctly Access control Medium – – – 1 May 2023
RewardThrottle.populateFromPreviousThrottle may be exposed to front-run attack Race condition Medium – – – 1 May 2023
Value of totalProfit might be wrong because of wrong logic in function sellMalt() Business logic Medium – – – 1 May 2023
RewardThrottle.setTimekeeper: If changing the timekeeper causes the epoch to change, it will mess up the system Business logic Medium – – – 1 May 2023
Repository._removeContract() removes the contract wrongly. Business logic Medium – – – 1 May 2023
RewardThrottle._sendToDistributor() reverts if one distributor is inactive. DoS Medium – – – 1 May 2023
Average APR s might be calculated wrongly after calling populateFromPreviousThrottle() . Business logic Medium – – – 1 May 2023
StabilizerNode.stabilize() should update lastTracking as well to avoid an unnecessary incentive. Business logic Medium – – – 1 May 2023
priceTarget is inconsistent in StabilizerNode.stabilize Business logic Medium – – – 1 May 2023
_distributeProfit will use the stale globalIC.swingTraderCollateralDeficit()/swingTraderCollateralRatio() , which will result in incorrect profit distribution Business logic High – – – 1 May 2023
theft of system profit Business logic Medium – – – 14 Feb 2022
AbstractRewardMine.sol#setRewardToken is dangerous Smart contracts Medium – – – 14 Feb 2022
_notSameBlock() can be circumvented in bondToAccount() Business logic Medium – – – 14 Feb 2022
AbstractRewardMine - Re-entrancy attack during withdrawal Smart contracts Medium – – – 14 Feb 2022
_getFirstSample returns wrong sample if count < sampleMemory Business logic Medium – – – 14 Feb 2022
AuctionParticipant.sol: purchaseArbitrageTokens should not push duplicate auctions Business logic Medium – – – 14 Feb 2022
Frontrunning in UniswapHandler calls to UniswapV2Router Business logic Medium – – – 14 Feb 2022
Dutch auction can be manipulated Business logic Medium – – – 14 Feb 2022