When senders and/or recipients become malicious they can consume maximum available gas in callbacks to prevent other party from executing some functionalities
When core actions happen like renounce
, withdraw
, or cancel
, the callbacks of senders and/or recipients are called so that they can do custom actions in callbacks.
However, there's no gas limit passed to these callbacks, which exposes a vulnerability to consume maximum available gas in callbacks to prevent executions of features.
When senders become malicious, they consume maximum gas on onLockupStreamWithdrawn
callback to prevent recipients from withdrawing assets
When recipients become malicious, they consume maximum gas on onLockupStreamRenounced
to prevent renounce
action and onLockupStreamCanceled
to prevent cancel
action by senders.
Manual Review
When callbacks are called, maximum gas amount has to be passed so that they do not consume gas more than the given amount.
https://www.codehawks.com/contests/clvb9njmy00012dqjyaavpl44
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.