TechFlow reports that on December 5, an Ethereum fund operated under the DeFi asset management protocol PEAKDEFI was attacked, resulting in losses of approximately $33,800. The attacker exploited a referral commission settlement vulnerability, causing the fund contract to pay out 33,819.89 USDC, which accounts for approximately 99.97% of the total referral commissions in Cycle 19.
On-chain analysis reveals that the vulnerability is tied to the referral weight snapshot mechanism. At the end of Cycle 19, the contract recorded the current block height as a settlement snapshot via nextPhase(), but the PRT balance records used to calculate the referrer's commission share could still be updated within the same block. After Cycle 20 began, the attacker obtained funds through a flash loan, minted PRT, allocated it to a designated referrer, and ensured the new referral weight was factored into the Cycle 19 commission settlement. Following the allocation, the temporarily minted PRT was burned, and the flash loan principal was fully repaid in the same transaction.





