MoonTube Info

Moontube is the world's first bespoke crypto video influencer platform designed and built for Youtubers, project devs and investors. It is the essential tool for all crypto Enthusiasts. Building a robust and engaged community on one platform.

MoonTube Logo

TrustNet Score

The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.

74.22
Poor Excellent

Real-Time Threat Detection

Real-time threat detection, powered by Cyvers.io, is currently not activated for this project.

This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks. For more information, click here.

Security Assessments

"Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review"
Contract address
N/A
Network N/A
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2024/11/30
Revision date 2024/12/02

Summary and Final Words

No crucial issues found

The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.

Contract owner cannot mint

It is not possible to mint new tokens.

Contract owner cannot blacklist addresses.

It is not possible to lock user funds by blacklisting addresses.

Contract owner cannot set high fees

The fees, if applicable, can be a maximum of 25% or lower. The contract can therefore not be locked. Please take a look in the comment section for more details.

Contract cannot be locked

Owner cannot lock any user funds.

Token cannot be burned

There is no burning within the contract without any allowances

Ownership is not renounced

The owner retains significant control, which could potentially be used to modify key contract parameters.

Scope of Work

This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.

The auditing process consists of the following systematic steps:

  1. Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
  2. Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
  3. Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
  4. Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
  5. Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
  6. Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
  7. Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.

A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.

Final Words

The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.


Ownership Privileges

MoontuberEscrow.sol

  • The escrow role can revoke access to the given escrow address.
  • The escrow role can be revoked once the funds are released.
  • The admin can release the funds to the moontuber after the service completion.
  • The admin can process the refund to the customer.
  • The admin can update the dev fees to not more than 5%.
  • The admin can update the moontuber commission rate to not more than 15%.
  • The default admin can grant/revoke the admin role for the account.
  • The admin can add or remove the stablecoin in the contract.
  • The admin can update the default commission rate.
  • The admin can update the default procession fee rate.
  • The admin can withdraw the stuck ETH from the contract. 
The contract is an upgradeable 

Description: The deployer can replace the old contract with a new one with new features. Be aware of this, because the owner can add new features that may have a negative impact on your investments. Our team did not audit other contracts associated with the project. We recommend investors do their own research before investing.

Note - This Audit report consists of a security analysis of the Moontube smart contract. This analysis did not include functional testing (or unit testing) of the contract’s logic. Moreover, we only audited one token contract for the Moontube team. Other contracts associated with the project were not audited by our team. We recommend investors do their own research before investing.

Files and details

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Findings and Audit result

medium Issues | 2 findings

Resolved

#1 medium Issue
Missing excess ETH transfer
MoontuberEscrow.sol
L113-173
Description

The function does not contain the functionality If the user sends additional ETH (i.e., more ETH than required for primaryAmount + serviceFee), the contract currently doesn't handle it. This can result in the contract holding excess ETH without providing a mechanism for the user to recover it. Add logic to calculate the excess ETH sent and refund it to the sender.

Resolved

#2 medium Issue
Missing Threshold
MoontuberEscrow.sol
L305-308
L314-317
Description

The contract contains the functionality in which the admin of the contract can update any arbitrary value in the default commission and default processing rate in the contract, which is not recommended as if the values are set to any arbitrary value, the user can cause the loss of funds due to high fees. There must be a check that the default fees should not be more than 25% in the contract.

low Issues | 3 findings

Pending

#1 low Issue
Missing contract successful creation.
MoontuberEscrow.sol
L113-173
Description

There is currently no check to verify the successful creation of the EscrowIndividual contract in the given function. If the contract deployment fails, the transaction will revert without providing a clear error message or handling the failure gracefully. If EscrowIndividual creation fails (e.g., due to out-of-gas issues or incorrect constructor parameters), the entire deposit transaction will revert, potentially leading to a poor user experience. Add explicit checks for successful contract creation and consider emitting a detailed error message for better debugging.

Pending

#2 low Issue
Missing error handling for revoke role
MoontuberEscrow.sol
L180-183
Description

If _revokeRole fails or the role does not exist, the function might silently fail. Ensure this case is handled.

Resolved

#3 low Issue
Missing zero or dead address check.
MoontuberEscrow.sol
L242-244
Description

It is recommended to check that the address cannot set to zero or dead address.