Skip to content

Code4rena

Sushi Miso contest

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

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

Disclosed reports

Newest first. Only what Sushi Miso contest chose to make public.

Business logic

Last person to withdraw his tokens might not be able to do this, in Crowdsale (edge case)

The Crowdsale contract allows commitments after finalization if the total committed tokens are one less than the total tokens, because the commitment functions only check the end time and not whether the auction has ended or been finalized. An attacker could buy the last token after finalization, leaving the contract one token short, so the last person to withdraw cannot withdraw their tokens and the revenue for that token cannot be retrieved.

Sushi Miso contest

High
Business logic

SushiToken transfers are broken due to wrong delegates accounting on transfers

The SushiToken contract's _beforeTokenTransfer function incorrectly moves voting power from the sender's address instead of their delegate, causing transfers to revert when the sender has delegated votes. An attacker could not exploit this for gain, but users who delegated votes are unable to transfer tokens.

Sushi Miso contest

High
Smart contracts

use of transfer() instead of call() to send eth

The smart contracts use Solidity's transfer() to send ETH, which forwards a fixed 2300 gas stipend. After the Istanbul hardfork increased SLOAD gas costs, some recipient contracts with fallback functions that consume more than 2300 gas would fail to receive ETH, potentially making funds impossible to withdraw.

Sushi Miso contest

Medium