statusOf()
suffers from the same issue described in previous Cantina audit at issue 3.3.6.
The issue, generally explained is a view function that is sandwiched by state changes to make on-chain integrators read a different state than the actual one.
It is not a known issue, this is because it was known that this issue affected the depletionTimeOf()
function, yet there is nothing said about this also affecting the statusOf()
function.
Thus, even though the attack vector is of the same nature, it affects to an unknown part of the code.
Same impact as described in Cantina report. In this case the statusOf()
function can be sandwiched by the sender
of the stream, making a PAUSED
stream to look STREAMING
or vice versa:
To make a STREAMING
stream look PAUSED
:
Same recommendation described in the previous report:
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.