No method to rescue stucked ether and tokens #171
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
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Lines of code
https://github.com/code-423n4/2022-05-cally/blob/1849f9ee12434038aa80753266ce6a2f2b082c59/contracts/src/Cally.sol#0
Vulnerability details
Impact
The contract deals with ERC721, ERC20 and ether. It accepts them as collaterals. Anyone accidentally sending any tokens or ether into the contract have no way to rescue it.
Tools Used
Manual Analysis
Recommended Mitigation Steps
Create a
skim()
like function to withdraw stucked funds.The text was updated successfully, but these errors were encountered: