Q2 2026 Security & Compliance Report67 incidents, $764M in losses, 88% from operational failures.
Get the report →

Audit name:

[SCA] Kronos Investments | ERC20 + Staking + Bridge | Feb2023

Date:

Feb 11, 2023

Table of Content

→Introduction
→Audit Summary
→Document Information
→System Overview
→Executive Summary
→Risks
→Findings
→Appendix 1. Severity Definitions
→Appendix 2. Scope
→Disclaimer

Want a comprehensive audit report like this?

Introduction

We express our gratitude to the Kronos Investimentos LTDA (ExoWorld) team for the collaborative engagement that enabled the execution of this Smart Contract Security Assessment.

Kronos Investimentos is a system that includes 2 different ERC20 tokens; EXO token, GCred token. EXO tokens can be used for staking and voting; as a staking reward, users get GCred tokens + EXO tokens. GCred tokens can be used for buying an item.

titlecontent
PlatformEthereum, BNB Chain
LanguageSolidity
TagsERC20 token, Staking, Voting, Bridge
Timeline30/08/2022 - 10/02/2023
Methodologyhttps://hackenio.cc/sc_methodology→

    Review Scope

    Repositoryhttps://bitbucket.org/exoworldsnft/exotoken/src/master/→
    Commitdf63d15910a706b68322839fc2d4d57c69f959a3

    Audit Summary

    Total9.5/10
    Security Score

    10/10

    Test Coverage

    97.47%

    Code Quality Score

    9/10

    Documentation Quality Score

    8/10

    45Total Findings
    43Resolved
    0Accepted
    2Mitigated

    The system users should acknowledge all the risks summed up in the risks section of the report

    Document Information

    This report may contain confidential information about IT systems and the intellectual property of the Customer, as well as information about potential vulnerabilities and methods of their exploitation.

    The report can be disclosed publicly after prior consent by another Party. Any subsequent publication of this report shall be without mandatory consent.

    Document

    NameSmart Contract Code Review and Security Analysis Report for Kronos Investimentos LTDA (ExoWorld)
    Audited ByHacken
    Changelog06/09/2022 – Initial Review
    12/10/2022 – Second Review
    23/11/2022 – Third Review
    05/01/2023 – Fourth Review
    17/01/2023 – Fifth Review
    23/01/2023 – Sixth Review
    10/02/2023 – Seventh Review
    • Document

      Name
      Smart Contract Code Review and Security Analysis Report for Kronos Investimentos LTDA (ExoWorld)
      Audited By
      Hacken
      Changelog
      06/09/2022 – Initial Review
      12/10/2022 – Second Review
      23/11/2022 – Third Review
      05/01/2023 – Fourth Review
      17/01/2023 – Fifth Review
      23/01/2023 – Sixth Review
      10/02/2023 – Seventh Review

    System Overview

    Kronos Investimentos is a system that includes 2 different ERC20 tokens; EXO token, GCred token. EXO tokens can be used for staking and voting; as a staking reward, users get GCred tokens + EXO tokens. GCred tokens can be used for buying an item.

    • Bridge - a simple contract that builds a bridge and allows to mint/burn tokens.

    • EXOToken - an upgradable and pausable ERC20 token contract with different functionalities. It has the following attributes: \-Name: ExoToken. \-Symbol: EXO. \-Decimals: 18. \-Total supply: 10 billion.

    • IExoToken - interface of ExoToken contract.

    • Migrations - a contract stores the number of the last deployment script applied.

    • ProxyAdmin \- the exact same contract of OpenZeppelin ProxyAdmin.

    • TransparentUpgradeableProxy - a proxy contract with a built-in admin and upgrade interface. The contract is from OpenZeppelin library.

    • GCREDToken \- an upgradable ERC20 contract that allows users to buy items in exchange for GCred tokens. \-Name: ExoToken. \-Symbol: EXO. \-Decimals: 18. Total supply: not capped.

    • Governance - an upgradable contract that manages a voting system. Having one unit of EXO token is enough to vote for a proposal.

    • StakingReward - staking contract that allows users to stake their EXO tokens. As a reward, both EXO and GCRED tokens are distributed.

    Privileged roles

    The owner of the ExoToken, TokenEth, and TokenVe contract can:

    • pause/unpause the contract.

    • update the bridge address.

    • update the GCred token address.

    • update the FNWallet address.

    • mint EXO tokens.

    • can distribute users’ staked tokens and rewards.

    • create a new subject for voting.

    The admin of the Bridge contract can:

    • mint EXO tokens.

    The owner of the GCred contract can:

    • pause/unpause the contract.

    • update the EXO token address.

    • set MDWallet and DAOWallet addresses.

    • mint GCred tokens.

    Executive Summary

    Documentation quality

    The total Documentation quality score is 8 out of 10.

    • Tokenomics and some functional requirements were provided.

    • Technical description for running the development environment is provided.

    • NatSpec format was followed.

    • A public whitepaper is provided but it includes some spelling and alignment mistakes.

    Code quality

    The total Code quality score is 9 out of 10.

    • Code conforms to the style guide rules and does not include any redundant declaration.

    • StakingReward contract has low readability due to use of lots of variables.

    Test coverage

    Code coverage of the project is 97.47% (branch coverage).

    • Unit tests are running properly.

    Security score

    Upon auditing, the code was found to contain 7 critical, 9 high, 4 medium, and 25 low severity issues. Out of these, 43 issues have been addressed and resolved, leading to a security score of 10 out of 10.

    All identified issues are detailed in the “Findings” section of this report.

    Summary

    The comprehensive audit of the customer's smart contract yields an overall score of 9.5. This score reflects the combined evaluation of documentation, code quality, test coverage, and security aspects of the project.

    Risks

    Bridge contracts are secure; however, bridge protocol is centralized, and secureness relies on the backend server. The security of the protocol cannot be guaranteed.

    The owner can burn EXO tokens from any address without permission.

    Findings

    F-2023-112Data Inconsistency
    Status
    fixed
    Severity

    Critical
    F-2023-1124Possible Denial of Service
    Status
    fixed
    Severity

    Critical
    F-2023-1123Data Consistency
    Status
    fixed
    Severity

    Critical
    F-2023-112Possible Denial of Service
    Status
    fixed
    Severity

    Critical
    F-2023-1121Users Cannot Withdraw All Funds
    Status
    fixed
    Severity

    Critical
    F-2023-1120Invalid Calculations
    Status
    fixed
    Severity

    Critical
    F-2023-1119Token Supply Manipulation
    Status
    fixed
    Severity

    Critical
    F-2023-113Requirements Violation
    Status
    fixed
    Severity

    High
    F-2023-1133Data Consistency
    Status
    fixed
    Severity

    High
    F-2023-1132 Unoptimized Getter Functions
    Status
    fixed
    Severity

    High
    Code
    ―
    Title
    Status
    Severity
    F-2023-112Data Inconsistency
    fixed

    Critical
    F-2023-1124Possible Denial of Service
    fixed

    Critical
    F-2023-1123Data Consistency
    fixed

    Critical
    F-2023-112Possible Denial of Service
    fixed

    Critical
    F-2023-1121Users Cannot Withdraw All Funds
    fixed

    Critical
    F-2023-1120Invalid Calculations
    fixed

    Critical
    F-2023-1119Token Supply Manipulation
    fixed

    Critical
    F-2023-113Requirements Violation
    fixed

    High
    F-2023-1133Data Consistency
    fixed

    High
    F-2023-1132 Unoptimized Getter Functions
    fixed

    High
    1-10 of 45 findings

    Identify vulnerabilities in your smart contracts.

    Appendix 1. Severity Definitions

    When auditing smart contracts, Hacken is using a risk-based approach that considers Likelihood, Impact, Exploitability and Complexity metrics to evaluate findings and score severities.

    Reference on how risk scoring is done is available through the repository in our Github organization:

    Severity

    Description

    Critical
    Critical vulnerabilities are usually straightforward to exploit and can lead to the loss of user funds or contract state manipulation.

    High
    High vulnerabilities are usually harder to exploit, requiring specific conditions, or have a more limited scope, but can still lead to the loss of user funds or contract state manipulation.

    Medium
    Medium vulnerabilities are usually limited to state manipulations and, in most cases, cannot lead to asset loss. Contradictions and requirements violations. Major deviations from best practices are also in this category.

    Low
    Major deviations from best practices or major Gas inefficiency. These issues will not have a significant impact on code execution, do not affect security score but can affect code quality score.
    • Severity

      Critical

      Description

      Critical vulnerabilities are usually straightforward to exploit and can lead to the loss of user funds or contract state manipulation.

      Severity

      High

      Description

      High vulnerabilities are usually harder to exploit, requiring specific conditions, or have a more limited scope, but can still lead to the loss of user funds or contract state manipulation.

      Severity

      Medium

      Description

      Medium vulnerabilities are usually limited to state manipulations and, in most cases, cannot lead to asset loss. Contradictions and requirements violations. Major deviations from best practices are also in this category.

      Severity

      Low

      Description

      Major deviations from best practices or major Gas inefficiency. These issues will not have a significant impact on code execution, do not affect security score but can affect code quality score.

    Appendix 2. Scope

    The scope of the project includes the following smart contracts from the provided repository:

    Scope Details

    Repositoryhttps://bitbucket.org/exoworldsnft/exotoken/src/master/→
    Commitdf63d15910a706b68322839fc2d4d57c69f959a3
    WhitepaperNot provided
    RequirementsProvided
    Technical RequirementsProvided

    Contracts in Scope

    contracts
    bridge
    Bridge.sol - contracts › bridge › Bridge.sol
    governance
    Governance.sol - contracts › governance › Governance.sol
    interface
    IBridge.sol - contracts › interface › IBridge.sol
    IBridgeToken.sol - contracts › interface › IBridgeToken.sol
    IEXOToken.sol - contracts › interface › IEXOToken.sol
    IGCREDToken.sol - contracts › interface › IGCREDToken.sol
    IGovernance.sol - contracts › interface › IGovernance.sol
    IStakingReward.sol - contracts › interface › IStakingReward.sol
    Migrations.sol - contracts › Migrations.sol
    ProxyAdmin.sol - contracts › ProxyAdmin.sol
    staking
    StakingReward.sol - contracts › staking › StakingReward.sol
    token
    EXOToken.sol - contracts › token › EXOToken.sol
    GCREDToken.sol - contracts › token › GCREDToken.sol
    TransparentUpgradeableProxy.sol - contracts › TransparentUpgradeableProxy.sol

    Disclaimer