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
最近来源活动
2026年8月23日 10:08
检测到的 SKILL.md 语言
英语
星标
4
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。