First Flight #18: T-Swap

First Flight #18
Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

No check if weth token is a token in constructor of PoolFactory

Summary

It is good to check if token is a token when deploying contract.

Vulnerability Details

Can deploy unusable contract or try use some bad implemented token.

Impact

Lost of funds for deployment.

Tools Used

slither, foundry, static analyze,

Recommendations

Do the interface check for input token address before using it in constructor.

Updates

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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