ASS 2.0 Token Logo

ASS2.0 [ASS 2.0] Token

ALERT: unclassified scam

About ASS2.0

Listings

Not Found
Token 9 days

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 24 June 2022

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

Ass2.swapBack() (#324-365) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Ass2._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#278)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#281)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#311)
Apply the check-effects-interactions pattern.

Additional information: link


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


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

Ass2.slitherConstructorVariables() (#180-449) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 1 (#216)
Consider ordering multiplication before division.

Additional information: link

Ass2.swapBack() (#324-365) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Ensure that all the return values of the function calls are used.

Additional information: link

Ass2.setTxLimit(uint256) (#388-391) should emit an event for:
- _maxTxAmount = amount (#390)
Ass2.setFees(uint256,uint256,uint256,uint256) (#406-412) should emit an event for:
- liquidityFee = _liquidityFee (#407)
- buybackFee = _buybackFee (#408)
- marketingFee = _marketingFee (#409)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#410)
- feeDenominator = _feeDenominator (#411)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#119) lacks a zero-check on :
- owner = adr (#120)
Ass2.setFeeReceiver(address,address)._marketingFeeReceiver (#414) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#415)
Ass2.setFeeReceiver(address,address)._buybackFeeReceiver (#414) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#416)
Check that the address is not zero.

Additional information: link

Reentrancy in Ass2._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- launch() (#276)
- launchedAt = block.number (#385)
Reentrancy in Ass2.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#223)
- _balances[_owner] = _totalSupply (#229)
- isFeeExempt[_owner] = true (#226)
- isTxLimitExempt[_owner] = true (#227)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Ass2._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#312)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- Transfer(sender,recipient,amountReceived) (#283)
Reentrancy in Ass2.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#230)
Reentrancy in Ass2.swapBack() (#324-365):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#363)
Apply the check-effects-interactions pattern.

Additional information: link

Ass2.buyTokens(uint256,address) (#367-378) is never used and should be removed
Remove unused functions.

Additional information: link

Ass2._maxTxAmount (#192) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 200
Ass2._maxWalletSize (#193) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
Ass2.swapThreshold (#216) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 1
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

solc-0.8.15 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in Ass2.swapBack() (#324-365):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#134) is not in mixedCase
Parameter Ass2.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#406) is not in mixedCase
Parameter Ass2.setFees(uint256,uint256,uint256,uint256)._buybackFee (#406) is not in mixedCase
Parameter Ass2.setFees(uint256,uint256,uint256,uint256)._marketingFee (#406) is not in mixedCase
Parameter Ass2.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#406) is not in mixedCase
Parameter Ass2.setFeeReceiver(address,address)._marketingFeeReceiver (#414) is not in mixedCase
Parameter Ass2.setFeeReceiver(address,address)._buybackFeeReceiver (#414) is not in mixedCase
Parameter Ass2.setSwapBackSettings(bool,uint256)._enabled (#419) is not in mixedCase
Parameter Ass2.setSwapBackSettings(bool,uint256)._amount (#419) is not in mixedCase
Parameter Ass2.transferForeignToken(address)._token (#429) is not in mixedCase
Variable Ass2.WBNB (#183) is not in mixedCase
Variable Ass2.DEAD (#184) is not in mixedCase
Variable Ass2.ZERO (#185) is not in mixedCase
Constant Ass2._name (#187) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Ass2._symbol (#188) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Ass2._decimals (#189) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Ass2._totalSupply (#191) is not in mixedCase
Variable Ass2._maxTxAmount (#192) is not in mixedCase
Variable Ass2._maxWalletSize (#193) is not in mixedCase
Variable Ass2._balances (#195) is not in mixedCase
Variable Ass2._allowances (#196) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#139) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#140)
Prevent variables from having similar names.

Additional information: link

Ass2.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#184)
Ass2.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#185)
Ass2.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#191)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ass2.DEAD (#184) should be constant
Ass2.WBNB (#183) should be constant
Ass2.ZERO (#185) should be constant
Ass2._totalSupply (#191) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#91-93)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#98-100)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#119-123)
transferForeignToken(address) should be declared external:
- Ass2.transferForeignToken(address) (#429-433)
isOverLiquified(uint256,uint256) should be declared external:
- Ass2.isOverLiquified(uint256,uint256) (#443-445)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract name (ASS 2.0) 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.

Contract ticker (ASS2.0) 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:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


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 ASS2.0