Matar AI Info

Welcome to MATAR, where cutting-edge AI meets the robust security of blockchain solutions. Explore the forefront of innovation as we seamlessly integrate artificial intelligence with blockchain technology, revolutionizing the way businesses operate and ensuring a secure, transparent, and efficient future. Join us on a journey of limitless possibilities at the intersection of AI and blockchain with MATAR.

Matar AI Logo

Team and KYC Verification

The KYC verification for this project is currently in progress.

The team has submitted their information and verification is pending.

KYC Badge

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.

7.26
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

Select the audit
Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0x6a27...ffF2
Network
BNB Smart Chain - Testnet
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2024/02/18
Revision date In progress

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 can set high fees

Contract owner is able to set fees above 25%. Very high fees can also prevent token transfer.

Token transfer can be locked

Owner can lock user funds with owner functions.

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
  • The owner can update the automated market maker pair address.
  • The owner can whitelist wallets from fees.
  • The owner can include wallets in fees.
  • The owner can set any arbitrary amount in the buy and sell taxes.
  • The owner can update the tax wallet address.
  • The owner can enable/disable trading.
  • The owner can enable/disable fee burn.
  • The owner can claim ETH from the contract.
  • The owner can claim stuck tokens from the contract.

Note - This Audit report consists of a security analysis of the Matar AI Token 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 Matar AI team. Other contracts associated with the project were not audited by our team. We recommend investors to 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

/

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

/

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Findings and Audit result

medium Issues | 4 findings

Pending

#1 medium Issue
Liquidity is added to externally owned address.
MATAR.sol
L230-242
Description

The contract's liquidity is automatically added to the 'owner' address, which is not recommended because, in an extreme scenario, this can be used to drain liquidity from the contract.

Pending

#2 medium Issue
Transfer of tokens without enabling trade.
MATAR.sol
L188-228
Description

The trading needs to be enabled by the owner in order for regular users to transfer tokens. On the contrary, the owner can authorize addresses manually and those addresses will be able to trade tokens. This functionality can be exploited in the following way, For example, there is a presale and the wallets used for the presale can be authorized by the owner. All the tokens obtained can be consolidated into a final wallet address and facilitate trading and selling of the acquired tokens, the last wallet address can be authorized.

Pending

#3 medium Issue
The owner can set fees more than 100%.
MATAR.sol
L262-266
Description

The owner can set any arbitrary amount in the buy and sell fees, which can lock the tokens. It is recommended that the fees in the contract should not be more than 25% so that the user may not lose his tokens.

Pending

#4 medium Issue
The owner can disable trading.
MATAR.sol
L279-282
Description

The owner can disable trading for the users who are not exempted, which is not recommended as this can lock the token for an indefinite period of time. It is recommended that the trading should not be disabled once enabled so that the user can transfer the tokens without any issues.

low Issues | 2 findings

Pending

#1 low Issue
Local variables shadowing (shadowing-local)
MATAR.sol
L94
L139
L157
Description

Rename the local variables that shadow another component.

Pending

#2 low Issue
Floating pragma solidity version.
MATAR.sol
L2
Description

Adding the constant version of solidity is recommended, as this prevents the unintentional deployment of a contract with an outdated compiler that contains unresolved bugs.

optimization Issues | 3 findings

Pending

#1 optimization Issue
Public function that could be declared external (external-function)
Ownable.sol
L76-78
L84-89
Description

Use the `external` attribute for functions never called from the contract.

Pending

#2 optimization Issue
State variables that could be declared constant (constable-states)
MATAR.sol
L40
Description

Add the `constant` attributes to state variables that never change.

Pending

#3 optimization Issue
Public function that could be declared external (external-function)
MATAR.sol
L68-70
L72-74
L80-82
L84-86
L88-91
L100-103
L105-113
L115-118
L244-251
L253-260
L262-266
L268-272
L274-277
L279-282
L284-287
L289-292
L296-299
L301-311
Description

Use the `external` attribute for functions never called from the contract.

informational Issues | 1 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
Context.sol
L25-27
L21-23
Description

Remove unused functions.