Skip to main content

hunting-smart-contract-reentrancy

Hunt a smart contract for state that is mutated after an external call, so an attacker re-enters before the update lands and acts on stale state. Covers a withdrawal or transfer that sends value before zeroing the balance, a call to an attacker-controlled contract or token that re-enters the same function, cross-function reentrancy where the callback re-enters a different function sharing the same state, a callback hook (a token receive hook, a fallback) that hands control to the attacker mid-update, and read-only reentrancy where a view another contract trusts returns mid-transaction state. Use when the fix would reorder effects before interactions or add a reentrancy guard, not add an authorization check (that is the access-control skill). The external call before the state update is the source, the re-entered function acting on stale state is the sink, and interaction-before-effects is the bug.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
UnboundCompute/security-agent-skills
آخر نشاط في المصدر
٢٣ أغسطس ٢٠٢٦ في ١٠:٠٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤
التفرعات
٢

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.