On November 16, 2022, SheepFarm gaming token on BSC was exploited via a register function that failed to update user timestamps after registration, allowing an attacker to call it multiple times to increase gems yield and drain approximately 262 BNB (~$72K). The attacker then converted the accumulated yield to BNB and withdrew.
SheepFarm
אירוע שתועד ב-DefiLlama, SlowMist, DeFiHackLabs. הסיווג: חוזים חכמים ולוגיקת פרוטוקול.
הדיווחים על האירוע
| מקור | תאריך במקור | הערכת נזק | כספים שהוחזרו | שיטה כפי שדווחה |
|---|---|---|---|---|
| DefiLlama | 16 בנוב׳ 2022 | $72,000 | לא פורסם | Missing Input Validation |
| SlowMist | 16 בנוב׳ 2022 | לא פורסם | לא פורסם | Contract Vulnerability |
| DeFiHackLabs | 16 בנוב׳ 2022 | לא פורסם | לא פורסם | No input validation |
מה ידוע על המתקפה?
הסיווג ושיטת התקיפה משקפים את דיווחי המקורות. תיאורים מפורטים מוצגים בשפת המקור; לקריאת התחקיר המלא ניתן לפתוח את הקישור המצורף.
The SheepFarm project on the BNB chain was attacked by a vulnerability. After analysis, it was found that because the register function of the SheepFarm contract could be called multiple times, the attacker 0x2131c67ed7b6aa01b7aa308c71991ef5baedd049 used the register function multiple times to increase his own gems, and then used the upgradeVillage function to accumulate yield while consuming gems properties, and finally call the sellVillage method to convert yield to money before withdrawing money. The attack caused the project to lose about 262 BNB, about $72,000.
מקורות וניתוחים נוספים
תמונת המצב נאספה ב-5 בנוב׳ 2026. הסכומים נקובים בדולרים ומשקפים הערכות מקור. סכום לא ידוע אינו אפס; סכום שהוקפא אינו בהכרח כסף שהוחזר.
