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

No Withdrawal Functionality in `OneShot`

Summary

There is no secure withdrawal function for the owner to transfer out the balance.

Vulnerability Details

If the contract is intended to handle Ether or other tokens, there should be a secure withdrawal function for the owner to transfer out the balance.

Impact

This can lead to a loss of funds if the contract is meant to hold funds. An attacker could create a malicious contract that can receive funds from the contract and then block the owner from withdrawing the funds.

Tools Used

Manual review with Audit Wizard assistance

Recommendations

Add a withdrawal function to the contract.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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