Unuslabs - Audit

CertiKFiles named in the report

CertiK reviewed Virtual Versions (Unuslabs - Audit) on 30 Mar 2023: 10 findings, 0 critical; none marked fixed.

No open critical findings
Open the reportOpen Virtual Versions’s security record

Report hosted on skynet.certik.com.

Statuses are the security firm’s own, from this report. Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium000
Low800
HighCentralization Risks in TokenVesting.solNot fixed

In the contract `TokenVesting` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and add beneficiaries to the private round of investors, release vested tokens, and withdraw tokens from the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/c5b4d1225ca04a2db1b0152df125f8ec/diagrams/centralization_TokenVesting-TokenVesting-_owner.svg)

HighInitial Token DistributionNot fixed

Tokens are sent to owner when deploying the contract. This could be a centralization risk as the owner can distribute tokens without obtaining the consensus of the community.

LowComment TypoNot fixed

The linked comment statement contains a typo in its body, namely `tockens`.

LowFunction Visibility OptimizationNot fixed

The following function is declared as `public`. Functions that are never called internally within the contract should have `external` visibility.

LowPragma Version Not LockedNot fixed

Pragma should be locked to specific compiler version and flags that they have been tested the most with. Locking the pragma helps ensure that contracts do not accidentally get deployed using, for example, the latest compiler, which may have higher risks of undiscovered bugs.

LowState Variable Should Be Declared ConstantNot fixed

State variables that never change should be declared as `constant` to save gas. ```solidity=41 uint256 private slicePeriodSeconds = MONTH; ``` - `slicePeriodSeconds` should be declared `constant`.

LowToo Many DigitsNot fixed

Literals with many digits are difficult to read and review.

LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaNot fixed

The return value of the transfer()/transferFrom() call is not checked. ```solidity=263 token.transfer(_msgSender(), balance); ```

LowUsage of `block.timestamp`Not fixed

`block.timestamp` is used for comparison, which can be risky since timestamp can be influenced by miners. That means the miner creating the block can manipulate the `block.timestamp`, to some degree, and change the outcome of the transaction. ```solidity=116 vestingStartTS = block.timestamp; ``` --- ```solidity=147 privateRoundInvestors[_beneficiary] = PrivateRoundInvestor( _amount, 0, block.timestamp ); ``` --- ```solidity=212 uint256 currentTime = block.timestamp; ``` --- ```solidity=237 uint256 currentTime = block.timestamp; ``` --- ```solidity=270 uint256 currenttime = block.timestamp; ```

LowUsage of `transfer`/`send` for sending EtherNot fixed

It is not recommended to use Solidity's `transfer()` and `send()` functions for transferring Ether, since some contracts may not be able to receive the funds. Those functions forward only a fixed amount of gas (2300 specifically) and the receiving contracts may run out of gas before finishing the transfer. Also, EVM instructions' gas costs may increase in the future. Thus, some contracts that can receive now may stop working in the future due to the gas limitation. ```solidity=256 to.transfer(amount); ``` - `TokenVesting.withdrawEth` uses `transfer()`.

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 (2)

  • contracts/TokenVesting.sol
  • contracts/VVToken.sol

Part of Virtual Versions’s security record

Virtual Versions
Audits1 audit by 1 firmLast audit Mar 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Virtual Versions’s security record

Security firm

CertiK

1,044 projects reviewed · 1,393 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