Hunt prep
Before you test JOJO Exchange Update
What 5 disclosed reports say about JOJO Exchange Update: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 3 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
FundingRateArbitrage contract can be drained due to rounding error
The contract was fixed by rounding up instead of down.
Disclosed
-
`JUSDBankStorage::getTRate()`,`JUSDBankStorage::accrueRate()` are calculated differently, and the data calculation is biased, Causes the `JUSDBank` contract funciton result to be incorrect
The fix was to update getTRate() to use the same decimalMul formula as accrueRate(), ensuring consistent calculation.
Disclosed
-
All funds can be stolen from JOJODealer
The fix was applied by requiring the 'to' address to be a whitelisted contract, preventing arbitrary calls.
Disclosed
-
FundRateArbitrage is vulnerable to inflation attacks
The issue was fixed by adding a virtual offset as recommended by OpenZeppelin for ERC4626 contracts.
Disclosed
-
Funding#requestWithdraw uses incorrect withdraw address
The code was fixed to use the from address instead of msg.sender when recording withdrawal requests.
Disclosed