Binance Smart Chain
Logic error, missing sync after transferring allowing for doubling of rewards
Days in Operation:
100 pts each
The BRA token on BSC was attacked, and total of 819 WBNB was taken across two attacks. The root cause is due to a logic flaw of the BRA contract, which doubles reward the tax fee to the pancake pair without invoking the sync() function after transferring. The attacker repeatedly invoked the skim() function to increase the balance of the pair. In addition, any user could call the skim function to withdraw the surplus tokens in the token pair. This resulted in that the number of circulating tokens eventually exceeded the token's max supply.
Initial fund came from FixedFloat.
DISCLAIMER: While web3rekt has used the best efforts in aggregating and maintaining this database, this web site makes no representations or warranties with respect to the accuracy or completeness of its information and data herein, and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose.
Under no circumstances, shall web3rekt be liable for any loss of profit or funds, any regulatory or governmental penalties, any legal costs, or any other commercial and non-commercial damages, including but not limited to special, incidental, consequential, or other damages from any or all usage of the data and information derived from this database.