Possible freezing of funds in the PhiNFT1155.sol contract #153
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-75
grade-b
Q-31
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
🤖_44_group
AI based duplicate group recommendation
sufficient quality report
This report is of sufficient quality
Lines of code
https://github.com/code-423n4/2024-08-phi/blob/main/src/art/PhiNFT1155.sol#L359-L361
Vulnerability details
Proof of Concept
The PhiNFT1155.sol contract has a receive() external payable function. It allows you to accept eth into the contract. The user can successfully send eth. However, there is no function to withdraw eth from the contract. Eth will remain in the contract forever.
Tools Used
Manual review
Recommended Mitigation Steps
Provide a function to output eth from a contract
Assessed type
ETH-Transfer
The text was updated successfully, but these errors were encountered: