CertiK reviewed HashBit on 10 Jan 2023: 15 findings, 0 critical; 2 marked fixed, 2 acknowledged, 11 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 | 2 |
| Medium | 0 | 1 | 0 |
| Low | 11 | 0 | 0 |
All **AntiBotBABYTOKEN** tokens are sent to the contract deployer when deploying the contract. This is a potential centralization risk as the deployer can distribute **AntiBotBABYTOKEN** tokens without the consensus of the community.
```solidity=3246 uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns ( uint256 iterations, uint256 claims, uint256 lastProcessedIndex ) { emit ProcessedDividendTracker( iterations, claims, lastProcessedIndex, true, gas, tx.origin ); } catch {} ``` At the last step of function `AntiBotBABYTOKEN._transfer()`, the `dividendTracker.process()` with constant gas limitation `300000` will be executed. But it may cause the out-of-gas exception in the while loop at L2726. At the last iteration of that loop, the `gasUsed` can still be smaller than `gas`, but the `gasLeft` may be insufficient for the process this time. ```solidity=2726 while (gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if (_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if (canAutoClaim(lastClaimTimes[account])) { if (processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if (gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } ```
| Address | Chain | Source code |
|---|---|---|
| 0xeda3…83e00xeda3866f07566d9379a91a07f8d62e19c03183e0 | Chain: BNB Chain | Source code: Verified source |
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