CertiK reviewed qiibee foundation $QBX (qiibee - Token Sale) on 10 Sep 2024: 6 findings, 1 critical; 3 marked fixed, 1 acknowledged, 2 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 | 1 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 1 | 0 | 3 |
In the `setEndTime()` function, `endTime` can only be updated when `uint64(block.timestamp) > endTime`, indicating the token sale has ended. However, changing the `endTime` value to a smaller value `_endTime` after the token sale has concluded does not affect the status of the sale, as it remains ended.
The constructor in the `Raffle` contract fails to ensure that the `startTime` is set in the future relative to the current `block.timestamp` and that `endTime` is greater than `startTime`. This oversight can lead to scenarios where the raffle is incorrectly initialized, potentially allowing immediate closure or incorrect operation of the raffle. ```solidity constructor( uint64 _startTime, uint64 _endTime, uint64 _ownerWithdrawAfter ) Ownable(msg.sender) { startTime = _startTime; endTime = _endTime; ownerWithdrawAfter = endTime + (_ownerWithdrawAfter * 1 days); allowWithdrawals = false; } ```
The smart contract does not check or store the return value of an external call in a local or state variable, which may introduce vulnerabilities due to the unhandled outcome. ```solidity=160 targetContract.setWinnersAndWithdrawFunds(transaction.winners, transaction.amountList); ```
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (1)
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