Next generation wallet with all in one at fingertips
A decentralized multi-chain wallet for swap, stake, borrow, lend, invest and earn with crypto at ease.
OsoWallet.addLiquidity(uint256,uint256) (contracts/OsoWallet.sol#123-132) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in OsoWallet._transfer(address,address,uint256) (contracts/OsoWallet.sol#153-175):
External calls:
- swapAndLiquify() (contracts/OsoWallet.sol#167)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/OsoWallet.sol#74-80)
External calls sending eth:
- swapAndLiquify() (contracts/OsoWallet.sol#167)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
State variables written after the call(s):
- _balances[from] -= amount (contracts/OsoWallet.sol#171)
- _balances[to] += ramount (contracts/OsoWallet.sol#172)
- _balances[address(this)] = _balances[address(this)] + (amount - ramount) (contracts/OsoWallet.sol#173)
- ramount = deduction(from,to,amount) (contracts/OsoWallet.sol#170)
- burnFee = (amount * 3 / 100) + burnFee (contracts/OsoWallet.sol#147)
- ramount = deduction(from,to,amount) (contracts/OsoWallet.sol#170)
- liquidityFee = (amount * 2 / 100) + liquidityFee (contracts/OsoWallet.sol#148)
- ramount = deduction(from,to,amount) (contracts/OsoWallet.sol#170)
- marketFee = (amount * 3 / 100) + marketFee (contracts/OsoWallet.sol#146)
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)
OsoWallet.constructor(address,address,address)._marketFeeAddress (contracts/OsoWallet.sol#44) lacks a zero-check on :
- marketFeeAddress = _marketFeeAddress (contracts/OsoWallet.sol#55)
OsoWallet.constructor(address,address,address)._burnFeeAddress (contracts/OsoWallet.sol#44) lacks a zero-check on :
- burnFeeAddress = _burnFeeAddress (contracts/OsoWallet.sol#56)
OsoWallet.setPinksaleAddress(address)._a (contracts/OsoWallet.sol#97) lacks a zero-check on :
- pinksale = _a (contracts/OsoWallet.sol#98)
Check that the address is not zero.
Additional information: link
OsoWallet.addLiquidity(uint256,uint256) (contracts/OsoWallet.sol#123-132) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
Ensure that all the return values of the function calls are used.
Additional information: link
OsoWallet.transfer(address,uint256).owner (contracts/OsoWallet.sol#229) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet.allowance(address,address).owner (contracts/OsoWallet.sol#237) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet.approve(address,uint256).owner (contracts/OsoWallet.sol#252) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet.increaseAllowance(address,uint256).owner (contracts/OsoWallet.sol#297) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet.decreaseAllowance(address,uint256).owner (contracts/OsoWallet.sol#317) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet._approve(address,address,uint256).owner (contracts/OsoWallet.sol#342) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
OsoWallet._spendAllowance(address,address,uint256).owner (contracts/OsoWallet.sol#362) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in OsoWallet.constructor(address,address,address) (contracts/OsoWallet.sol#44-61):
External calls:
- pancakePair = IUniswapFactory(pancakeRouter.factory()).createPair(address(this),pancakeRouter.WETH()) (contracts/OsoWallet.sol#50-51)
State variables written after the call(s):
- _approve(address(this),address(pancakeRouter),type()(uint256).max) (contracts/OsoWallet.sol#53)
- _allowances[owner][spender] = amount (contracts/OsoWallet.sol#349)
- burnFeeAddress = _burnFeeAddress (contracts/OsoWallet.sol#56)
- excludedFromFee[_msgSender()] = true (contracts/OsoWallet.sol#57)
- excludedFromFee[address(this)] = true (contracts/OsoWallet.sol#58)
- excludedFromFee[marketFeeAddress] = true (contracts/OsoWallet.sol#59)
- excludedFromFee[burnFeeAddress] = true (contracts/OsoWallet.sol#60)
- marketFeeAddress = _marketFeeAddress (contracts/OsoWallet.sol#55)
Reentrancy in OsoWallet.swapAndLiquify() (contracts/OsoWallet.sol#105-121):
External calls:
- swapTokensForEth(half,address(this)) (contracts/OsoWallet.sol#111)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/OsoWallet.sol#74-80)
- addLiquidity(otherHalf,newBalance) (contracts/OsoWallet.sol#113)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/OsoWallet.sol#113)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
State variables written after the call(s):
- marketFee = 0 (contracts/OsoWallet.sol#116)
Reentrancy in OsoWallet.swapAndLiquify() (contracts/OsoWallet.sol#105-121):
External calls:
- swapTokensForEth(half,address(this)) (contracts/OsoWallet.sol#111)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/OsoWallet.sol#74-80)
- addLiquidity(otherHalf,newBalance) (contracts/OsoWallet.sol#113)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
- swapTokensForEth(_fee,marketFeeAddress) (contracts/OsoWallet.sol#117)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/OsoWallet.sol#74-80)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/OsoWallet.sol#113)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
State variables written after the call(s):
- burnFee = 0 (contracts/OsoWallet.sol#119)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OsoWallet._transfer(address,address,uint256) (contracts/OsoWallet.sol#153-175):
External calls:
- swapAndLiquify() (contracts/OsoWallet.sol#167)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (contracts/OsoWallet.sol#74-80)
External calls sending eth:
- swapAndLiquify() (contracts/OsoWallet.sol#167)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/OsoWallet.sol#124-131)
Event emitted after the call(s):
- Transfer(from,to,ramount) (contracts/OsoWallet.sol#174)
Reentrancy in OsoWallet.constructor(address,address,address) (contracts/OsoWallet.sol#44-61):
External calls:
- pancakePair = IUniswapFactory(pancakeRouter.factory()).createPair(address(this),pancakeRouter.WETH()) (contracts/OsoWallet.sol#50-51)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/OsoWallet.sol#350)
- _approve(address(this),address(pancakeRouter),type()(uint256).max) (contracts/OsoWallet.sol#53)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.4']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4)
- ^0.8.4 (contracts/OsoWallet.sol#2)
- ^0.8.4 (contracts/interface/IUniswapFactory.sol#3)
- ^0.8.4 (contracts/interface/IUniswapRouter.sol#3)
Use one Solidity version.
Additional information: link
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) 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
Parameter OsoWallet.setEnableSwapAndLiquify(bool)._enable (contracts/OsoWallet.sol#85) is not in mixedCase
Parameter OsoWallet.setPresaleSwitch(bool)._b (contracts/OsoWallet.sol#89) is not in mixedCase
Parameter OsoWallet.setZeroFee(bool)._b (contracts/OsoWallet.sol#93) is not in mixedCase
Parameter OsoWallet.setPinksaleAddress(address)._a (contracts/OsoWallet.sol#97) is not in mixedCase
Parameter OsoWallet.addWhiteList(address)._a (contracts/OsoWallet.sol#101) is not in mixedCase
Function IUniswapRouter.WETH() (contracts/interface/IUniswapRouter.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interface/IUniswapRouter.sol#11) is too similar to IUniswapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interface/IUniswapRouter.sol#12)
Prevent variables from having similar names.
Additional information: link
OsoWallet.constructor(address,address,address) (contracts/OsoWallet.sol#44-61) uses literals with too many digits:
- _balances[_msgSender()] = 100000000 * PRECISION (contracts/OsoWallet.sol#45)
OsoWallet.constructor(address,address,address) (contracts/OsoWallet.sol#44-61) uses literals with too many digits:
- _totalSupply = 100000000 * PRECISION (contracts/OsoWallet.sol#46)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
OsoWallet.feeThreshold (contracts/OsoWallet.sol#33) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
setEnableSwapAndLiquify(bool) should be declared external:
- OsoWallet.setEnableSwapAndLiquify(bool) (contracts/OsoWallet.sol#85-87)
setPresaleSwitch(bool) should be declared external:
- OsoWallet.setPresaleSwitch(bool) (contracts/OsoWallet.sol#89-91)
setZeroFee(bool) should be declared external:
- OsoWallet.setZeroFee(bool) (contracts/OsoWallet.sol#93-95)
setPinksaleAddress(address) should be declared external:
- OsoWallet.setPinksaleAddress(address) (contracts/OsoWallet.sol#97-99)
addWhiteList(address) should be declared external:
- OsoWallet.addWhiteList(address) (contracts/OsoWallet.sol#101-103)
name() should be declared external:
- OsoWallet.name() (contracts/OsoWallet.sol#177-179)
symbol() should be declared external:
- OsoWallet.symbol() (contracts/OsoWallet.sol#185-187)
decimals() should be declared external:
- OsoWallet.decimals() (contracts/OsoWallet.sol#202-204)
totalSupply() should be declared external:
- OsoWallet.totalSupply() (contracts/OsoWallet.sol#209-211)
balanceOf(address) should be declared external:
- OsoWallet.balanceOf(address) (contracts/OsoWallet.sol#216-218)
transfer(address,uint256) should be declared external:
- OsoWallet.transfer(address,uint256) (contracts/OsoWallet.sol#228-232)
approve(address,uint256) should be declared external:
- OsoWallet.approve(address,uint256) (contracts/OsoWallet.sol#251-255)
transferFrom(address,address,uint256) should be declared external:
- OsoWallet.transferFrom(address,address,uint256) (contracts/OsoWallet.sol#273-282)
increaseAllowance(address,uint256) should be declared external:
- OsoWallet.increaseAllowance(address,uint256) (contracts/OsoWallet.sol#296-300)
decreaseAllowance(address,uint256) should be declared external:
- OsoWallet.decreaseAllowance(address,uint256) (contracts/OsoWallet.sol#316-325)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts