🎉 Gate xStocks Trading is Now Live! Spot, Futures, and Alpha Zone – All Open!
📝 Share your trading experience or screenshots on Gate Square to unlock $1,000 rewards!
🎁 5 top Square creators * $100 Futures Voucher
🎉 Share your post on X – Top 10 posts by views * extra $50
How to Participate:
1️⃣ Follow Gate_Square
2️⃣ Make an original post (at least 20 words) with #Gate xStocks Trading Share#
3️⃣ If you share on Twitter, submit post link here: https://www.gate.com/questionnaire/6854
Note: You may submit the form multiple times. More posts, higher chances to win!
📅 July 3, 7:00 – July 9,
Jinse Finance reported that according to the Beosin EagleEye security risk monitoring, early warning and blocking platform monitoring of the blockchain security audit company Beosin, on May 24, 2023, the CS (CS) token project on the bsc chain was attacked. The reason is that the sellAmount in the transfer function of the token is not updated in time. The Beosin security team will briefly analyze and share as follows:
1. The attacker uses the flash loan to borrow BSC-USD and convert it into CS tokens.
2. The attacker starts to sell 3000 CS tokens, and this step will set sellAmount.
3. The attacker will trigger sync() by transferring money to himself. In this function, the sellAmount of the previous step is used and this function will destroy the CS tokens in the pair. After Sync, sellAmount will be set to 0. Repeat steps 2 and 3 to continuously reduce the number of CS tokens in the pair, and increase the price of CS tokens, so that more BSC-USD can be exchanged in the next step.
Borrow 80,000,000 BSC-USD, exchange for 80,954,000 BSC-USD, repay 80,240,000 BSC-USD, and make a profit of about 714,000 BSC-USD.