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

İf the Function selector cant be recognized-> will mint horse

Summary

İf the Function selector cant be recognized-> will mint horse

Vulnerability Details

İn case of function selector cant be recognized in main macro it will lead to Mint_HORSE() macro.

Impact

Unlabeled mint-horse macro at the end of main macro may cause unwanted effects.

Tools Used

manuel-review

Recommendations

// Revert if we don't recognize the function selector
0x00 dup1 revert
Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

MAIN() macro is not properly implemented

Any call data sent to the contract that doesn't contain a function selector will randomly mint a horse.

Support

FAQs

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