SAFENAMI X Solid Group: Audit Results

Solidgroup
4 min readMay 5, 2021

--

Auditing Process

Solid Group’s auditing process goes in-depth and covers a wide range of token code characteristics. The main things the audit checks for are vulnerabilities and imminent risks to the safety and security of the code, Solid Group does an extensive auditing process intending to help their customers increase their code quality while reducing the high level of risk presented by cryptographic tokens and blockchain technology.

Contract

https://bscscan.com/token/0xb591f23cee567e19091a357d4ae9ddd5c3659a02

Highlights of the process

✅BEP-20’s Conformance

✅ No external mint function

Audit Findings

  • Issue 𝟏| Severity 🔴 High | Fixed ✅

Description

The variable _maxTxAmount and can be modified by calling to setMaxTxAmound () by the owner.

The owner can call setMaxTxPercent(0) and set the _maxTxAmount to zero. Afterward, In _transfer function:

The require statement will always be False making the token untradeable by any holder other than the owner.

Recommendation

Our recommendation is to add a require to setMaxTxPercent function, that will prevent the scenario described above.

Updated code

  • Issue 𝟮| Severity 🟢 Informational| Fixed ✅

Description

The owner can determine the amount of % to be taken for tax fee and liquidity fee.

Recommendation

Our recommendation is to have a minimum or at least maximum limit for the setter function.

Updated code

  • Issue 𝟹| 🟢 Gas Optimization| Fixed ✅

Description

The state variable “_decimals”, “_name”, “_symbol”, “_tTotal”, are never changed consider changing their attribute to constant to save on gas

Recommendation

Consider changing their attribute to constant to save on gas.

Updated Code

  • Issue 𝟰| 🟢 Gas Optimization| Fixed ✅

Description

The public functions “Ownable.getUnlockTime“, “Ownable.lock”, “Ownable.unlock”, isExcludedFromReward ,
totalFees,deliver,reflectionFromToken, includeInFee, excludeFromFee,excludeFromReward, setSwapAndLiquifyEnabled, isExcludedFromFee should be declared as external.

Summary

All the issues we found were fixed by the team.

About SAFENAMI

SAFENAMI works by applying a 10% fee to each transaction and instantly splitting a 5% fee among all holders of the token and 5% gets added as liquidity.

Experience the next generation of cryptocurrency token that automatically rewards you for holding.

🌏 Website |🗣Telegram |📣 Twitter | 🅜 Medium

About Solid Group

Solid Group is a team of hard-seasoned crypto developers and smart contract auditors. In essence, Solid is a blockchain consulting and auditing service provider that 3 cybersecurity experts founded with a passion for thinking out of the box, learning, and sharing knowledge. Every project goes through a meticulous process and is viewed by at least two partners, thereby achieving a high level of credibility and professionalism. Our team found many high severity issues in the production code and always love to support the customers in finding the best solution.

📣 Telegram| 🗣Telegram discussion group |📣 Twitter |🛡 Contact for audit

Disclaimer

SolidGroup 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. Solid Group do not cover testing or auditing the integration with external contract or services (such as Unicrypt, Uniswap, PancakeSwap etc’…)

SolidGroup 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 technologies proprietors. SolidGroup 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. SolidGroup 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. SolidGroup’s position is that each company and individual are responsible for their own due diligence and continuous security. SolidGroup in no way claims any guarantee of security or functionality of the technology we agree to analyze.

--

--

Solidgroup
Solidgroup

Written by Solidgroup

We are a group 3 software developers with combined experience of over 15years in various fields such as Software design, Operating systems, and solidity.

No responses yet