Moonwell

Moonwell
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: low
Invalid

mip-m17.sol proposal contract may read zero addresses from .json files and it will pass

Summary

There are no zero address checks for addresses being read in .json files.

Vulnerability Details

Same as summary - corrupt .json file leads to vulnerabilities.

POC

Add or replace some object in mFRAX.json with following and run integration test:

{
"addr": "0x0000000000000000000000000000000000000000"
},
  • it will pass.

Impact

Funds are at risk of being lost, and entire proposal is at stake of not executing properly.

Tools Used

Manual review

Recommendations

Ensure no address from .json file is a zero address. Ensure that in an on-chain check after reading from the .json file.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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