Skip to content

Immunefi

Butter

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

disclosed reports
9
most reported class
Business logic
bug classes found
2
first disclosure
2025
Find Butter on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Butter chose to make public.

Business logic

Lack of Validation for Min and Max Values in FlatCFMFactory leads to wrong payouts

The FlatCFMFactory does not validate that the minimum and maximum values of a scalar market are different, allowing them to be equal. When the oracle's numeric answer equals that boundary, the resolution logic pays out only to the short token, leaving long token holders with nothing.

Butter

Informational
Business logic

Incorrect Outcome Formatting in Reality Adapter Leads to Wrong Number of Outcomes

The Reality adapter builds a JSON-like outcome list by wrapping each outcome name in quotes without escaping embedded quotes or commas. An outcome name containing quotes and commas could be split by Reality.eth into more outcomes than intended, misconfiguring the market.

Butter

Informational
Audit finding

Check numericAnswer before external call to check answer is valid or not

The report points out that in the resolve function, the code checks whether the answer is invalid before checking if the numeric answer is zero, causing an unnecessary external call when the answer is zero. This leads to higher gas consumption than needed.

Butter

Informational
Audit finding

Misleading Comment in merge Function Regarding Token Transfers to wrapped1155Factory

The merge function in the ConditionalScalarMarket contract has a comment that says only Long and Short ERC20 tokens are transferred to the wrapped1155Factory, but the code also transfers Invalid tokens. This could confuse developers about the token flow and, if unintended, lead to unexpected behaviour.

Butter

Informational
Business logic

Bond Fund will be Lost When Question is Asked Again

The askMetricQuestion function in FlatCFMRealityAdapter is payable and calls an internal _askQuestion that returns early if the question already exists, without refunding the attached ETH. An attacker (or any caller) who calls askMetricQuestion again for the same question loses the sent funds, which become stuck in the contract.

Butter

Informational
Access control

Unauthorized Token Creation and Minting Vulnerability

The token factory's create function had no access control, so any address could deploy a new collateral token with an arbitrary supply and make itself the owner. As owner, the attacker gained full transfer rights, bypassing the intended restriction that only the owner or ConditionalTokens could move tokens.

Butter

Informational