Pararium.swapBack() (#372-405) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Pararium._transferFrom(address,address,uint256) (#307-331):
External calls:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#386-392)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
External calls sending eth:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#322)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#326)
- amountReceived = takeFee(sender,amount) (#325)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#356)
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)
Auth.transferOwnership(address).adr (#132) lacks a zero-check on :
- owner = adr (#133)
Pararium.setFeeReceiver(address,address)._marketingFeeReceiver (#479) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#480)
Pararium.setFeeReceiver(address,address)._buybackFeeReceiver (#479) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#481)
Check that the address is not zero.
Additional information: link
Reentrancy in Pararium._transferFrom(address,address,uint256) (#307-331):
External calls:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#386-392)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
External calls sending eth:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
State variables written after the call(s):
- launch() (#319)
- launchedAt = block.number (#444)
Reentrancy in Pararium.constructor() (#252-265):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#254)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#255)
- _balances[_owner] = _totalSupply (#263)
- isFeeExempt[_owner] = true (#259)
- isTxLimitExempt[_owner] = true (#260)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Pararium._transferFrom(address,address,uint256) (#307-331):
External calls:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#386-392)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
External calls sending eth:
- swapBack() (#316)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#357)
- amountReceived = takeFee(sender,amount) (#325)
- Transfer(sender,recipient,amountReceived) (#329)
Reentrancy in Pararium.addLiquidity(uint256,uint256) (#408-420):
External calls:
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#418)
Reentrancy in Pararium.constructor() (#252-265):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#254)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#264)
Reentrancy in Pararium.swapBack() (#372-405):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#386-392)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#404)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#404)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#418)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#404)
Apply the check-effects-interactions pattern.
Additional information: link
Pararium.buyTokens(uint256,address) (#423-435) is never used and should be removed
Remove unused functions.
Additional information: link
Pararium._maxTxAmount (#217) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
Pararium._maxWalletSize (#218) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
Pararium.swapThreshold (#247) 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
Low level call in Pararium.swapBack() (#372-405):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#400)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#402)
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() (#150) is not in mixedCase
Parameter Pararium.addLiquidity(uint256,uint256).BNBAmount (#408) is not in mixedCase
Parameter Pararium.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#470) is not in mixedCase
Parameter Pararium.setFees(uint256,uint256,uint256,uint256)._buybackFee (#470) is not in mixedCase
Parameter Pararium.setFees(uint256,uint256,uint256,uint256)._marketingFee (#470) is not in mixedCase
Parameter Pararium.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#470) is not in mixedCase
Parameter Pararium.setFeeReceiver(address,address)._marketingFeeReceiver (#479) is not in mixedCase
Parameter Pararium.setFeeReceiver(address,address)._buybackFeeReceiver (#479) is not in mixedCase
Parameter Pararium.setSwapBackSettings(bool,uint256)._enabled (#485) is not in mixedCase
Parameter Pararium.setSwapBackSettings(bool,uint256)._amount (#485) is not in mixedCase
Parameter Pararium.transferForeignToken(address)._token (#497) is not in mixedCase
Variable Pararium.WBNB (#206) is not in mixedCase
Variable Pararium.DEAD (#207) is not in mixedCase
Variable Pararium.ZERO (#208) is not in mixedCase
Constant Pararium._name (#211) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Pararium._symbol (#212) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Pararium._decimals (#213) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Pararium._totalSupply (#216) is not in mixedCase
Variable Pararium._maxTxAmount (#217) is not in mixedCase
Variable Pararium._maxWalletSize (#218) is not in mixedCase
Variable Pararium._balances (#221) is not in mixedCase
Variable Pararium._allowances (#222) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#156) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#157)
Prevent variables from having similar names.
Additional information: link
Pararium.slitherConstructorVariables() (#202-519) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#207)
Pararium.slitherConstructorVariables() (#202-519) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#208)
Pararium.slitherConstructorVariables() (#202-519) uses literals with too many digits:
- _totalSupply = 200000000 * (10 ** _decimals) (#216)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Pararium.DEAD (#207) should be constant
Pararium.WBNB (#206) should be constant
Pararium.ZERO (#208) should be constant
Pararium._totalSupply (#216) 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) (#100-102)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#108-110)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#132-136)
transferForeignToken(address) should be declared external:
- Pararium.transferForeignToken(address) (#497-501)
isOverLiquified(uint256,uint256) should be declared external:
- Pararium.isOverLiquified(uint256,uint256) (#513-515)
Use the external attribute for functions never called from the contract.
Additional information: link
Pararium.slitherConstructorVariables() (#202-519) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 1 (#247)
Consider ordering multiplication before division.
Additional information: link
Pararium.addLiquidity(uint256,uint256) (#408-420) ignores return value by router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#410-417)
Ensure that all the return values of the function calls are used.
Additional information: link
Pararium.setTxLimit(uint256) (#448-451) should emit an event for:
- _maxTxAmount = amount (#450)
Pararium.setFees(uint256,uint256,uint256,uint256) (#470-476) should emit an event for:
- liquidityFee = _liquidityFee (#471)
- buybackFee = _buybackFee (#472)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#474)
- feeDenominator = _feeDenominator (#475)
Emit an event for critical parameter changes.
Additional information: link
Contract has 9% buy tax and 8% 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.
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 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
Unable to find Telegram and Twitter accounts