Backd contest - jayjonah8's results

Maximize the power of your assets and start earning yield

General Information

Platform: Code4rena

Start Date: 21/04/2022

Pot Size: $100,000 USDC

Total HM: 18

Participants: 60

Period: 7 days

Judge: gzeon

Total Solo HM: 10

Id: 112

League: ETH

Backd

Findings Distribution

Researcher Performance

Rank: 43/60

Findings: 1

Award: $159.31

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

159.3125 USDC - $159.31

Labels

bug
QA (Quality Assurance)
sponsor disputed
reviewed

External Links

Lines of code

https://github.com/code-423n4/2022-04-backd/blob/main/backd/contracts/AddressProvider.sol#L47

Vulnerability details

Impact

In AddressProvider.sol the use of Open Zeppelin upgradeable contracts indicates that AddressProvider.sol should be upgradeable. The problem is that it uses a constructor function which should not be used in upgradeable contracts since it can break upgradeability.

Proof of Concept

https://github.com/code-423n4/2022-04-backd/blob/main/backd/contracts/AddressProvider.sol#L47

Tools Used

Manual code review

Consider deleting the constructor function and adding its logic inside the initialize() function.

#0 - chase-manning

2022-04-29T10:47:32Z

This contract is not upgradable.

#1 - gzeoneth

2022-05-07T20:20:36Z

Not sure why you need an initializer if it is not behind proxy. Downgrading to Low / QA regardless.

#2 - JeeberC4

2022-05-09T16:21:22Z

Preserving original title as warden did not submit a QA Report and judge downgraded issue: Constructor function used in upgradeability contract

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