NFTBridge
60,000 USDC
View results
Submission Details
Severity: medium
Invalid

Missing check for `msg.value`

Summary

Missing check for value transfered with a `depositTokens` call

Vulnerability Details

https://github.com/Cyfrin/2024-07-ark-project/blob/8f4f71d8b6487c316334a7e427f888cda01c8cff/apps/blockchain/ethereum/src/Bridge.sol#L86 - missing check for msg.value > 20_000, will revert if msg.value is smaller

Impact

Tools Used

Recommendations

Add check for msg.value > 20_000

Updates

Lead Judging Commences

n0kto Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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