This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
0x52 - Issue #145 from Update #1 is still present in IchiSpell #107
Labels
Non-Reward
This issue will not receive a payout
0x52
high
Issue #145 from Update #1 is still present in IchiSpell
Summary
Issue 145 from Update 1 has not been fixed. Using block.timestamp is equivalent to using no deadline at all. This is because block.timestamp is relative and always "now", which means it can never be in the past and can therefore never be expired.
Vulnerability Detail
See Issue 145
Impact
See Issue 145
Code Snippet
IchiSpell.sol#L199-L256
Tool used
Manual Review
Recommendation
Use a user specified input as the deadline
Duplicate of #14
The text was updated successfully, but these errors were encountered: