WWF Swap Token Logo

WWF [WWF Swap] Token

ALERT: unclassified scam

About WWF

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

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


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

WWFToken.addLiquidity(uint256,uint256) (#1334-1347) sends eth to arbitrary user
Dangerous calls:
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in WWFToken._transfer(address,address,uint256) (#1248-1279):
External calls:
- swapAndLiquify() (#1258)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
- wwfRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1324-1330)
External calls sending eth:
- swapAndLiquify() (#1258)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1262)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#848)
- _balances[recipient] = _balances[recipient].add(amount) (#849)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1274)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#848)
- _balances[recipient] = _balances[recipient].add(amount) (#849)
- super._transfer(sender,address(this),liquidityAmount) (#1275)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#848)
- _balances[recipient] = _balances[recipient].add(amount) (#849)
- super._transfer(sender,recipient,sendAmount) (#1276)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#848)
- _balances[recipient] = _balances[recipient].add(amount) (#849)
Apply the check-effects-interactions pattern.

Additional information: link

WWFToken._writeCheckpoint(address,uint32,uint256,uint256) (#1649-1667) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1659)
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.

WWFToken._transfer(address,address,uint256) (#1248-1279) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (#1265)
-burnAmount = taxAmount.mul(burnRate).div(100) (#1266)
Consider ordering multiplication before division.

Additional information: link

WWFToken.addLiquidity(uint256,uint256) (#1334-1347) ignores return value by wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
Ensure that all the return values of the function calls are used.

Additional information: link

WWFToken.swapAndLiquify().maxTransferAmount (#1284) shadows:
- WWFToken.maxTransferAmount() (#1352-1354) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in WWFToken.swapAndLiquify() (#1282-1312):
External calls:
- swapTokensForEth(half) (#1302)
- wwfRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1324-1330)
- addLiquidity(otherHalf,newBalance) (#1308)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1308)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1308)
- _allowances[owner][spender] = amount (#910)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in WWFToken.swapAndLiquify() (#1282-1312):
External calls:
- swapTokensForEth(half) (#1302)
- wwfRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1324-1330)
- addLiquidity(otherHalf,newBalance) (#1308)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1308)
- wwfRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1339-1346)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- addLiquidity(otherHalf,newBalance) (#1308)
- SwapAndLiquify(half,newBalance,otherHalf) (#1310)
Apply the check-effects-interactions pattern.

Additional information: link

WWFToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1515-1556) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,WWF::delegateBySig: signature expired) (#1554)
Avoid relying on block.timestamp.

Additional information: link

WWFToken.getChainId() (#1674-1678) uses assembly
- INLINE ASM (#1676)
Do not use evm assembly.

Additional information: link

WWFToken.antiWhale(address,address,uint256) (#1203-1213) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (#1206-1207)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (#5)
- >=0.6.0<0.8.0 (#32)
- >=0.4.0 (#103)
- >=0.6.0<0.8.0 (#204)
- >=0.6.2<0.8.0 (#421)
- >=0.4.0 (#613)
- >=0.6.2 (#932)
- >=0.6.2 (#1030)
- >=0.5.0 (#1076)
- >=0.5.0 (#1131)
- 0.6.12 (#1153)
Use one Solidity version.

Additional information: link

WWFToken.swapTokensForEth(uint256) (#1315-1331) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.5.0 (#1131) 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 Address.functionDelegateCall(address,bytes,string) (#581-587):
- (success,returndata) = target.delegatecall(data) (#585)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable WWFToken._delegates (#1457) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#941) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#942)
Prevent variables from having similar names.

Additional information: link

WWFToken.slitherConstructorConstantVariables() (#1160-1680) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1168)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

transferOperator(address) should be declared external:
- WWFToken.transferOperator(address) (#1444-1448)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Number of Binance Smart Chain (BSC) token holders is low.


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for WWF