Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: medium
Invalid

Lack of Access Control in inherit() and withdrawInheritedfund()

Summary

The inherit function does not restrict who can call it, allowing anyone to trigger the inheritance and withdraw process.

Vulnerability Details

  • Anyone could call the functions and trigger the inheritance and withdraw process, disrupting the intended workflow.

Recommendations

Add the onlyOwner modifier to the functions

Updates

Lead Judging Commences

0xtimefliez Lead Judge 6 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.