CertiK reviewed JOJO (JOJO - Ⅲ) on 9 Dec 2022: 18 findings, 0 critical; 11 marked fixed, 3 acknowledged, 4 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 2 | 0 |
| Low | 4 | 0 | 11 |
```solidity=10 /// @param primaryAmount is the amount of primary asset you want to withdraw. /// @param secondaryAmount is the amount of secondary asset you want to withdraw. ``` The description of `deposit()` is about `withdraw`. ```solidity=44 /// orderList[0] is taker order and orderList[1:] are taker orders. ``` All but first are maker orders. ```solidity=196 /// safe or being liquidated if return 0. ``` ```solidity=233 If liqPrice<0, it should be considered as absolutely safe or being liquidated. ``` "or" is likely supposed to be "of".
The lower-level call is found in: ```Solidity=46 function execute(address to, bytes calldata data, uint256 value) external onlyOwner { (bool success, ) = to.call{value: value}(data); require(success, "tx failed"); emit ExecuteTransaction(owner, address(this)); } ``` Although only the owner can call the function `execute()` to perform low-level calls, but if the owner account is compromised, the hacker can take advantage of the owner account's privileges in any contract and bring unpredictable damages.
Addresses should be checked before assignment or external call to make sure they are not zero addresses. ```solidity=32 chainlink = _chainlink; ``` ```solidity=28 witnet = _witnet; ``` ```solidity=41 owner = _owner; ``` ```solidity=42 dealer = _dealer; ``` ```solidity=33 dealer = _dealer; ```
`Perpetual._settle()` first makes an external call to `IDealer.realizePnl()` and only after that nullifies `reducedCredit`. This opens a risk of reentrancy if `Position._realizePnl()` will have external calls in the future.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (26)
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us