CatNIP is an NFT Project where players can play a game to mint collectible cat NFTs. The Cat NFTs are used in the game where you can use them to battle more cats in order to capture more cats and mint more NFTs. CatNIP has a game dev team, contract team, and art team. The currency, NIP, is used as an entry fee to play the game. NIP has a maximum total supply of 1 Billion, a 5% transaction tax, and no minting or burning function.
The purpose of the project is to allow players to use their minted NFTs in a game and have FUN!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CatNIP.RescueAmountBNBSentToContractAddress(uint256) (contracts/CatNIP.sol#992-994) sends eth to arbitrary user
Dangerous calls:
- PayableMsgSenderAddress().transfer(amount) (contracts/CatNIP.sol#993)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CatNIP.transferFrom(address,address,uint256) (contracts/CatNIP.sol#337-343):
External calls:
- _transfer(sender,recipient,amount) (contracts/CatNIP.sol#338)
- pancakeswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/CatNIP.sol#681)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/CatNIP.sol#338)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (contracts/CatNIP.sol#341)
- allowancesOfToken[owner][spender] = amount (contracts/CatNIP.sol#312)
Apply the check-effects-interactions pattern.
Additional information: link
CatNIP.excludedFromRewardAddresses (contracts/CatNIP.sol#84) is never initialized. It is used in:
- CatNIP.GetCurrentSupplyTotals() (contracts/CatNIP.sol#573-591)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
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.
CatNIP.GetReflectionTransferAmount(uint256) (contracts/CatNIP.sol#594-604) performs a multiplication on the result of a division:
-allTaxTokenAmount = transferAmount.mul(allTaxesPercent).div(100) (contracts/CatNIP.sol#597)
-reflectionAllTaxAmount = allTaxTokenAmount.mul(currentRate) (contracts/CatNIP.sol#600)
Consider ordering multiplication before division.
Additional information: link
CatNIP.SwapAndLiquify(uint256) (contracts/CatNIP.sol#651-671) ignores return value by pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
Ensure that all the return values of the function calls are used.
Additional information: link
CatNIP.SetPairAddress(address).newPairAddress (contracts/CatNIP.sol#972) lacks a zero-check on :
- pancakeswapPair = newPairAddress (contracts/CatNIP.sol#973)
Check that the address is not zero.
Additional information: link
Reentrancy in CatNIP.DepositNIP(uint256,uint256) (contracts/CatNIP.sol#886-921):
External calls:
- transfer(directorAccount,depositAmount) (contracts/CatNIP.sol#912)
- pancakeswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/CatNIP.sol#681)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
External calls sending eth:
- transfer(directorAccount,depositAmount) (contracts/CatNIP.sol#912)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
- address(minterAccount).transfer(depositedBNBForMinting) (contracts/CatNIP.sol#915)
State variables written after the call(s):
- depositGasAmountTotal[depositingAddress] = depositGasAmountTotal[depositingAddress].add(depositedBNBForMinting) (contracts/CatNIP.sol#918)
- depositNipAmountTotal[depositingAddress] = depositNipAmountTotal[depositingAddress].add(depositAmount) (contracts/CatNIP.sol#917)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CatNIP.transferFrom(address,address,uint256) (contracts/CatNIP.sol#337-343):
External calls:
- _transfer(sender,recipient,amount) (contracts/CatNIP.sol#338)
- pancakeswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/CatNIP.sol#681)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/CatNIP.sol#338)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/CatNIP.sol#313)
- _approve(sender,_msgSender(),currentAllowance - amount) (contracts/CatNIP.sol#341)
Apply the check-effects-interactions pattern.
Additional information: link
CatNIP.IsAddressNotARobot(address) (contracts/CatNIP.sol#816-830) uses timestamp for comparisons
Dangerous comparisons:
- GetCurrentBlockTimeStamp() > timeAddressNotRobotWasWhiteListed[addressToCheck].add(antiBotWhiteListDuration) (contracts/CatNIP.sol#826)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (contracts/libraries/Address.sol#171-188) uses assembly
- INLINE ASM (contracts/libraries/Address.sol#180-183)
Do not use evm assembly.
Additional information: link
SafeMath.trySub(uint256,uint256) (contracts/libraries/SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
CatNIP.depositWallet (contracts/CatNIP.sol#173) is set pre-construction with a non-constant function or state variable:
- directorAccount
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.6 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 Address.functionDelegateCall(address,bytes,string) (contracts/libraries/Address.sol#163-169):
- (success,returndata) = target.delegatecall(data) (contracts/libraries/Address.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeRouter01.WETH() (contracts/interfaces/IPancakeRouter01.sol#6) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/utilities/Context.sol#21)" inContext (contracts/utilities/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CatNIP.DepositNIP(uint256,uint256) (contracts/CatNIP.sol#886-921):
External calls:
- address(minterAccount).transfer(depositedBNBForMinting) (contracts/CatNIP.sol#915)
External calls sending eth:
- transfer(directorAccount,depositAmount) (contracts/CatNIP.sol#912)
- pancakeswapRouter.addLiquidityETH{value: newBalance}(address(this),half2,0,0,directorAccount,block.timestamp) (contracts/CatNIP.sol#669)
- address(minterAccount).transfer(depositedBNBForMinting) (contracts/CatNIP.sol#915)
State variables written after the call(s):
- depositGasAmountTotal[depositingAddress] = depositGasAmountTotal[depositingAddress].add(depositedBNBForMinting) (contracts/CatNIP.sol#918)
- depositNipAmountTotal[depositingAddress] = depositNipAmountTotal[depositingAddress].add(depositAmount) (contracts/CatNIP.sol#917)
- isDepositing[depositingAddress] = false (contracts/CatNIP.sol#920)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/IPancakeRouter01.sol#11) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/IPancakeRouter01.sol#12)
Prevent variables from having similar names.
Additional information: link
CatNIP.slitherConstructorVariables() (contracts/CatNIP.sol#27-1021) uses literals with too many digits:
- requiredDepositBNBForMinting = 5000000000000000 (contracts/CatNIP.sol#879)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CatNIP.deadAddressdEaD (contracts/CatNIP.sol#75) is never used in CatNIP (contracts/CatNIP.sol#27-1021)
Remove unused state variables.
Additional information: link
CatNIP.symbolOfToken (contracts/CatNIP.sol#45) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
SetPairAddress(address) should be declared external:
- CatNIP.SetPairAddress(address) (contracts/CatNIP.sol#972-974)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account