$SPACESHIBA Info

www.spaceshiba.io

$SPACESHIBA is a meme coin that strives to merge humor, community, and blockchain technology to create a novel experience for cryptocurrency enthusiasts. By building on the Ethereum blockchain, $SPACESHIBA benefits from

Overall Score
100.00
Poor Excellent
$SPACESHIBA 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

Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0x0Dc7...a661
Network
Ethereum - Mainnet
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2023/06/20
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 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 burn function within the contract.

Ownership is renounced

Contract cannot 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
  • Include/Exclude wallets from rewards and fees
  • Set marketing wallet address
  • Set buy and sell fee, but cannot set it more than 25%
  • Set liquidity threshold to any arbitrary value.
  • Enable/Disable Swap and Liquify
  • Set max transaction value, but it must be at least 25% of the total supply

Moreover, the contract features an "Ownership Lock" function where the owner can lock their ownership for a particular amount of time. Only after that time is passed can it become active again. Please beware of the lock duration passed while locking the ownership because there are no limits on the function and if it is set really far in the future by accident then the ownership will be locked forever. 

Note - This Audit report consists of a security analysis of the SpaceShiba 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 SpaceShiba team, other contracts associated with the project were not audited by our team. We recommend investors to do their own research before investing.
-------------------

Note - The owner has renounced the ownership in the following TX: https://etherscan.io/tx/0xc01a8d3a8e2dbdee7585032980fbd7ddd10f52ed1ede91f4f4c1b4855594e1e5
That means, that the owner cannot regain the ownership anymore.

Files and details

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Findings and Audit result

medium Issues | 1 findings

Resolved

#1 medium Issue
Owner can regain ownership
SpaceShiba.sol
L151-159
Description

The owner can regain ownership after transferring it with the following steps: Call lock function to set _previousOwner to the own address Call unlock function to get ownership back Transfer/renounce ownership Call unlock function to get ownership back Make sure to set the _previousOwnership back to address zero after using the unlock function

low Issues | 4 findings

Pending

#1 low Issue
Local variables shadowing (shadowing-local)
SpaceShiba.sol
L779
L955
Description

Rename the local variables that shadow another component.

Pending

#2 low Issue
Missing Events Arithmetic (events-maths)
SpaceShiba.sol
L1178-1184
L1186-1192
L1194-1196
L1198-1201
Description

Emit an event for critical parameter changes.

Pending

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

Check that the address is not zero.

Pending

#4 low Issue
State variable visibility is not set
SpaceShiba.sol
L670
Description

It is best practice to set the visibility of state variables explicitly

optimization Issues | 2 findings

Pending

#1 optimization Issue
State variables that could be declared constant (constable-states)
SpaceShiba.sol
L687
L685
L686
L681
L697
Description

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

Pending

#2 optimization Issue
Public function that could be declared external (external-function)
SpaceShiba.sol
L131-134
L140-144
L146-148
L151-156
L159-164
L753-755
L757-759
L761-763
L774-777
L779-781
L783-786
L788-792
L794-797
L799-802
L804-806
L808-810
L812-819
L821-830
L838-845
L1162-1164
L1166-1168
L1170-1172
L1203-1206
Description

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

informational Issues | 3 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
SpaceShiba.sol
L430-451
L390-392
L400-402
L415-417
L425-428
L337-346
L364-370
L82-85
L294-296
L310-313
Description

Remove unused functions.

Pending

#2 informational Issue
Function initializing state variables (function-init-state)
SpaceShiba.sol
L682
L690
L693
L696
L700
Description

Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Pending

#3 informational Issue
Unused return values (unused-return)
SpaceShiba.sol
L1055-1068
Description

Ensure that all the return values of the function calls are used.