Genei Ryodan Inu Token Logo

GRI [Genei Ryodan Inu] Token

ALERT: unclassified scam

About GRI

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

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


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

GeneiRyodanInu.swapBack() (#501-545) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in GeneiRyodanInu._transferFrom(address,address,uint256) (#431-464):
External calls:
- swapBack() (#443)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#512-518)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
External calls sending eth:
- swapBack() (#443)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#446)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#449)
- amountReceived = takeFee(sender,amount) (#448)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#483)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#284-295) ignores return value by Reflection.transfer(shareholder,amount) (#290)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

GeneiRyodanInu.swapBack().tmpSuccess (#529) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
tmpSuccess = false (#531)
Fix or remove the writes.

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.

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

Additional information: link

Function IDEXRouter.WETH() (#109) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#213) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#213) is not in mixedCase
Variable DividendDistributor._token (#165) is not in mixedCase
Variable DividendDistributor.Reflection (#173) is not in mixedCase
Variable DividendDistributor.WBNB (#174) is not in mixedCase
Event GeneiRyodanInuliquidityBurned(uint256,uint256) (#607) is not in CapWords
Parameter GeneiRyodanInu.setTax(uint256,uint256,uint256,uint256)._liquidityFee (#565) is not in mixedCase
Parameter GeneiRyodanInu.setTax(uint256,uint256,uint256,uint256)._reflectionFee (#565) is not in mixedCase
Parameter GeneiRyodanInu.setTax(uint256,uint256,uint256,uint256)._marketingFee (#565) is not in mixedCase
Parameter GeneiRyodanInu.setMarketingReciver(address)._marketingFeeReceiver (#574) is not in mixedCase
Parameter GeneiRyodanInu.setLiquidityReciver(address)._autoLiquidityReceiver (#577) is not in mixedCase
Parameter GeneiRyodanInu.setSwapBackSettings(bool,uint256)._enabled (#581) is not in mixedCase
Parameter GeneiRyodanInu.setSwapBackSettings(bool,uint256)._amount (#581) is not in mixedCase
Parameter GeneiRyodanInu.setDistributionCriteria(uint256,uint256)._minPeriod (#586) is not in mixedCase
Parameter GeneiRyodanInu.setDistributionCriteria(uint256,uint256)._minDistribution (#586) is not in mixedCase
Variable GeneiRyodanInu.Reflection (#329) is not in mixedCase
Variable GeneiRyodanInu.WBNB (#330) is not in mixedCase
Variable GeneiRyodanInu.DEAD (#332) is not in mixedCase
Variable GeneiRyodanInu.ZERO (#333) is not in mixedCase
Variable GeneiRyodanInu._marketingAdr (#334) is not in mixedCase
Constant GeneiRyodanInu._name (#335) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GeneiRyodanInu._symbol (#336) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GeneiRyodanInu._decimals (#337) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GeneiRyodanInu._totalSupply (#338) is not in mixedCase
Variable GeneiRyodanInu._maxTxAmount (#339) is not in mixedCase
Variable GeneiRyodanInu._maxWalletToken (#340) is not in mixedCase
Variable GeneiRyodanInu._balances (#341) is not in mixedCase
Variable GeneiRyodanInu._allowances (#342) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#284-295):
External calls:
- Reflection.transfer(shareholder,amount) (#290)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#292)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#293)
Reentrancy in DividendDistributor.process(uint256) (#254-278):
External calls:
- distributeDividend(shareholders[currentIndex]) (#270)
- Reflection.transfer(shareholder,amount) (#290)
State variables written after the call(s):
- currentIndex ++ (#275)
Reentrancy in DividendDistributor.setShare(address,uint256) (#218-232):
External calls:
- distributeDividend(shareholder) (#220)
- Reflection.transfer(shareholder,amount) (#290)
State variables written after the call(s):
- shares[shareholder].amount = amount (#230)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#231)
Apply the check-effects-interactions pattern.

Additional information: link

GeneiRyodanInu.swapBack() (#501-545) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#213-216) should emit an event for:
- minPeriod = _minPeriod (#214)
- minDistribution = _minDistribution (#215)
GeneiRyodanInu.setTax(uint256,uint256,uint256,uint256) (#565-572) should emit an event for:
- liquidityFee = _liquidityFee (#566)
- reflectionFee = _reflectionFee (#567)
- marketingFee = _marketingFee (#568)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#569)
GeneiRyodanInu.setSwapBackSettings(bool,uint256) (#581-584) should emit an event for:
- swapThreshold = _amount (#583)
Emit an event for critical parameter changes.

Additional information: link

Auth.ownershipRenounced(address).adr (#94) lacks a zero-check on :
- owner = adr (#95)
GeneiRyodanInu.setMarketingReciver(address)._marketingFeeReceiver (#574) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#575)
GeneiRyodanInu.setLiquidityReciver(address)._autoLiquidityReceiver (#577) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#578)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#284-295) has external calls inside a loop: Reflection.transfer(shareholder,amount) (#290)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in GeneiRyodanInu.constructor() (#370-392):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#372)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#373)
- approve(routerv2,_totalSupply) (#388)
- _allowances[msg.sender][spender] = amount (#405)
- approve(address(pair),_totalSupply) (#389)
- _allowances[msg.sender][spender] = amount (#405)
- _balances[msg.sender] = _totalSupply (#390)
- autoLiquidityReceiver = DEAD (#385)
- distributor = new DividendDistributor(address(router)) (#375)
- isDividendExempt[pair] = true (#381)
- isDividendExempt[address(this)] = true (#382)
- isDividendExempt[DEAD] = true (#383)
- isFeeExempt[msg.sender] = true (#377)
- isTxLimitExempt[msg.sender] = true (#378)
- marketingFeeReceiver = _marketingAdr (#386)
Reentrancy in DividendDistributor.deposit() (#234-252):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#241-246)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#251)
- totalDividends = totalDividends.add(amount) (#250)
Reentrancy in DividendDistributor.distributeDividend(address) (#284-295):
External calls:
- Reflection.transfer(shareholder,amount) (#290)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#291)
Reentrancy in DividendDistributor.setShare(address,uint256) (#218-232):
External calls:
- distributeDividend(shareholder) (#220)
- Reflection.transfer(shareholder,amount) (#290)
State variables written after the call(s):
- addShareholder(shareholder) (#224)
- shareholderIndexes[shareholder] = shareholders.length (#316)
- removeShareholder(shareholder) (#226)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#322)
- addShareholder(shareholder) (#224)
- shareholders.push(shareholder) (#317)
- removeShareholder(shareholder) (#226)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#321)
- shareholders.pop() (#323)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#229)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in GeneiRyodanInu._transferFrom(address,address,uint256) (#431-464):
External calls:
- swapBack() (#443)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#512-518)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
- distributor.setShare(sender,_balances[sender]) (#453)
- distributor.setShare(recipient,_balances[recipient]) (#457)
- distributor.process(distributorGas) (#460)
External calls sending eth:
- swapBack() (#443)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#462)
Reentrancy in GeneiRyodanInu._transferFrom(address,address,uint256) (#431-464):
External calls:
- swapBack() (#443)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#512-518)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
External calls sending eth:
- swapBack() (#443)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#484)
- amountReceived = takeFee(sender,amount) (#448)
Reentrancy in GeneiRyodanInu.constructor() (#370-392):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#372)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#406)
- approve(address(pair),_totalSupply) (#389)
- Approval(msg.sender,spender,amount) (#406)
- approve(routerv2,_totalSupply) (#388)
- Transfer(address(0),msg.sender,_totalSupply) (#391)
Reentrancy in GeneiRyodanInu.swapBack() (#501-545):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#512-518)
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#528)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#534-541)
Event emitted after the call(s):
- liquidityBurned(amountBNBLiquidity,amountToLiquify) (#543)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#279-282) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#280-281)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#254-278) has costly operations inside a loop:
- currentIndex = 0 (#266)
DividendDistributor.distributeDividend(address) (#284-295) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#289)
DividendDistributor.process(uint256) (#254-278) has costly operations inside a loop:
- currentIndex ++ (#275)
Use a local variable to hold the loop computation result.

Additional information: link

GeneiRyodanInu._maxTxAmount (#339) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100
GeneiRyodanInu._maxWalletToken (#340) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 100
GeneiRyodanInu.swapThreshold (#366) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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

Pragma version^0.8.1 (#1) allows old versions
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 GeneiRyodanInu.swapBack() (#501-545):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#529)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

GeneiRyodanInu.slitherConstructorVariables() (#327-609) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#332)
GeneiRyodanInu.slitherConstructorVariables() (#327-609) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#333)
GeneiRyodanInu.slitherConstructorVariables() (#327-609) uses literals with too many digits:
- distributorGas = 500000 (#363)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

GeneiRyodanInu.Reflection (#329) is never used in GeneiRyodanInu (#327-609)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#174) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#188) should be constant
GeneiRyodanInu.DEAD (#332) should be constant
GeneiRyodanInu.Reflection (#329) should be constant
GeneiRyodanInu.WBNB (#330) should be constant
GeneiRyodanInu.ZERO (#333) should be constant
GeneiRyodanInu._marketingAdr (#334) should be constant
GeneiRyodanInu._totalSupply (#338) should be constant
GeneiRyodanInu.feeDenominator (#351) should be constant
GeneiRyodanInu.routerv2 (#331) should be constant
GeneiRyodanInu.targetLiquidity (#356) should be constant
GeneiRyodanInu.targetLiquidityDenominator (#357) 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) (#71-73)
ownershipRenounced(address) should be declared external:
- Auth.ownershipRenounced(address) (#94-98)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


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


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair

Contract has 3% buy tax and 3% sell tax.
Taxes are low and contract ownership is renounced.


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 GRI