Q1 2025 Web3 Security ReportAccess control failures led to $1.63 billion in losses
Discover report insights
  • Hacken
  • Audits
  • sapiens-labs-inc
  • [SCA] Sapiens AI / Token / Jan2025
Sapiens Labs Inc logo

Sapiens Labs Inc

Audit name:

[SCA] Sapiens AI / Token / Jan2025

Date:

Jan 17, 2025

Table of Content

Introduction
Audit Summary
System Overview
Potential Risks
Findings
Appendix 1. Definitions
Appendix 2. Scope
Disclaimer

Want a comprehensive audit report like this?

Introduction

We express our gratitude to the Sapiens Labs Inc team for the collaborative engagement that enabled the execution of this Smart Contract Security Assessment.

Sapiens is an innovative platform that enhances sales outreach through data-driven insights, where the Sapiens AI token drives the ecosystem by incentivizing data contributions and unlocking access to premium features.

Document

NameSmart Contract Code Review and Security Analysis Report for Sapiens Labs Inc
Audited ByOleksii Haponiuk
Approved ByAdam Idarrha
Websitehttps://spns.ai
Changelog17/01/2025 - Preliminary Report
PlatformBase
LanguageSolidity
TagsERC20, Fungible Token
Methodologyhttps://hackenio.cc/sc_methodology
  • Document

    Name
    Smart Contract Code Review and Security Analysis Report for Sapiens Labs Inc
    Audited By
    Oleksii Haponiuk
    Approved By
    Adam Idarrha
    Changelog
    17/01/2025 - Preliminary Report
    Platform
    Base
    Language
    Solidity
    Tags
    ERC20, Fungible Token

Review Scope

Repositoryhttps://github.com/Decubate-com/smart-contracts
Commit1649772

Audit Summary

0Total Findings
0Resolved
0Accepted
0Mitigated

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

Documentation quality

  • Functional requirements are provided.

  • Technical description is provided.

Code quality

  • The code mostly conforms with the Solidity Style Guide.

Test coverage

Code coverage of the project is 0% (branch coverage):

  • Tests are not mandatory for project with LoC less than 250.

System Overview

SPN — simple ERC-20 token that mints all initial supply to an address. Additional minting is not allowed, with burnable features.

It has the following attributes:

  • Name: Sapiens AI

  • Symbol: SPN

  • Decimals: 18

  • Total supply: 1 billion tokens.

Potential Risks

Centralization risk:  The project centralizes token minting to a single address, heightening the risk of fund mismanagement or theft, particularly if key storage is compromised.

Findings

no findingsNo vulnerabilities were found

Identify vulnerabilities in your smart contracts.

Appendix 1. Definitions

Severities

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.
  • 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.

Potential Risks

The "Potential Risks" section identifies issues that are not direct security vulnerabilities but could still affect the project’s performance, reliability, or user trust. These risks arise from design choices, architectural decisions, or operational practices that, while not immediately exploitable, may lead to problems under certain conditions. Additionally, potential risks can impact the quality of the audit itself, as they may involve external factors or components beyond the scope of the audit, leading to incomplete assessments or oversight of key areas. This section aims to provide a broader perspective on factors that could affect the project's long-term security, functionality, and the comprehensiveness of the audit findings.

Appendix 2. Scope

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

Scope Details

Repositoryhttps://github.com/Decubate-com/smart-contracts
Commit1649772ce16b61f9097a26f1a73f3aff580341a8
Whitepaperhttp://docs.spns.ai/
Requirements
Technical Requirements

Assets in Scope

SPN.sol - SPN.sol

Disclaimer