Duplicated locked splits can be discarded
Submitted by zzzitron
The function of the protocol could be impacted. This proof of concept demonstrates the discarding of one of the duplicated locked splits. In the beginning it launches a project with two identical locked splits. As the owner of the project, it updates splits to only one of the two splits. Since all of original splits are locked both of them should still in the split after the update, but only one of them exists in the updated splits.
It happens because the check of the locked split is not suitable for duplicated cases.
Please see warden’s original report for full details.
Recommended Mitigation Steps
Either prevent duplicates in the splits or track the matches while checking the locked splits.
mejango (Juicebox) acknowledged, but disagreed with severity
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity business logic bug in Juicebox Buyback Delegate. Code4rena made it public on 11 October 2022. Found in the 2022-07-juicebox audit contest (finding M-01).
About Business logic
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.