SecurityBSC · BEP-20

Automated Security Analysis Report v1

Date

April 22, 2026

Scope

TRQ Token smart contract suite (BNB Smart Chain — Mainnet)

Tools Used

Slither v0.11.4, Mythril v0.24.8

Analyzed By

Traiq Engineering Team

Contracts Analyzed

ContractAddressExplorer
TRQToken0x30bE5188…5903E378
TRQVestingVault0x4594FE60…09417968
TRQStaking0xb28D8084…20A71BB5

Summary

✅

No critical, high, or medium issues were found.

SeverityCountStatus
Critical0—
High0—
Medium0—
Low1Fixed
Informational3Acknowledged

Findings

[LOW-01]

Array Length Not Cached in Loop

✅ Fixed
Tool: SlitherContract: TRQVestingVaultFunction: finalize()

The scheduleIds.length storage value was read on every loop iteration, incurring an unnecessary SLOAD per cycle.

Fix: Cached length into a local variable before the loop.

Status note: commit 6be3c3b

[INFO-01]

Strict Equality Comparisons

✅ Acknowledged
Tool: SlitherContract: TRQVestingVault

Slither flagged strict == 0 comparisons in _vestedAmount, releasableAmount, and release. These are intentional guards checking uninitialised schedule slots and zero-releasable states — not floating-point or rounding hazards.

Status note: by design

[INFO-02]

OpenZeppelin Internal Library Warnings

✅ Acknowledged
Tool: SlitherContract: OpenZeppelin Math.sol (dependency)

divide-before-multiply and incorrect-exp warnings inside Math.mulDiv. These are known Slither false positives on OpenZeppelin's intentional bit-manipulation Newton–Raphson inversion algorithm. OpenZeppelin v5 is fully audited.

Status note: OZ false positive, not applicable to project code

[INFO-03]

Naming Convention (Immutable Variable)

✅ Acknowledged
Tool: SlitherContract: TRQStakingVariable: MIN_LOCK_SECONDS

Slither recommends mixedCase for immutables. UPPER_CASE is the widely adopted Solidity convention for compile-time constants and immutables and was used intentionally for clarity.

Status note: by design

Notes

  • All contract source code is publicly verified on BscScan.
  • Contract source code is published and independently verifiable on-chain.
  • A professional third-party audit is planned prior to full public IDO launch.
  • Mythril symbolic execution analysis could not complete locally due to a DNS resolution issue with the solc-bin.ethereum.org download endpoint during this scan run.