Richie Rich Info

www.richierich.vip

$RICHIE is a meme token built on the BNB Smart Chain. Holders receive BNB rewards by holding $RICHIE tokens in their wallets.

Overall Score
69.08
Poor Excellent
Richie Rich Logo

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.

TrustNet DataPulse

Smart Contract Audit

Select the audit
Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0xeD81...6782
Network
BNB Smart Chain - Mainnet
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2024/01/03
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 burn function within the contract.

Ownership is not renounced

Contract can be manipulated by owner functions.

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 exclude/include wallets in rewards.
  • The owner can exclude/include wallets from fees.
  • The owner can claim the contract's stuck tokens, including the contract's tokens.
  • The owner can claim the contract's balance in his wallet.
  • The owner can set any arbitrary value in the maximum transaction amount including zero.
  • The owner can set any arbitrary amount in the minimum swap amount.
  • The owner can set buy fees of more than 100%.
  • The owner can set any arbitrary amount in the buyback limit including zero.
  •  

Note - This Audit report consists of a security analysis of the Richie Rich 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 Richie Rich 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

/

Findings and Audit result

medium Issues | 3 findings

Pending

#1 medium Issue
The owner can lock tokens.
RichieRich.sol
L646-648
Description

The owner can set any arbitrary value in the max transaction amount, including zero. This can lock the transfer functionality of the contract. There must be a threshold amount where the max transaction amount cannot get below that number.

Pending

#2 medium Issue
The owner can set fees more than 100%.
RichieRich.sol
L656-661
Description

The owner can set any arbitrary value in the reward, buyback, and marketing fees, which can lock the tokens, and the user may lose their value. It is recommended that no fees should be more than 25% in the contract.

Pending

#3 medium Issue
Missing 'require' check (potential honeypot)
RichieRich.sol
L668-670
Description

The owner can set any arbitrary address as the marketing wallet address, which is not recommended if the address is set to any contract address that cannot receive ETH. Add a 'require' check that the marketing wallet address cannot be set to a contract address.

low Issues | 4 findings

Pending

#1 low Issue
Local variables shadowing (shadowing-local)
RichieRich.sol
L274
L333
Description

Rename the local variables that shadow another component.

Pending

#2 low Issue
Missing Events Arithmetic (events-maths)
RichieRich.sol
L646-648
L651-654
L656-661
L664-666
Description

Emit an event for critical parameter changes.

Pending

#3 low Issue
Missing Zero Address Validation (missing-zero-check)
RichieRich.sol
L668
Description

Check that the address is not zero.

Pending

#4 low Issue
Remove safemath library
RichieRich.sol
L35-87
Description

Compiler version above 0.8.0 has the ability to control arithmetic overflow/underflow. It is recommended to remove the unwanted code in order to avoid high gas fees.

optimization Issues | 2 findings

Pending

#1 optimization Issue
State variables that could be declared constant (constable-states)
RichieRich.sol
L92
L180
L178
L179
L175
Description

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

Pending

#2 optimization Issue
Public function that could be declared external (external-function)
RichieRich.sol
L111-114
L116-120
L229-231
L233-235
L237-239
L245-251
L269-272
L274-276
L278-281
L283-287
L289-292
L294-297
L299-301
L304-306
L309-311
L321-324
L327-330
L620-622
L624-626
L628-630
L632-636
L639-643
L672-675
L677-680
Description

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

informational Issues | 2 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
RichieRich.sol
L15-18
L683-685
L79-81
L83-86
Description

Remove unused functions.

Pending

#2 informational Issue
Unused state variables (unused-state)
RichieRich.sol
L92
Description

Remove unused state variables.