The PlayCollateralTokenFactory contract's createCollateralToken function does not check whether a token with the same name and symbol already exists, so anyone can create duplicate tokens. An attacker could deploy tokens that look identical to a legitimate one, potentially confusing users and enabling scams.
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.
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.
The FlatCFM contract's resolve function can produce an all-zero payout array when the oracle answer is a multiple of 2^OUTCOME_COUNT, causing the conditional tokens contract to revert. This prevents resolution and blocks users from redeeming their collateral.
The clonable implementation contracts deployed by the factory constructor were left uninitialized, so anyone could call their initialize function with arbitrary parameters. An attacker could set a malicious conditional tokens address, potentially causing users who interact with clones to lose funds.
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.
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.
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.
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.
BU
Butter
Informational
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.