RabbitHole Quest Protocol contest - Phenomana's results

A protocol to distribute token rewards for completing on-chain tasks.

General Information

Platform: Code4rena

Start Date: 25/01/2023

Pot Size: $36,500 USDC

Total HM: 11

Participants: 173

Period: 5 days

Judge: kirk-baird

Total Solo HM: 1

Id: 208

League: ETH

RabbitHole

Findings Distribution

Researcher Performance

Rank: 117/173

Findings: 1

Award: $17.20

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

contract: https://github.com/rabbitholegg/quest-protocol/blob/8c4c1f71221570b14a0479c216583342bd652d8d/contracts/Erc20Quest.sol#L61

The _transferRewards() function does not check if the quest has ended, which could allow an attacker to claim rewards before the quest has ended.

Severity: Low

PoC function exploit() public { Erc20Quest quest = Erc20Quest(<address of deployed contract>); quest._transferRewards(<address of attacker>, <amount>); }

#0 - c4-judge

2023-02-05T06:17:11Z

kirk-baird marked the issue as grade-c

#1 - kirk-baird

2023-02-16T06:53:37Z

This was rated grade-c due to quality but I will upgrade to grade-b due to #374

#2 - c4-judge

2023-02-16T06:53:41Z

kirk-baird marked the issue as grade-b

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