Q1 2025 Web3 Security ReportAccess control failures led to $1.63 billion in losses
Discover report insights
  • Hacken
  • Audits
  • multiverse-x
  • [dApp] Multiverse X / MX Metamask Snaps / May 2024
Multiverse X logo

Multiverse X

Audit name:

[dApp] Multiverse X / MX Metamask Snaps / May 2024

Date:

May 30, 2024

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 Multiverse X team for the collaborative engagement that enabled the execution of this Security Assessment.

MultiversX is a highly scalable, decentralized blockchain network designed for next-generation applications. It leverages adaptive state sharding and a secure proof-of-stake consensus mechanism to provide an efficient, scalable, and secure blockchain platform.

titlecontent
LanguageTypeScript, JavaScript
Tags[Snap]
Timeline14/05/2024 - 17/05/2024

    Audit Summary

    Total10/10
    Security Score

    10/10

    Test Coverage

    n/a

    Code Quality Score

    n/a

    Documentation Quality Score

    n/a

    9Total Findings
    9Resolved
    0Accepted
    0Mitigated

    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

    NameSnap Code Review and Security Analysis Report for Multiverse X
    Audited ByStephen Ajayi
    Approved ByStephen Ajayi
    Websitehttps://multiversx.com
    Changelog17/05/2024 - Preliminary Report
    • Document

      Name
      Snap Code Review and Security Analysis Report for Multiverse X
      Audited By
      Stephen Ajayi
      Approved By
      Stephen Ajayi
      Changelog
      17/05/2024 - Preliminary Report

    System Overview

    MultiversX, previously known as Elrond, is a highly scalable, decentralized blockchain network designed for next-generation applications. It leverages adaptive state sharding and a secure proof-of-stake consensus mechanism to provide an efficient, scalable, and secure blockchain platform. MultiversX is built to support a wide variety of blockchain protocols beyond Ethereum, enabling robust and versatile decentralized applications (dApps).

    Audit Focus: MetaMask Snap

    The audit conducted on the MultiversX MetaMask Snap focused on the permissions and security of the Snap's functionalities.

    Executive Summary

    This report presents an in-depth analysis and scoring of the customer's Snap project.

    Security score

    Upon auditing, the code was found to contain 0 critical, 0 high, 1 medium, and 1 low severity issues. Out of these, 4 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 Snap yields an overall score of 10. This score reflects the combined evaluation of the security aspects of the project.

    Findings

    Code
    Title
    Status
    Severity
    F-2024-2832Insecure Handling of Private Keys
    fixed

    Medium
    F-2024-2702Insecure Compiler Flags
    fixed

    Low
    F-2024-2995Missing Author Information in Package Metadata
    fixed

    Observation
    F-2024-2991Caret Range Versioning Vulnerability in Dependency Management
    fixed

    Observation
    F-2024-2836Insufficient Error Handling and Potential Data Leakage
    fixed

    Observation
    F-2024-2835Lack of Secure Transmission in API Calls
    fixed

    Observation
    F-2024-2830Floating Point Precision and Rounding Errors
    fixed

    Observation
    F-2024-2701Potential for Exposing Sensitive Data
    fixed

    Observation
    F-2024-2697Dependency Vulnerabilities
    fixed

    Observation
    1-9 of 9 findings

    Protect your dApp with insights like these.

    Appendix 1. Severity Definitions

    Severity

    Description

    Critical
    These issues present a major security vulnerability that poses a severe risk to the system. They require immediate attention and must be resolved to prevent a potential security breach or other significant harm.

    High
    These issues present a significant risk to the system, but may not require immediate attention. They should be addressed in a timely manner to reduce the risk of the potential security breach.

    Medium
    These issues present a moderate risk to the system and cannot have a great impact on its function. They should be addressed in a reasonable time frame, but may not require immediate attention.

    Low
    These issues present no risk to the system and typically relate to the code quality problems or general recommendations. They do not require immediate attention and should be viewed as a minor recommendation.
    • Severity

      Critical

      Description

      These issues present a major security vulnerability that poses a severe risk to the system. They require immediate attention and must be resolved to prevent a potential security breach or other significant harm.

      Severity

      High

      Description

      These issues present a significant risk to the system, but may not require immediate attention. They should be addressed in a timely manner to reduce the risk of the potential security breach.

      Severity

      Medium

      Description

      These issues present a moderate risk to the system and cannot have a great impact on its function. They should be addressed in a reasonable time frame, but may not require immediate attention.

      Severity

      Low

      Description

      These issues present no risk to the system and typically relate to the code quality problems or general recommendations. They do not require immediate attention and should be viewed as a minor recommendation.

    Appendix 2. Scope

    The scope of the project includes the provided repository:

    Scope Details

    Repositoryhttps://github.com/multiversx/mx-metamask-snaps
    Commit992c22e
    Npm Packagehttps://www.npmjs.com/package/@multiversx/metamask-snap
    Requirements
    Technical Requirements

    Assets in Scope

    Metamask Snap - Metamask Snap

    Disclaimer