BASE - 0xTheC0der's results

A secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users to web3.

General Information

Platform: Code4rena

Start Date: 26/05/2023

Pot Size: $100,000 USDC

Total HM: 0

Participants: 33

Period: 14 days

Judge: leastwood

Id: 241

League: ETH

BASE

Findings Distribution

Researcher Performance

Rank: 17/33

Findings: 1

Award: $813.40

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

813.4016 USDC - $813.40

Labels

bug
grade-b
QA (Quality Assurance)
Q-12

External Links

Low 1: Funds are stuck in case message relay never succeeds on destination layer

This L2 solution lacks a mechanism to recover funds on the source layer in case a message can never be (not even manually) relayed successfully on the destination layer, see CrossDomainMessenger.relayMessage(...). In this case, user tokens are stuck in the source layer's StandardBridge contract and ETH is stuck in the source layer's OptimismPortal.sol (in case of L1) or L2ToL1MessagePasser.sol (in case of L2). I recommend a mechanism that allows to invalidate a message on the destination layer after a given time-out, this info is then relayed to the source layer and therefore allows the user to recover funds on the source layer. However, this is neither a vulnerability nor a bug per se, it's just a missing feature and users of this L2 solution are at risk to lose funds without this feature, in case of user error.

#0 - 0xleastwood

2023-06-16T13:51:41Z

Not sure about this so I will defer to the Base protocol team for now.

#1 - c4-judge

2023-06-16T13:51:46Z

0xleastwood 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