BadgerDAO Zaps contest - 0x0x0x's results

Building Products to Bring BTC to DeFi.

General Information

Platform: Code4rena

Start Date: 14/11/2021

Pot Size: $30,000 USDC

Total HM: 7

Participants: 13

Period: 3 days

Judge: leastwood

Total Solo HM: 4

Id: 57

League: ETH

BadgerDAO

Findings Distribution

Researcher Performance

Rank: 4/13

Findings: 3

Award: $1,946.50

🌟 Selected for report: 2

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: WatchPug

Also found by: 0x0x0x, Meta0xNull, fatima_naz, gzeon, ksk2345

Labels

bug
duplicate
3 (High Risk)
sponsor confirmed

Awards

925.536 USDC - $925.54

External Links

Handle

0x0x0x

Vulnerability details

Proof of Concept

This function is intended to change the guardian, but the code changes the governance address as seen in the code:

function setGuardian(address _guardian) external { _onlyGovernance(); governance = _guardian; }

It should be replaced with the following code to have the functionality of setting guardian.

function setGuardian(address _guardian) external { _onlyGovernance(); guardian = _guardian; }

Tools Used

Manual analysis

#0 - tabshaikh

2021-11-15T14:33:33Z

Fixed

#1 - 0xleastwood

2021-12-09T12:11:58Z

duplicate of #51

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