28702 - [SC - Insight] Malicious users can frontrun permits to DoS swaps
Description
Brief/Intro
Vulnerability Details
try ERC20Permit(address(tokenIn)).permit({
owner: msg.sender,
spender: address(this),
value: permitData.amount,
deadline: permitData.deadline,
v: permitData.v,
s: permitData.s,
r: permitData.r
}) { } catch { }Impact Details
References
Proof of Concept
Previous28698 - [SC - Insight] User can frontrun claim transaction to make cla...Next28729 - [SC - Insight] MINIMUM_DELAY uses incorrect value of days ins...
Last updated
Was this helpful?