Beosin: Penpie was attacked and lost about $27 million in assets. Analysis of the attack
09-04 02:29
Odaily News According to Beosin Alert monitoring, Penpie, a DeFi protocol built on Pendle, was hacked and about $27 million in crypto assets were stolen. Beosin briefly analyzed the incident as follows: The attacker used the claimRewards function in the market contract to re-enter the stake to increase the balance of the staking contract, and then extracted the excess tokens and staked assets of the taking contract to make a profit. 1. The attacker first created an attack contract and built the corresponding market contract through the official factory; 2. The batchHarvestMarketRewards function of the staking contract was called to update the rewards for the market; 3. When updating the reward, the claimRewards function of the attack contract will be called back, and this function will re-enter the stake to pledge the assets obtained by the flash loan, resulting in a quantity difference in the assets of the staking contract, and extract the excess; 4. The attacker extracts the pledged assets and returns the flash loan for profit.
最热快讯
资讯热榜
日榜
周榜
ETH breaks through 3700 USDT, with a 24-hour increase of 5.95%
SOFR traders continue to bet on a 50 basis point Fed rate cut in September
Greeks.live: Some traders are optimistic about ETH and believe the price may break through $5,000
"Whales with 75% Win Rate in Four ETH Battles" Reduce Short Positions by 20,000 ETH with Stop-Loss
In the past hour, the total network liquidation expanded by more than 45 million US dollars, of which ETH liquidation was 21.2251 million US dollars
The “Insider Whale” closed its XRP and SOL short positions half an hour ago, with a cumulative loss of $1.644 million