Beosin: JPEG'd attack reason is reentrancy attack

2023-07-30 23:00:22
Collection

ChainCatcher message, according to the analysis by the Beosin security team, the root cause of the attack on the JPEG'd project lies in a reentrancy issue.

It is reported that the attacker added liquidity through reentrancy into the addliquidity function while calling the removeliquidity function to remove liquidity. Since the balance update occurs before reentrancy into the add_liquidity function, this leads to an error in price calculation.

Related tags
ChainCatcher reminds readers to view blockchain rationally, enhance risk awareness, and be cautious of various virtual token issuances and speculations. All content on this site is solely market information or related party opinions, and does not constitute any form of investment advice. If you find sensitive information in the content, please click "Report", and we will handle it promptly.
banner
ChainCatcher Building the Web3 world with innovators