An attacker exploited an accounting bug in X7Pioneer’s claimRewards(). The function adds address(this).balance - lastETHBalance to totalRewards on every call, but updates lastETHBalance only when claimable > 0. An empty array leaves claimable at 0, so the same unaccounted balance is added repeatedly and inflates per-token rewards. The attacker donated ETH to widen the delta, then drained about 6.78 ETH.
X7 Finance
אירוע שתועד ב-SlowMist, DeFiHackLabs. הסיווג: חוזים חכמים ולוגיקת פרוטוקול.
הדיווחים על האירוע
| מקור | תאריך במקור | הערכת נזק | כספים שהוחזרו | שיטה כפי שדווחה |
|---|---|---|---|---|
| SlowMist | 8 באוק׳ 2026 | $16,514 | לא פורסם | Smart Contract Vulnerability |
| DeFiHackLabs | 8 באוק׳ 2026 | לא פורסם | לא פורסם | X7Pioneer's claimRewards() adds the unaccounted ETH balance delta into totalRewards on every call but only refreshes lastETHBalance when claimable is non-zero, so calling it with a |
מה ידוע על המתקפה?
הסיווג ושיטת התקיפה משקפים את דיווחי המקורות. תיאורים מפורטים מוצגים בשפת המקור; לקריאת התחקיר המלא ניתן לפתוח את הקישור המצורף.
מקורות וניתוחים נוספים
תמונת המצב נאספה ב-5 בנוב׳ 2026. הסכומים נקובים בדולרים ומשקפים הערכות מקור. סכום לא ידוע אינו אפס; סכום שהוקפא אינו בהכרח כסף שהוחזר.
