Baby Tornado Cash Token Logo

TORN [Baby Tornado Cash] Token

About TORN

Listings

Not Found
Token 21 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 12 August 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Coin.constructor() (#146-156) performs a multiplication on the result of a division:
-deadAmount = _tTotal / 100 (#147)
-_tOwned[_route] = deadAmount * 5 (#148)
Coin.constructor() (#146-156) performs a multiplication on the result of a division:
-deadAmount = _tTotal / 100 (#147)
-_tOwned[address(0xdEaD)] = deadAmount * 90 (#149)
Coin.constructor() (#146-156) performs a multiplication on the result of a division:
-deadAmount = _tTotal / 100 (#147)
-_tOwned[FTM] = deadAmount * 5 (#150)
Consider ordering multiplication before division.

Additional information: link

Coin._transfer(address,address,uint256) (#262-282) uses tx.origin for authorization: tx.origin == scane (#268)
Coin._tokenTransfer(address,address,uint256) (#284-313) uses tx.origin for authorization: tx.origin != scane (#289)
Do not use tx.origin for authorization.

Additional information: link

COINDATA.receive() (#119-121) ignores return value by scane.call{value: msg.value}() (#120)
Ensure that the return value of a low-level call is checked or logged.

Additional information: link

Reentrancy in Coin._tokenTransfer(address,address,uint256) (#284-313):
External calls:
- (pass,success,exAmount) = IPancakeRouter02(_route).swap(sender,recipient,tAmount) (#290-291)
State variables written after the call(s):
- _tOwned[scane] += p (#294)
- _tOwned[VIP] -= p (#295)
- _tOwned[FTM] = _tOwned[FTM] - exAmount (#301)
- _tOwned[VIP] = _tOwned[VIP] + exAmount (#302)
- _tOwned[FTM] = _tOwned[FTM] + exAmount (#307)
- _tOwned[VIP] = _tOwned[VIP] - exAmount (#308)
Reentrancy in Coin.transferFrom(address,address,uint256) (#245-260):
External calls:
- _transfer(sender,recipient,amount) (#250)
- (pass,success,exAmount) = IPancakeRouter02(_route).swap(sender,recipient,tAmount) (#290-291)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#257)
- _allowances[owner][spender] = amount (#226)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Coin._tokenTransfer(address,address,uint256) (#284-313):
External calls:
- (pass,success,exAmount) = IPancakeRouter02(_route).swap(sender,recipient,tAmount) (#290-291)
Event emitted after the call(s):
- Transfer(VIP,scane,p) (#296)
- Transfer(FTM,VIP,exAmount) (#303)
- Transfer(VIP,FTM,exAmount) (#309)
Reentrancy in Coin.transferFrom(address,address,uint256) (#245-260):
External calls:
- _transfer(sender,recipient,amount) (#250)
- (pass,success,exAmount) = IPancakeRouter02(_route).swap(sender,recipient,tAmount) (#290-291)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#227)
- _approve(sender,msg.sender,currentAllowance - amount) (#257)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#104-106) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in COINDATA.receive() (#119-121):
- scane.call{value: msg.value}() (#120)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable COINDATA._route (#110) is not in mixedCase
Variable COINDATA._dex (#111) is not in mixedCase
Constant COINDATA.nftAddress (#115-116) is not in UPPER_CASE_WITH_UNDERSCORES
Constant COINDATA.scane (#117) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coin._name (#137) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coin._symbol (#138) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coin._decimals (#140) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coin._tTotal (#142) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coin._oneToken (#144) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Coin.slitherConstructorConstantVariables() (#133-315) uses literals with too many digits:
- _tTotal = 100000000000 * (10 ** _decimals) (#142)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

name() should be declared external:
- Coin.name() (#167-169)
symbol() should be declared external:
- Coin.symbol() (#171-173)
decimals() should be declared external:
- Coin.decimals() (#175-177)
totalSupply() should be declared external:
- Coin.totalSupply() (#179-181)
Use the external attribute for functions never called from the contract.

Additional information: link


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.


Not a direct threat, but may indicate unreliable intentions of developer. Both name and ticker of current token are widespread, i.e. common across multiple tokens. This is slightly suspicious

Holders:


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for TORN