OSCAR COIN Token Logo

OSCAR [OSCAR COIN] Token

ALERT: honeypot scam

About OSCAR

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 12 August 2022

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

OSCAR.swapBack() (#376-409) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link


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

Reentrancy in OSCAR._transferFrom(address,address,uint256) (#311-335):
External calls:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#390-396)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
External calls sending eth:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#326)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#330)
- amountReceived = takeFee(sender,amount) (#329)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#360)
Apply the check-effects-interactions pattern.

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.


Contract ownership is not renounced (belongs to a wallet)

OSCAR.slitherConstructorVariables() (#206-523) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#211)
OSCAR.slitherConstructorVariables() (#206-523) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#212)
OSCAR.slitherConstructorVariables() (#206-523) uses literals with too many digits:
- _totalSupply = 1000000000000000 * (10 ** _decimals) (#220)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

OSCAR.DEAD (#211) should be constant
OSCAR.WBNB (#210) should be constant
OSCAR.ZERO (#212) should be constant
OSCAR._totalSupply (#220) 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) (#104-106)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#112-114)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#136-140)
transferForeignToken(address) should be declared external:
- OSCAR.transferForeignToken(address) (#501-505)
isOverLiquified(uint256,uint256) should be declared external:
- OSCAR.isOverLiquified(uint256,uint256) (#517-519)
Use the external attribute for functions never called from the contract.

Additional information: link

OSCAR.slitherConstructorVariables() (#206-523) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 10000 * 1 (#251)
Consider ordering multiplication before division.

Additional information: link

OSCAR.addLiquidity(uint256,uint256) (#412-424) ignores return value by router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
Ensure that all the return values of the function calls are used.

Additional information: link

OSCAR.setTxLimit(uint256) (#452-455) should emit an event for:
- _maxTxAmount = amount (#454)
OSCAR.setFees(uint256,uint256,uint256,uint256) (#474-480) should emit an event for:
- liquidityFee = _liquidityFee (#475)
- buybackFee = _buybackFee (#476)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#478)
- feeDenominator = _feeDenominator (#479)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#136) lacks a zero-check on :
- owner = adr (#137)
OSCAR.setFeeReceiver(address,address)._marketingFeeReceiver (#483) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#484)
OSCAR.setFeeReceiver(address,address)._buybackFeeReceiver (#483) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#485)
Check that the address is not zero.

Additional information: link

Reentrancy in OSCAR._transferFrom(address,address,uint256) (#311-335):
External calls:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#390-396)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
External calls sending eth:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
State variables written after the call(s):
- launch() (#323)
- launchedAt = block.number (#448)
Reentrancy in OSCAR.constructor() (#256-269):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#258)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#259)
- _balances[_owner] = _totalSupply (#267)
- isFeeExempt[_owner] = true (#263)
- isTxLimitExempt[_owner] = true (#264)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in OSCAR._transferFrom(address,address,uint256) (#311-335):
External calls:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#390-396)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
External calls sending eth:
- swapBack() (#320)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#361)
- amountReceived = takeFee(sender,amount) (#329)
- Transfer(sender,recipient,amountReceived) (#333)
Reentrancy in OSCAR.addLiquidity(uint256,uint256) (#412-424):
External calls:
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#422)
Reentrancy in OSCAR.constructor() (#256-269):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#258)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#268)
Reentrancy in OSCAR.swapBack() (#376-409):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#390-396)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#408)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#408)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#414-421)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#422)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#408)
Apply the check-effects-interactions pattern.

Additional information: link

OSCAR.buyTokens(uint256,address) (#427-439) is never used and should be removed
Remove unused functions.

Additional information: link

OSCAR._maxTxAmount (#221) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 100) / 100
OSCAR._maxWalletSize (#222) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
OSCAR.swapThreshold (#251) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10000 * 1
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.10 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 OSCAR.swapBack() (#376-409):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#404)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#406)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#154) is not in mixedCase
Parameter OSCAR.addLiquidity(uint256,uint256).BNBAmount (#412) is not in mixedCase
Parameter OSCAR.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#474) is not in mixedCase
Parameter OSCAR.setFees(uint256,uint256,uint256,uint256)._buybackFee (#474) is not in mixedCase
Parameter OSCAR.setFees(uint256,uint256,uint256,uint256)._marketingFee (#474) is not in mixedCase
Parameter OSCAR.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#474) is not in mixedCase
Parameter OSCAR.setFeeReceiver(address,address)._marketingFeeReceiver (#483) is not in mixedCase
Parameter OSCAR.setFeeReceiver(address,address)._buybackFeeReceiver (#483) is not in mixedCase
Parameter OSCAR.setSwapBackSettings(bool,uint256)._enabled (#489) is not in mixedCase
Parameter OSCAR.setSwapBackSettings(bool,uint256)._amount (#489) is not in mixedCase
Parameter OSCAR.transferForeignToken(address)._token (#501) is not in mixedCase
Variable OSCAR.WBNB (#210) is not in mixedCase
Variable OSCAR.DEAD (#211) is not in mixedCase
Variable OSCAR.ZERO (#212) is not in mixedCase
Constant OSCAR._name (#215) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OSCAR._symbol (#216) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OSCAR._decimals (#217) is not in UPPER_CASE_WITH_UNDERSCORES
Variable OSCAR._totalSupply (#220) is not in mixedCase
Variable OSCAR._maxTxAmount (#221) is not in mixedCase
Variable OSCAR._maxWalletSize (#222) is not in mixedCase
Variable OSCAR._balances (#225) is not in mixedCase
Variable OSCAR._allowances (#226) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Average 30d PancakeSwap liquidity is low.


Average 30d PancakeSwap volume is low.


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


Unable to find website, listings and other project-related information


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


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 OSCAR