YAIBA INU Token Logo

YAIBA INU Token

ALERT: unclassified scam

About YAIBA INU

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 25 April 2022

report
Token seems to be a scam (type: unclassified scam).

Reentrancy in YAIBAINU._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _tOwned[from] -= amount (#827)
- transferAmount = _getValues(amount,from) (#832)
- _tOwned[address(this)] += marketingFee + liquidityFee (#783)
- _tOwned[to] += transferAmount (#835)
- swapping = false (#824)
Apply the check-effects-interactions pattern.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

YAIBAINU.allowance(address,address).owner (#742) shadows:
- Ownable.owner() (#422-424) (function)
YAIBAINU._approve(address,address,uint256).owner (#793) shadows:
- Ownable.owner() (#422-424) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in YAIBAINU.constructor() (#699-715):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#704)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#710)
- _isExcludedFromFee[address(this)] = true (#711)
- _isExcludedFromFee[_marketingWallet] = true (#712)
- uniswapV2Pair = _uniswapV2Pair (#707)
- uniswapV2Router = _uniswapV2Router (#706)
Reentrancy in YAIBAINU.swapAndLiquify() (#847-859):
External calls:
- newBalance = swapTokensForEth(half) (#852)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#307)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#896)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#307)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#856)
- _allowances[owner][spender] = amount (#797)
Reentrancy in YAIBAINU.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
- _allowances[owner][spender] = amount (#797)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in YAIBAINU._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#784)
- transferAmount = _getValues(amount,from) (#832)
- Transfer(from,to,transferAmount) (#836)
Reentrancy in YAIBAINU.constructor() (#699-715):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#704)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#714)
Reentrancy in YAIBAINU.swapAndLiquify() (#847-859):
External calls:
- newBalance = swapTokensForEth(half) (#852)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#307)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#896)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#307)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- addLiquidity(otherHalf,newBalance) (#856)
- SwapAndLiquify(half,newBalance,otherHalf) (#857)
Reentrancy in YAIBAINU.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
Apply the check-effects-interactions pattern.

Additional information: link

YAIBAINU._transfer(address,address,uint256) (#801-837) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#815)
YAIBAINU.addLiquidity(uint256,uint256) (#881-897) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#895)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#276-285) uses assembly
- INLINE ASM (#283)
Address._functionCallWithValue(address,bytes,uint256,string) (#369-390) uses assembly
- INLINE ASM (#382-385)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#369-390) is never used and should be removed
Address.functionCall(address,bytes) (#329-331) is never used and should be removed
Address.functionCall(address,bytes,string) (#339-341) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#354-356) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#364-367) is never used and should be removed
Address.isContract(address) (#276-285) is never used and should be removed
Address.sendValue(address,uint256) (#303-309) is never used and should be removed
Context._msgData() (#248-251) is never used and should be removed
SafeMath.add(uint256,uint256) (#111-116) is never used and should be removed
SafeMath.div(uint256,uint256) (#185-187) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#201-207) is never used and should be removed
SafeMath.mod(uint256,uint256) (#221-223) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#237-240) is never used and should be removed
SafeMath.mul(uint256,uint256) (#159-171) is never used and should be removed
SafeMath.sub(uint256,uint256) (#128-130) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#142-147) is never used and should be removed
YAIBAINU.addLiquidity(uint256,uint256) (#881-897) is never used and should be removed
YAIBAINU.swapAndLiquify() (#847-859) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#303-309):
- (success) = recipient.call{value: amount}() (#307)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#369-390):
- (success,returndata) = target.call{value: weiValue}(data) (#373)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#493) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#494) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#511) is not in mixedCase
Function IUniswapV2Router01.WETH() (#533) is not in mixedCase
Variable YAIBAINU._maxTxAmount (#682) is not in mixedCase
Constant YAIBAINU._name (#684) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YAIBAINU._symbol (#685) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YAIBAINU._decimals (#686) is not in UPPER_CASE_WITH_UNDERSCORES
Variable YAIBAINU._marketingFee (#688) is not in mixedCase
Variable YAIBAINU._liquidityFee (#689) is not in mixedCase
Variable YAIBAINU._buyCooldown (#692) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#249)" inContext (#243-252)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in YAIBAINU._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _tOwned[from] -= amount (#827)
- transferAmount = _getValues(amount,from) (#832)
- _tOwned[address(this)] += marketingFee + liquidityFee (#783)
- _tOwned[to] += transferAmount (#835)
- swapping = false (#824)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#784)
- transferAmount = _getValues(amount,from) (#832)
- Transfer(from,to,transferAmount) (#836)
Reentrancy in YAIBAINU.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
- _allowances[owner][spender] = amount (#797)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#538) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#539)
Prevent variables from having similar names.

Additional information: link

Address.sendValue(address,uint256) (#303-309) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#305)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

YAIBAINU._buyCooldown (#692) should be constant
YAIBAINU._liquidityFee (#689) should be constant
YAIBAINU._marketingFee (#688) should be constant
YAIBAINU._marketingWallet (#690) should be constant
YAIBAINU._maxTxAmount (#682) should be constant
YAIBAINU._tTotal (#681) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#441-444)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#450-454)
name() should be declared external:
- YAIBAINU.name() (#717-719)
symbol() should be declared external:
- YAIBAINU.symbol() (#721-723)
decimals() should be declared external:
- YAIBAINU.decimals() (#725-727)
totalSupply() should be declared external:
- YAIBAINU.totalSupply() (#729-731)
transfer(address,uint256) should be declared external:
- YAIBAINU.transfer(address,uint256) (#737-740)
allowance(address,address) should be declared external:
- YAIBAINU.allowance(address,address) (#742-744)
approve(address,uint256) should be declared external:
- YAIBAINU.approve(address,uint256) (#746-749)
transferFrom(address,address,uint256) should be declared external:
- YAIBAINU.transferFrom(address,address,uint256) (#751-755)
increaseAllowance(address,uint256) should be declared external:
- YAIBAINU.increaseAllowance(address,uint256) (#757-760)
decreaseAllowance(address,uint256) should be declared external:
- YAIBAINU.decreaseAllowance(address,uint256) (#762-765)
excludeFromFee(address) should be declared external:
- YAIBAINU.excludeFromFee(address) (#767-769)
includeInFee(address) should be declared external:
- YAIBAINU.includeInFee(address) (#771-773)
isExcludedFromFee(address) should be declared external:
- YAIBAINU.isExcludedFromFee(address) (#789-791)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract ticker (YAIBA INU) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.

Contract has 7% buy tax and 7% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Average 30d PancakeSwap volume 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 YAIBA INU