File Location:
The 'BiconomyMetaFactory' contract has a function that can accept Ether, but does not have a mechanism for withdrawing that Ether. This causes the Ether entered into the contract to be trapped permanently. To overcome this problem, it is necessary to add a 'withdraw' function that allows the contract owner to withdraw Ether from the contract.
The 'BiconomyMetaFactory' contract has several functions that allow the receipt of Ether, but no function that allows the Ether to be withdrawn. This can cause the Ether entered into the contract to be trapped and unable to be used, potentially resulting in losses for the user or contract owner.
Withholding of Funds
Potential Financial Loss
Inability to Manage Funds
Limitations on Use of Contracts
Security Implications
Inspection manual
Solidity
To fix this, it is necessary to add a 'withdraw' function which allows the contract owner to withdraw all the Ether in the contract to the contract owner's address.
Code snippet:
L28-L89
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.