Contract HolographFactory lacks withdraw functions #25
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographFactory.sol#L123-L350
Vulnerability details
Impact
Contract HolographFactory (HolographFactory.sol#123-350) has payable functions (receive(), fallback(), etc.), but does not have a function to withdraw, therefore, every Ether sent to HolographFactory will be lost.
Proof of Concept
Contract functions and structure illustrate the concept.
Tools Used
Slither
Recommended Mitigation Steps
Remove the payable attribute or add a withdraw function.
The text was updated successfully, but these errors were encountered: