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

Audit name:

[SCA] Blockscape Finance | Staking | Mar2023

Date:

Mar 9, 2023

Table of Content

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

Want a comprehensive audit report like this?

Introduction

We express our gratitude to the Blockscape Finance Ag team for the collaborative engagement that enabled the execution of this Smart Contract Security Assessment.

Blockscape Rocketscape is a smart contract solution that enables users to stake ETH and mint NFTs that represent their stake and rewards.

titlecontent
PlatformEVM
LanguageSolidity
TagsNFT; Staking
Timeline01/03/2023 - 10/03/2023
Methodologyhttps://hackenio.cc/sc_methodology→

    Review Scope

    Repositoryhttps://github.com/BlockscapeNetwork/rocketscape/tree/main/src→
    Commit5219b39c6c74a0d3a533a6f06fe589e574744da4

    Audit Summary

    Total8/10
    Security Score

    10/10

    Test Coverage

    59.68%

    Code Quality Score

    10/10

    Documentation Quality Score

    6/10

    33Total Findings
    32Resolved
    0Accepted
    1Mitigated

    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 Blockscape Finance Ag
    Audited ByHacken
    Websitehttps://blockscape.network/→
    Changelog10/03/2023 - Initial Review
    • Document

      Name
      Smart Contract Code Review and Security Analysis Report for Blockscape Finance Ag
      Audited By
      Hacken
      Changelog
      10/03/2023 - Initial Review

    System Overview

    Blockscape Finance is an NFT staking system with the following contracts:

    • BlockscapeValidatorNFT — an NFT issued to a user who stakes 16 ETH with Blockscape. This NFT represents a Validator on the Blockscape platform. The user can monitor their validator performance, rewards, and penalties through the NFT.

    • BlockscapeETHStakeNFT - an NFT issued to a user who stakes any amount of ETH. This NFT entitles the user to participate in a pool of stakers that are staking for them on the Blockscape platform.

    Privileged roles

    • The owner of the BlockscapeValidatorNFT contract can arbitrarily withdraw funds, stop the staking period, update the validator for a given token ID, set a withdrawal fee and change limits.

    • The owner of the BlockscapeETHStakeNFT contract can withdraw funds or change the withdrawal fee at any time.

    Executive Summary

    Documentation quality

    The total Documentation quality score is 6 out of 10.

    • Functional requirements are actually API descriptions and a Readme file. These can be made more detailed to a non-technical user.

    • Technical description consists of deployment instructions.

    • Code is documented with NatSpec.

    • Running tests requires a lot of extra configuration. Testing should be possible to be executed without providing your own API keys.

    Code quality

    The total Code quality score is 10 out of 10.

    • Code follows language style guidelines and best practices.

    • The development environment is configured.

    Test coverage

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

    • Basic user interactions are covered with tests.

    • Negative cases coverage is missing.

    • Interactions with several users are not tested thoroughly.

    Security score

    Upon auditing, the code was found to contain 1 critical, 2 high, 6 medium, and 24 low severity issues. Out of these, 32 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 8. This score reflects the combined evaluation of documentation, code quality, test coverage, and security aspects of the project.

    Findings

    F-2023-0305Requirements Violation
    Status
    fixed
    Severity

    Critical
    F-2023-0307Highly Permissive Role Access
    Status
    fixed
    Severity

    High
    F-2023-0306Highly Permissive Role Access
    Status
    fixed
    Severity

    High
    F-2023-0313Using transfer() to Send Native Tokens
    Status
    fixed
    Severity

    Medium
    F-2023-0312Bad Practice
    Status
    fixed
    Severity

    Medium
    F-2023-0311Writing Blank Data
    Status
    fixed
    Severity

    Medium
    F-2023-0310Requirements Violation
    Status
    fixed
    Severity

    Medium
    F-2023-0309Misleading Documentation
    Status
    fixed
    Severity

    Medium
    F-2023-0308Wrong Data Type
    Status
    fixed
    Severity

    Medium
    F-2023-0352Storage Abuse
    Status
    fixed
    Severity

    Low
    Code
    ―
    Title
    Status
    Severity
    F-2023-0305Requirements Violation
    fixed

    Critical
    F-2023-0307Highly Permissive Role Access
    fixed

    High
    F-2023-0306Highly Permissive Role Access
    fixed

    High
    F-2023-0313Using transfer() to Send Native Tokens
    fixed

    Medium
    F-2023-0312Bad Practice
    fixed

    Medium
    F-2023-0311Writing Blank Data
    fixed

    Medium
    F-2023-0310Requirements Violation
    fixed

    Medium
    F-2023-0309Misleading Documentation
    fixed

    Medium
    F-2023-0308Wrong Data Type
    fixed

    Medium
    F-2023-0352Storage Abuse
    fixed

    Low
    1-10 of 33 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://github.com/BlockscapeNetwork/rocketscape/tree/main/src→
    Commit5219b39c6c74a0d3a533a6f06fe589e574744da4
    WhitepaperNot provided
    RequirementsProvided→
    Technical RequirementsProvided→

    Contracts in Scope

    src
    BlockscapeETHStakeNFT.sol - src › BlockscapeETHStakeNFT.sol
    BlockscapeValidatorNFT.sol - src › BlockscapeValidatorNFT.sol
    utils
    RocketNodeStakingInterface.sol - src › utils › RocketNodeStakingInterface.sol
    RocketStorageInterface.sol - src › utils › RocketStorageInterface.sol

    Disclaimer