Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: high
Valid

Deposit Limit can be breached

Summary

The deposit limit can be breached directly by transferring the token to the vault contract.

Vulnerability Details

Not sure why someone would transfer the token directly to the vault contract since the deposit event would not be emitted and the off-chain service would not mint the tokens on L2.

Impact

The deposit limit can be breached and the contract can go into deadlock. The signer or the owner can clear the deadlock by removing the tokens from the vault.

Tools Used

forge

Recommendations

There is no way to restrict incoming token transfers.

Updates

Lead Judging Commences

0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

depositTokensToL2(): DoS deposits via DEPOSIT_LIMIT

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.