Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: medium

Blocktimestamp Manipulation.

Summary

Using block.timestamp for critical decisions in smart contracts can have some disadvantages due to its reliance on the current block's timestamp.

Vulnerability Details

Miners have some control over the block timestamp, and they can slightly manipulate it within certain bounds. While it's generally not possible to manipulate it drastically, relying heavily on block.timestamp for precise timing can be risky.

Recommendations

Use an external time source instead
See: https://ethereum.stackexchange.com/questions/15047/solidity-timestamp-dependency-is-it-possible-to-do-safely

Support

FAQs

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