3/7 π What was the loophole(1/2)?
The loopholes lie in two functions of the smart contract 'INcufi': register(address referrer) and STAKE (uint amout ,uint day,uint countryid).
First, the major vulnerability is in STAKE(uint amount, uint day, uint countryid). π The user can set how many days they want to stake in the contract. However, the problem is that there is no strict checking on the minimum days of staking, meaning the user can set the day to 0, allowing them to stake and withdraw rapidly. β±οΈ
Note that when the user stakes, referrers earn a commission which can be converted to BSC-USD later on. πΈ As users can stake and withdraw without any restriction, commissions to referrers will be sent out every time users stake! π