Boot Finance contest - pants's results

Custom DEX AMM for Defi Projects

General Information

Platform: Code4rena

Start Date: 04/11/2021

Pot Size: $50,000 USDC

Total HM: 20

Participants: 28

Period: 7 days

Judge: 0xean

Total Solo HM: 11

Id: 51

League: ETH

Boot Finance

Findings Distribution

Researcher Performance

Rank: 3/28

Findings: 5

Award: $3,959.10

🌟 Selected for report: 17

🚀 Solo Findings: 2

Findings Information

🌟 Selected for report: pants

Labels

bug
2 (Med Risk)
sponsor confirmed

Awards

872.285 USDC - $872.28

External Links

Handle

pants

Vulnerability details

The function MainToken.set_mint_multisig() doesn't check that _minting_multisig doesn't equal zero before it sets it as the new minting_multisig.

Impact

This function can be invoked by mistake with the zero address as _minting_multisig, causing the system to lose its minting_multisig forever, without the option to set a new minting_multisig.

Tool Used

Manual code review.

Check that _minting_multisig doesn't equal zero before setting it as the new minting_multisig.

Findings Information

🌟 Selected for report: pants

Labels

bug
2 (Med Risk)
sponsor confirmed

Awards

872.285 USDC - $872.28

External Links

Handle

pants

Vulnerability details

The function LPToken.set_minter() doesn't check that _minter doesn't equal zero before it sets it as the new minter.

Impact

This function can be invoked by mistake with the zero address as _minter, causing the system to lose its minter forever, without the option to set a new minter.

Tool Used

Manual code review.

Check that _minter doesn't equal zero before setting it as the new minter.

Findings Information

🌟 Selected for report: defsec

Also found by: Reigada, Ruhum, elprofesor, mics, pants, pauliax

Labels

bug
duplicate
2 (Med Risk)
sponsor confirmed

Awards

872.285 USDC - $872.28

External Links

Handle

pants

Vulnerability details

The function MainToken.set_admin() doesn't check that _admin doesn't equal zero before it sets it as the new admin.

Impact

This function can be invoked by mistake with the zero address as _admin, causing the system to lose its admin forever, without the option to set a new admin.

Tool Used

Manual code review.

Check that _admin doesn't equal zero before setting it as the new admin.

#0 - chickenpie347

2021-11-16T14:11:01Z

Addressed in #90.

#1 - 0xean

2022-01-08T02:49:21Z

dupe of #35

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