immutable variables fee
and protocolFee
are unbounded
#128
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
Dravee
Vulnerability details
In
TimeswapFactory
andTimeswapPair
: immutable variablesfee
andprotocolFee
aren't bounded. It could get troublesome for users in the case of malicious/faulty governor contract.Recommended Mitigation Steps
Set a max fee and a max protocolFee
The text was updated successfully, but these errors were encountered: