qiibee - Staking

CertiKFiles named in the report

CertiK reviewed qiibee foundation $QBX (qiibee - Staking) on 26 Feb 2025: 5 findings, 0 critical; 3 marked fixed, 2 acknowledged.

No open critical findings
Open the reportOpen qiibee foundation $QBX’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings5

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium001
Low012
MediumIncompatibility with Deflationary TokensFixed

When transferring deflationary ERC20 tokens, the input amount may not equal the received amount due to the charged transaction fee. For example, if a user sends 100 deflationary tokens (with a 10% transaction fee), only 90 tokens arrive in the contract. However, a failure to discount such fees may allow the same user to withdraw 100 tokens causing the contract to lose 10 tokens in such a transaction. ```solidity=51 stakingToken.safeTransferFrom(beneficiary, address(this), amount); ``` - Transferring tokens by `amount`. ```solidity=55 userStake.amount += amount; ``` - The `amount` appears to be used for bookkeeping purposes without compensating the potential transfer fees.

LowThird-Party Dependency UsageFixed

The contract serves as the underlying entity to interact with a third-party protocol The scope of the audit treats third-party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=18 IERC20 public immutable stakingToken; ``` - The contract `Staking` interacts with third-party contract with `IERC20` interface via `stakingToken`.

LowViolation of Check-Effect-Interaction PatternFixed

Check-effect-interaction pattern violation occurs when a function makes an external call to another contract before resolving any effects. If an attacker can control the contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects. In the `stake()` function, the state variables update and the event emission takes place after the call. \ In the `withdraw()` function the event is emitted after the external call.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (1)

  • contracts/Staking.sol

Part of qiibee foundation $QBX’s security record

qiibee foundation $QBX
Audits3 audits by 1 firmLast audit Feb 2025, by CertiK.
Critical findings1 open critical findingReported in “qiibee - Token Sale” by CertiK, Sep 2024. Not marked fixed in that report.
Open qiibee foundation $QBX’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

Something 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