Closed c4-submissions closed 1 year ago
https://github.com/code-423n4/2023-10-wildcat/blob/main/src/WildcatSanctionsEscrow.sol#L38
Detailed description of the impact of this finding.
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
IERC20(asset).transfer(account, amount)
we are not testing the success of this transfer. we should use the call as there is no gas limit of 21000 units.
Recommended Mitigation Steps (success,)= IERC20(asset).transfer(account, amount); require(success,"cannot transfer the amount");
ERC20
minhquanym marked the issue as low quality report
Invalid
MarioPoneder marked the issue as unsatisfactory: Out of scope
Lines of code
https://github.com/code-423n4/2023-10-wildcat/blob/main/src/WildcatSanctionsEscrow.sol#L38
Vulnerability details
Impact
Detailed description of the impact of this finding.
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
Tools Used
Recommended Mitigation Steps
IERC20(asset).transfer(account, amount)
we are not testing the success of this transfer. we should use the call as there is no gas limit of 21000 units.
Recommended Mitigation Steps (success,)= IERC20(asset).transfer(account, amount); require(success,"cannot transfer the amount");
Assessed type
ERC20