PowerInu Token Logo

PowerInu Token

About PowerInu

Listings

Not Found
Token 7 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

PowerInu.addLiquidity(uint256,uint256) (#711-724) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in PowerInu._transfer(address,address,uint256) (#586-648):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#634)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#634)
- recipient.transfer(amount) (#992)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#646)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#853)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#769)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#778)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#770)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#799)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#789)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#790)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#780)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#801)
- _tokenTransfer(from,to,amount,takeFee) (#646)
- _rTotal = _rTotal.sub(rFee) (#808)
- _tokenTransfer(from,to,amount,takeFee) (#646)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#855)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#788)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#798)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#779)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#800)
- _tokenTransfer(from,to,amount,takeFee) (#646)
- _tradingEnabled = true (#963)
Apply the check-effects-interactions pattern.

Additional information: link

PowerInu._transfer(address,address,uint256) (#586-648) uses a dangerous strict equality:
- allowedTxAmount[from] == 0 && sellIntervalStart[from] == 0 (#605)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

PowerInu.addLiquidity(uint256,uint256) (#711-724) ignores return value by pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
Ensure that all the return values of the function calls are used.

Additional information: link

PowerInu._approve(address,address,uint256).owner (#578) shadows:
- Ownable.owner() (#315-317) (function)
Rename the local variables that shadow another component.

Additional information: link

PowerInu.setMinimumTokensBeforeSwap(uint256) (#981-983) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#982)
Emit an event for critical parameter changes.

Additional information: link

PowerInu.addressChange(address,address,address,address,address)._affiliateAddress (#947) lacks a zero-check on :
- affilateAddress = _affiliateAddress (#954)
Check that the address is not zero.

Additional information: link

Reentrancy in PowerInu.transferFrom(address,address,uint256) (#502-506):
External calls:
- _transfer(sender,recipient,amount) (#503)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
External calls sending eth:
- _transfer(sender,recipient,amount) (#503)
- recipient.transfer(amount) (#992)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#504)
- _allowances[owner][spender] = amount (#582)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PowerInu.transferFrom(address,address,uint256) (#502-506):
External calls:
- _transfer(sender,recipient,amount) (#503)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
External calls sending eth:
- _transfer(sender,recipient,amount) (#503)
- recipient.transfer(amount) (#992)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#583)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#504)
Apply the check-effects-interactions pattern.

Additional information: link

PowerInu._transfer(address,address,uint256) (#586-648) uses timestamp for comparisons
Dangerous comparisons:
- sellIntervalStart[from] != 0 (#599)
- sellIntervalStart[from].add(120) < block.timestamp (#600)
- allowedTxAmount[from] == 0 && sellIntervalStart[from] == 0 (#605)
- overMinimumSwapTokenBalance && _startTimeForSwap + _intervalSecondsForSwap <= block.timestamp (#631)
Avoid relying on block.timestamp.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#295-298) is never used and should be removed
Remove unused functions.

Additional information: link

PowerInu._previousLiquidityFee (#394) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.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 PowerInu._tradingEnabled (#416) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#28)" inContext (#22-31)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in PowerInu.transferFrom(address,address,uint256) (#502-506):
External calls:
- _transfer(sender,recipient,amount) (#503)
- recipient.transfer(amount) (#992)
External calls sending eth:
- _transfer(sender,recipient,amount) (#503)
- recipient.transfer(amount) (#992)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#716-723)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#504)
- _allowances[owner][spender] = amount (#582)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#583)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#504)
Apply the check-effects-interactions pattern.

Additional information: link

Variable PowerInu._getValues(uint256).rTransferAmount (#814) is too similar to PowerInu._transferStandard(address,address,uint256).tTransferAmount (#768)
Prevent variables from having similar names.

Additional information: link

PowerInu.slitherConstructorVariables() (#360-1061) uses literals with too many digits:
- _tTotal = 1000000 * 10 ** 6 * 10 ** 9 (#379)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

PowerInu.isDividendExempt (#368) is never used in PowerInu (#360-1061)
Remove unused state variables.

Additional information: link

PowerInu.sniperProtection (#414) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferForeignToken(address,address) should be declared external:
- PowerInu.transferForeignToken(address,address) (#1051-1054)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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

Price for PowerInu