Ucon Social
0x1A8Ae40F498AeD05E3647933fBdaD54EcFd2134B 0x1A8A...d2134B

Static analysis Dynamic analysis Symbolic Execution SWC check

Ucon.social emerges as a transformative force in the realm of social networking, aiming to redefine user interactions through a decentralized, secure, and rewarding platform. By leveraging blockchain technology, Ucon.Social prioritizes absolute user information security while pioneering a profit-sharing model that empowers its community members.

Contract address
0x1A8A...d2134B
Network Binance Smart Chain
License MIT
Compiler v0.8.0 v0.8.0+commit.c7dfd78e
Type N/A
Language Solidity
Request date 2024/01/01
Revision date 2024/01/04
Critical
Passed
High
Passed

Owner privileges

Crucial issues found The contract does contain issues of high or medium criticality. In some circumstances, the Contract may not function as intended and may pose a safety risk.
Contract owner cannot mint It is not possible to mint new tokens.
Contract owner can blacklist addresses It is 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.
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.
Comments

Ownership Privileges

  • The owner can exclude/include wallets in rewards.
  • The owner can exclude/include wallets in fees.
  • The owner can set tax fees of not more than 20%.
  • The owner can pause/unpause token transfer for an indefinite period.
  • The owner can blacklist wallets from transferring of tokens.
  • The owner can update the burn fee wallet address.
  • The owner can update the charity wallet address.
  • The owner can update the charity wallet address.
  • The owner can update the maximum transaction amount to not less than 10000 tokens.
  • The owner can withdraw the contract's ETH and claim the stuck tokens.

This contract contains the burn, charity, and tax fees in the contract, which will deducted from the amount in every transaction and can be set up to 20%.

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

Audit Scope

This audit covered the following files listed below with a SHA-1 Hash. The above token Team provided us with the files that needs to be tested.

We will verify the following claims:
  • Correct implementation of Token standard
  • Deployer cannot mint any new tokens
  • Deployer cannot burn or lock user funds
  • Deployer cannot pause the contract
  • Overall checkup (Smart Contract Security)
The auditing process follows a routine series of steps:
  • Review of the specifications, sources, and instructions provided to SolidProof to make sure we understand the size, scope, and functionality of the smart contract.
  • Manual review of code, which is the process of reading source code line-by-line in an attempt to identify potential vulnerabilities.
  • Comparison to specification, which is the process of checking whether the code does what the specifications, sources, and instructions provided to SolidProof describe.
  • Test coverage analysis, which is the process of determining whether the test cases are actually covering the code and how much code is exercised when we run those test cases.
  • Symbolic execution, which is analysing a program to determine what inputs causes each part of a program to execute.
  • Best practices review, which is a review of the smart contracts to improve efficiency, effectiveness, clarify, maintainability, security, and control based on the established industry and academic practices, recommendations, and research.
  • Specific, itemized, actionable recommendations to help you take steps to secure your smart contracts.

A file with a different Hash has been modified, intentionally or otherwise, after the security review. A different Hash could be (but not necessarily) an indication of a changed condition or potential vulnerability that was not within the scope of this review.

Functions
public

42

State variables
public

4

Total lines
of code

992

Capabilities
Hover on items

Audit Details

Throughout the review process, care was taken to evaluate the repository for security-related issues, code quality, and adherence to speciïŹcation and best practices. To do so, reviewed line-by-line by our team of expert pentesters and smart contract developers, documenting any issues as there were discovered.

Risk represents the probability that a certain source-threat will exploit vulnerability, and the impact of that event on the organization or system. Risk Level is computed based on CVSS version 3.0.

medium Issues

Pending

#1 Issue

The owner can pause token transfer.

UCON.sol

L774-780

Description

The owner can pause the token transfer for an indefinite period, which can lock the tokens, as this is not recommended. There must be a locking period so the amount of tokens can not be locked indefinitely.

Pending

#2 Issue

The owner can blacklist wallets.

UCON.sol

L950-952

Description

The owner can blacklist wallets from transferring tokens as this can lock the user from transferring of tokens which can lock their tokens. There must be a locking period so the amount of tokens cannot be locked indefinitely.

low Issues

Pending

#1 Issue

Local variables shadowing

UCON.sol

L684

L846

Description

Rename the local variables that shadow another component.

Pending

#2 Issue

Missing Events Arithmetic

UCON.sol

L768-772

L960-963

L971-974

L978-981

Description

Emit an event for critical parameter changes.

Pending

#3 Issue

Missing Zero Address Validation

UCON.sol

L955

L966

Description

Check that the address is not zero.

Pending

#4 Issue

Remove safemath library.

UCON.sol

L98-239

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.

informational Issues

Pending

#1 Issue

Functions that are not used

UCON.sol

L246-249

L478-480

L489-491

L566-568

L509-511

L588-590

L534-536

L499-501

L577-579

L504-506

L584-586

L494-496

L570-572

L549-558

L513-515

L592-601

L219-221

L235-238

Description

Remove unused functions.

optimization Issues

Pending

#1 Issue

State variables that could be declared constant

UCON.sol

L629

L627

L628

L623

Description

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

Pending

#2 Issue

Public function that could be declared external

UCON.sol

L388-391

L397-401

L657-659

L661-663

L665-667

L669-671

L679-682

L684-686

L688-691

L693-697

L699-702

L704-707

L709-711

L713-715

L717-726

L760-762

L764-766

L842-844

Description

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

Diagrams

Disclaimer

SolidProof.io reports are not, nor should be considered, an “endorsement” or “disapproval” of any particular project or team. These reports are not, nor should be considered, an indication of the economics or value of any “product” or “asset” created by any team. SolidProof.io do not cover testing or auditing the integration with external contract or services (such as Unicrypt, Uniswap, PancakeSwap etc’...)

SolidProof.io Audits do not provide any warranty or guarantee regarding the absolute bug- free nature of the technology analyzed, nor do they provide any indication of the technology proprietors. SolidProof Audits should not be used in any way to make decisions around investment or involvement with any particular project. These reports in no way provide investment advice, nor should be leveraged as investment advice of any sort.

SolidProof.io Reports represent an extensive auditing process intending to help our customers increase the quality of their code while reducing the high level of risk presented by cryptographic tokens and blockchain technology. Blockchain technology and cryptographic assets present a high level of ongoing risk. SolidProof’s position is that each company and individual are responsible for their own due diligence and continuous security. SolidProof in no way claims any guarantee of security or functionality of the technology we agree to analyze.