Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RealSantaToken.buyTokens(uint256,address) (RealSantaToken.sol#282-293) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (RealSantaToken.sol#287-292)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RealSantaToken._transferFrom(address,address,uint256) (RealSantaToken.sol#136-159):
External calls:
- swapBack() (RealSantaToken.sol#141)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (RealSantaToken.sol#221-227)
- distributor.deposit{value: amountBNBReflection}() (RealSantaToken.sol#237)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (RealSantaToken.sol#243-250)
- triggerAutoBuyback() (RealSantaToken.sol#142)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (RealSantaToken.sol#287-292)
External calls sending eth:
- swapBack() (RealSantaToken.sol#141)
- distributor.deposit{value: amountBNBReflection}() (RealSantaToken.sol#237)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (RealSantaToken.sol#238)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (RealSantaToken.sol#243-250)
- triggerAutoBuyback() (RealSantaToken.sol#142)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (RealSantaToken.sol#287-292)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (RealSantaToken.sol#146)
- _balances[recipient] = _balances[recipient].add(amountReceived) (RealSantaToken.sol#150)
- amountReceived = takeFee(sender,recipient,amount) (RealSantaToken.sol#148)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (RealSantaToken.sol#198)
- triggerAutoBuyback() (RealSantaToken.sol#142)
- inSwap = true (RealSantaToken.sol#75)
- inSwap = false (RealSantaToken.sol#75)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (DividendDistributor.sol#187-198) ignores return value by BUSD.transfer(shareholder,amount) (DividendDistributor.sol#193)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in DividendDistributor.setShare(address,uint256) (DividendDistributor.sol#120-134):
External calls:
- distributeDividend(shareholder) (DividendDistributor.sol#122)
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#193)
State variables written after the call(s):
- shares[shareholder].amount = amount (DividendDistributor.sol#132)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (DividendDistributor.sol#133)
Apply the check-effects-interactions pattern.
Additional information: link
RealSantaToken.swapBack() (RealSantaToken.sol#211-253) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (RealSantaToken.sol#243-250)
Ensure that all the return values of the function calls are used.
Additional information: link
RealSantaToken.setTargetLiquidity(uint256,uint256) (RealSantaToken.sol#364-367) should emit an event for:
- targetLiquidity = _target (RealSantaToken.sol#365)
- targetLiquidityDenominator = _denominator (RealSantaToken.sol#366)
Emit an event for critical parameter changes.
Additional information: link
RealSantaToken.setFeeReceivers(address,address)._marketingFeeReceiver (RealSantaToken.sol#354) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (RealSantaToken.sol#356)
Check that the address is not zero.
Additional information: link
Reentrancy in RealSantaToken.triggerZeusBuyback(uint256,bool) (RealSantaToken.sol#263-269):
External calls:
- buyTokens(amount,DEAD) (RealSantaToken.sol#264)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (RealSantaToken.sol#287-292)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (RealSantaToken.sol#266)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RealSantaToken.triggerZeusBuyback(uint256,bool) (RealSantaToken.sol#263-269):
External calls:
- buyTokens(amount,DEAD) (RealSantaToken.sol#264)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (RealSantaToken.sol#287-292)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (RealSantaToken.sol#267)
Apply the check-effects-interactions pattern.
Additional information: link
RealSantaToken.isOverLiquified(uint256,uint256) (RealSantaToken.sol#386-388) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (RealSantaToken.sol#387)
Avoid relying on block.timestamp.
Additional information: link
RealSantaToken.onlyBuybacker() (RealSantaToken.sol#110) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (RealSantaToken.sol#110)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.8.7', '^0.8.0']
- 0.8.7 (Auth.sol#2)
- 0.8.7 (DividendDistributor.sol#2)
- 0.8.7 (IBEP20.sol#2)
- 0.8.7 (RealSantaToken.sol#5)
- ^0.8.0 (SafeMath.sol#3)
Use one Solidity version.
Additional information: link
DividendDistributor.process(uint256) (DividendDistributor.sol#156-180) has costly operations inside a loop:
- currentIndex ++ (DividendDistributor.sol#177)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.trySub(uint256,uint256) (SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 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
Variable RealSantaToken._allowances (RealSantaToken.sol#29) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in RealSantaToken.swapBack() (RealSantaToken.sol#211-253):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (RealSantaToken.sol#238)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (RealSantaToken.sol#237)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (RealSantaToken.sol#238)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (RealSantaToken.sol#243-250)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (RealSantaToken.sol#251)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (DividendDistributor.sol#17) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (DividendDistributor.sol#18)
Prevent variables from having similar names.
Additional information: link
RealSantaToken.slitherConstructorVariables() (RealSantaToken.sol#11-393) uses literals with too many digits:
- swapThreshold = 10000000000000000000 (RealSantaToken.sol#73)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RealSantaToken.DEAD_NON_CHECKSUM (RealSantaToken.sol#19) is never used in RealSantaToken (RealSantaToken.sol#11-393)
Remove unused state variables.
Additional information: link
RealSantaToken._totalSupply (RealSantaToken.sol#25) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
launch() should be declared external:
- RealSantaToken.launch() (RealSantaToken.sol#315-319)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts