Reality Cards contest - JMukesh's results

The world's first 'outcome ownership' prediction market.

General Information

Platform: Code4rena

Start Date: 19/08/2021

Pot Size: $30,000 USDC

Total HM: 5

Participants: 11

Period: 7 days

Judge: 0xean

Total Solo HM: 4

Id: 26

League: ETH

Reality Cards

Findings Distribution

Researcher Performance

Rank: 5/11

Findings: 2

Award: $2,217.98

🌟 Selected for report: 4

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: leastwood

Also found by: 0xsanson, JMukesh, cmichel, gpersoon, hickuphh3

Labels

bug
duplicate
1 (Low Risk)

Awards

227.1627 USDC - $227.16

External Links

Handle

JMukesh

Vulnerability details

Impact

Due to uninitialized-state-variables : marketWhitelist, marketWhitelistCheck() will always return true, since it will always satisfy if condition requiredRole == bytes32(0)), it will never go to else part

Proof of Concept

https://github.com/code-423n4/2021-08-realitycards/blob/39d711fdd762c32378abf50dc56ec51a21592917/contracts/RCTreasury.sol#L75

Tools Used

manual review

Initialize all the variables

#0 - Splidge

2021-08-25T14:08:02Z

Duplicate of #18

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter