Version 2.0 of the OG Catgirl that did a massive good run.
We are planning to build a project that will help the holders and the community to earn.
CATGIRL.addLiquidity(uint256,uint256) (#767-780) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CATGIRL._transfer(address,address,uint256) (#675-714):
External calls:
- swapAndLiquify(contractTokenBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#698)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#701)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#709)
- finalAmount = takeFee(sender,recipient,amount) (#703-704)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#794)
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)
CATGIRL.addLiquidity(uint256,uint256) (#767-780) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
Ensure that all the return values of the function calls are used.
Additional information: link
CATGIRL.allowance(address,address).owner (#526) shadows:
- Ownable.owner() (#159-161) (function)
CATGIRL._approve(address,address,uint256).owner (#549) shadows:
- Ownable.owner() (#159-161) (function)
Rename the local variables that shadow another component.
Additional information: link
CATGIRL.setMarketingWalletAddress(address).newAddress (#617) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#618)
CATGIRL.setTeamWalletAddress(address).newAddress (#621) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#622)
Check that the address is not zero.
Additional information: link
Reentrancy in CATGIRL._transfer(address,address,uint256) (#675-714):
External calls:
- swapAndLiquify(contractTokenBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#698)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#795)
- finalAmount = takeFee(sender,recipient,amount) (#703-704)
- Transfer(sender,recipient,finalAmount) (#711)
Reentrancy in CATGIRL.constructor() (#476-504):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#480-481)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#503)
Reentrancy in CATGIRL.swapAndLiquify(uint256) (#723-745):
External calls:
- swapTokensForEth(tokensForSwap) (#728)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#738)
- recipient.transfer(amount) (#639)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#741)
- recipient.transfer(amount) (#639)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
Reentrancy in CATGIRL.swapTokensForEth(uint256) (#747-765):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#764)
Reentrancy in CATGIRL.transferFrom(address,address,uint256) (#669-673):
External calls:
- _transfer(sender,recipient,amount) (#670)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
External calls sending eth:
- _transfer(sender,recipient,amount) (#670)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#671)
Apply the check-effects-interactions pattern.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#168-171)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#173-177)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#179-181)
getTime() should be declared external:
- Ownable.getTime() (#183-185)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#187-192)
unlock() should be declared external:
- Ownable.unlock() (#194-199)
name() should be declared external:
- CATGIRL.name() (#506-508)
symbol() should be declared external:
- CATGIRL.symbol() (#510-512)
decimals() should be declared external:
- CATGIRL.decimals() (#514-516)
totalSupply() should be declared external:
- CATGIRL.totalSupply() (#518-520)
allowance(address,address) should be declared external:
- CATGIRL.allowance(address,address) (#526-528)
increaseAllowance(address,uint256) should be declared external:
- CATGIRL.increaseAllowance(address,uint256) (#530-533)
decreaseAllowance(address,uint256) should be declared external:
- CATGIRL.decreaseAllowance(address,uint256) (#535-538)
minimumTokensBeforeSwapAmount() should be declared external:
- CATGIRL.minimumTokensBeforeSwapAmount() (#540-542)
approve(address,uint256) should be declared external:
- CATGIRL.approve(address,uint256) (#544-547)
setMarketPairStatus(address,bool) should be declared external:
- CATGIRL.setMarketPairStatus(address,bool) (#557-559)
setIsExcludedFromFee(address,bool) should be declared external:
- CATGIRL.setIsExcludedFromFee(address,bool) (#565-567)
manageAdd(address,bool) should be declared external:
- CATGIRL.manageAdd(address,bool) (#569-571)
setSwapAndLiquifyEnabled(bool) should be declared external:
- CATGIRL.setSwapAndLiquifyEnabled(bool) (#625-628)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- CATGIRL.setSwapAndLiquifyByLimitOnly(bool) (#630-632)
getCirculatingSupply() should be declared external:
- CATGIRL.getCirculatingSupply() (#634-636)
changeRouterVersion(address) should be declared external:
- CATGIRL.changeRouterVersion(address) (#642-659)
transfer(address,uint256) should be declared external:
- CATGIRL.transfer(address,uint256) (#664-667)
transferFrom(address,address,uint256) should be declared external:
- CATGIRL.transferFrom(address,address,uint256) (#669-673)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker (CATGIRL 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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
CATGIRL.setBuyTaxes(uint256,uint256,uint256) (#573-579) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#578)
CATGIRL.setSellTaxes(uint256,uint256,uint256) (#581-587) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#586)
CATGIRL.setDistributionSettings(uint256,uint256,uint256) (#589-595) should emit an event for:
- _liquidityShare = newLiquidityShare (#590)
- _teamShare = newTeamShare (#592)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#594)
CATGIRL.setMaxTxAmount(uint256) (#597-599) should emit an event for:
- _maxTxAmount = maxTxAmount (#598)
CATGIRL.setWalletLimit(uint256) (#609-611) should emit an event for:
- _walletMax = newLimit (#610)
CATGIRL.setNumTokensBeforeSwap(uint256) (#613-615) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#614)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in CATGIRL.changeRouterVersion(address) (#642-659):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#650-651)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#658)
- isWalletLimitExempt[address(uniswapPair)] = true (#657)
- uniswapPair = newPairAddress (#654)
- uniswapV2Router = _uniswapV2Router (#655)
Reentrancy in CATGIRL.constructor() (#476-504):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#480-481)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#484)
- _balances[_msgSender()] = _totalSupply (#502)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#491)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#489)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#490)
- isExcludedFromFee[owner()] = true (#486)
- isExcludedFromFee[address(this)] = true (#487)
- isMarketPair[address(uniswapPair)] = true (#500)
- isTxLimitExempt[owner()] = true (#497)
- isTxLimitExempt[address(this)] = true (#498)
- isWalletLimitExempt[owner()] = true (#493)
- isWalletLimitExempt[address(uniswapPair)] = true (#494)
- isWalletLimitExempt[address(this)] = true (#495)
- uniswapV2Router = _uniswapV2Router (#483)
Reentrancy in CATGIRL.swapAndLiquify(uint256) (#723-745):
External calls:
- swapTokensForEth(tokensForSwap) (#728)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#738)
- recipient.transfer(amount) (#639)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#741)
- recipient.transfer(amount) (#639)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- _allowances[owner][spender] = amount (#553)
Reentrancy in CATGIRL.transferFrom(address,address,uint256) (#669-673):
External calls:
- _transfer(sender,recipient,amount) (#670)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#756-762)
External calls sending eth:
- _transfer(sender,recipient,amount) (#670)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#671)
- _allowances[owner][spender] = amount (#553)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#194-199) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#196)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#90-99) uses assembly
- INLINE ASM (#97)
Address._functionCallWithValue(address,bytes,uint256,string) (#126-143) uses assembly
- INLINE ASM (#135-138)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#126-143) is never used and should be removed
Address.functionCall(address,bytes) (#109-111) is never used and should be removed
Address.functionCall(address,bytes,string) (#113-115) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#117-119) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#121-124) is never used and should be removed
Address.isContract(address) (#90-99) is never used and should be removed
Address.sendValue(address,uint256) (#101-107) is never used and should be removed
Context._msgData() (#17-20) is never used and should be removed
SafeMath.mod(uint256,uint256) (#78-80) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#82-85) is never used and should be removed
Remove unused functions.
Additional information: link
CATGIRL._totalSupply (#440) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** _decimals
CATGIRL._maxTxAmount (#441) is set pre-construction with a non-constant function or state variable:
- 30000 * 10 ** _decimals
CATGIRL._walletMax (#442) is set pre-construction with a non-constant function or state variable:
- 30000 * 10 ** _decimals
CATGIRL.minimumTokensBeforeSwap (#443) is set pre-construction with a non-constant function or state variable:
- 3120 * 10 ** _decimals
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 Address.sendValue(address,uint256) (#101-107):
- (success) = recipient.call{value: amount}() (#105)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#126-143):
- (success,returndata) = target.call{value: weiValue}(data) (#129)
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() (#233) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#234) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#250) is not in mixedCase
Function IUniswapV2Router01.WETH() (#269) is not in mixedCase
Parameter CATGIRL.setSwapAndLiquifyEnabled(bool)._enabled (#625) is not in mixedCase
Variable CATGIRL._balances (#415) is not in mixedCase
Variable CATGIRL._buyLiquidityFee (#424) is not in mixedCase
Variable CATGIRL._buyMarketingFee (#425) is not in mixedCase
Variable CATGIRL._buyTeamFee (#426) is not in mixedCase
Variable CATGIRL._sellLiquidityFee (#428) is not in mixedCase
Variable CATGIRL._sellMarketingFee (#429) is not in mixedCase
Variable CATGIRL._sellTeamFee (#430) is not in mixedCase
Variable CATGIRL._liquidityShare (#432) is not in mixedCase
Variable CATGIRL._marketingShare (#433) is not in mixedCase
Variable CATGIRL._teamShare (#434) is not in mixedCase
Variable CATGIRL._totalTaxIfBuying (#436) is not in mixedCase
Variable CATGIRL._totalTaxIfSelling (#437) is not in mixedCase
Variable CATGIRL._totalDistributionShares (#438) is not in mixedCase
Variable CATGIRL._maxTxAmount (#441) is not in mixedCase
Variable CATGIRL._walletMax (#442) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#18)" inContext (#11-21)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CATGIRL._transfer(address,address,uint256) (#675-714):
External calls:
- swapAndLiquify(contractTokenBalance) (#698)
- recipient.transfer(amount) (#639)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#698)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#701)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#709)
- finalAmount = takeFee(sender,recipient,amount) (#703-704)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#794)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#795)
- finalAmount = takeFee(sender,recipient,amount) (#703-704)
- Transfer(sender,recipient,finalAmount) (#711)
Reentrancy in CATGIRL.swapAndLiquify(uint256) (#723-745):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#738)
- recipient.transfer(amount) (#639)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#741)
- recipient.transfer(amount) (#639)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#738)
- recipient.transfer(amount) (#639)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#741)
- recipient.transfer(amount) (#639)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
- _allowances[owner][spender] = amount (#553)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#744)
Reentrancy in CATGIRL.transferFrom(address,address,uint256) (#669-673):
External calls:
- _transfer(sender,recipient,amount) (#670)
- recipient.transfer(amount) (#639)
External calls sending eth:
- _transfer(sender,recipient,amount) (#670)
- recipient.transfer(amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#772-779)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#671)
- _allowances[owner][spender] = amount (#553)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#671)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#274) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#275)
Prevent variables from having similar names.
Additional information: link
CATGIRL.slitherConstructorVariables() (#402-802) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#413)
CATGIRL.slitherConstructorVariables() (#402-802) uses literals with too many digits:
- _totalSupply = 1000000 * 10 ** _decimals (#440)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CATGIRL._decimals (#409) should be constant
CATGIRL._name (#407) should be constant
CATGIRL._symbol (#408) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts