Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Valid

Wrong Timestamps

Summary

Wrong timestamps allow to execute functions before and after the respective deadlines

Vulnerability Details

In Dussehra::killRavana, there are 2 If clauses that contain timestamp values.

if (block.timestamp < 1728691069) {
revert Dussehra__MahuratIsNotStart();
}
if (block.timestamp > 1728777669) {
revert Dussehra__MahuratIsFinished();
}

However, these timestamps are not the values that they should be:
1728691069 = Friday, 11 October 2024 23:57:49
1728777669 = Sunday, 13 October 2024 0:01:09

Impact

The function can be called before 12 October and after 13 October

Tools Used

Manual Review , An external Timestamp to Date converter

Recommendations

Fix the timestamp value

Updates

Lead Judging Commences

bube Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Incorrect timestamp

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.