Lunaray Token Security Scan Report

lunaray
2 min readApr 8, 2022

According to Lunaray Security Team reported, the Token contract security scanning platform has completed the automatic security scan of the Bancor Network Token contract, and the security risk level is low .

The scan result is only for general security vulnerabilities and is not used as the final contract security audit result, nor as investment advice for users. If you have any questions, please contact support@lunaray.co.

The scan contract address:

0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c

The scan tool:

Lunaray Token Security

Scan result:

Fake Recharge:The mild if/else-only judgment is a sloppy way of coding in sensitive function scenarios such as transfer, and will lead to false recharge vulnerabilities.

No safemath library:An integer variable can only have a certain range of numbers represented, and exceeding the range of values expressed by the variable type will result in an integer overflow vulnerability.

Onlyowner:There are one or more methods in the contract that only the administrator can operate.

Self transfer:There may be a risk of deflation if the same addresses are not identified at the time of transfer.

No events added:Failure to add method events may result in users or administrators being unable to determine the details of their actions.

Redundant code:There are unused internal methods in the contract, which may result in additional gas consumption.

Dangerous strict equivalence:Dangerous strict equivalence testing

Hard coding:Unspecified constants that appear in the code can lead to problems such as poor readability of the code.

Incorrect modifier:Incorrect modifier

Public suicide function calls:Public suicide function calls

Re entrancy:The attacker builds a contract containing malicious code at an external address in the [Fallback function].

timestamp:Timestamps may be manipulated by miners

Unchecked empty address:No judgement is made on the address passed in, if the address is a address(0), the address cannot be modified again

Unchecked transfer return:Failure to check the method return value when sending tokens using the send or call.value methods in the contract code will lead to unexpected results.

Unspecified method visibility:The visibility of contract functions is public by default, so functions that do not specify any visibility can be called externally by the user.

Unused local variables:Unused local variables

Unused return values:The return value of an external call is not stored in a local or state variable

Using sha3:sha3 is not secure in solidity

Wrong storage usage:Objects that have not changed their state, using storage to initialize variables will increase gas consumption, risking overrunning the limit and increasing the risk of memory overwriting.

INFO SECURITY

Lunaray social media

Twitter: https://twitter.com/lunaray_sec

Github: https://github.com/LunaraySec

Telegram:http://t.me/LunaraySec

Facebook: https://www.facebook.com/lunarayblockchain

Quora:https://blockchainsecurityaudit.quora.com/

Reddit:https://www.reddit.com/user/Lunarayblockchain/

Instagram: https://www.instagram.com/lunarayblockchain02/

Website: https://lunaray.co

--

--

lunaray

Lunaray takes a leading position in smart contract auditing and consulting service for blockchain security.