Tigris Trade contest - Mukund's results

A multi-chain decentralized leveraged exchange featuring instant settlement and guaranteed price execution on 30+ pairs.

General Information

Platform: Code4rena

Start Date: 09/12/2022

Pot Size: $90,500 USDC

Total HM: 35

Participants: 84

Period: 7 days

Judge: GalloDaSballo

Total Solo HM: 12

Id: 192

League: ETH

Tigris Trade

Findings Distribution

Researcher Performance

Rank: 81/84

Findings: 1

Award: $1.15

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

1.1472 USDC - $1.15

Labels

bug
2 (Med Risk)
satisfactory
sponsor acknowledged
edited-by-warden
duplicate-377

External Links

Lines of code

https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/BondNFT.sol#L366-L370

Vulnerability details

Impact

owner can steal funds

Proof of Concept

owner can steal funds by setting itself manager and owner will be able to use onlymanager() function like claim on this amount will be sent to manager rather than bond.owner.

Tools Used

vs code

add check so owner cannot set itself manager or make sure user provided address is a contract rather than wallet address

#0 - TriHaz

2023-01-09T17:59:52Z

We are aware of the centralization risks, initially, all contracts will have a multi-sig as owner to prevent a sole owner, later on a DAO could be the owner.

#1 - c4-sponsor

2023-01-09T17:59:58Z

TriHaz marked the issue as sponsor acknowledged

#2 - c4-judge

2023-01-16T07:31:06Z

GalloDaSballo marked the issue as duplicate of #377

#3 - c4-judge

2023-01-22T17:34:48Z

GalloDaSballo marked the issue as satisfactory

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