nuroctane/nur-cli/reviewing-reentrancy-and-callbacks
Claude Code and agent skill by nuroctane/nur-cli
- community
Checking that the SKILL.md file is still in the repository.
Review reentrancy and token/AMM callbacks: classic, cross-function, read-only, ERC-777/721/1155 hooks, Uniswap callbacks, failed-call DoS. Use on any value-moving Solidity that makes external calls.
Install
npx vskill@latest install nuroctane/nur-cli/reviewing-reentrancy-and-callbacksSKILL.md
The same SKILL.md was published earlier as nuroctane/nur-cli/reviewing-reentrancy-and-callbacks.
Reviewing reentrancy and callbacks
SWC-107 plus the economic variants static tools miss. In-scope. Attacker contracts live in test/ only.
Variants
- Classic - external call then state update. CEI or
nonReentrant. - Cross-function -
withdrawre-enterstransferthat still sees old balances. - Read-only - a view (
totalAssets,getRate,balanceOf) used by another protocol mid-call. The view is "safe" and still exploitable. - ERC-777 / 721 / 1155 hooks -
tokensReceived,onERC721Received. - AMM callbacks -
uniswapV2Call, v3 swap/mint callbacks (reviewing-amm-and-cl-pools). - Failed-call DoS - push ETH to a contract that
reverts inreceive(SWC-113). Pull payments.
Confirm
- Slither
reentrancy-eth/reentrancy-no-eth/reentrancy-benign. - Write a test attacker with
receive()/onERC721Receivedthat re-enters. Assert the invariant still holds (or that the call reverts).
Fix language (for reports)
Checks-Effects-Interactions, OZ ReentrancyGuard, pull-over-push, view isolation (snapshot before external call).
Do not ship a mainnet-ready attacker. The test file is the proof.
Paid bounty analogs
Paid Immunefi rows in this class are thinner than hacks. Still review:
| Analog | Pack | Notes | |
|---|---|---|---|
| OpenZeppelin Timelock reentrancy (also-paid) | T21 / T07 | gov + callback | |
| Curve Vyper 2023 hack | T35 | compiler lock; case-cards.md 7.19 | |
| Conic / Sturdy / Penpie / Cream / Fei-Rari hacks | T07 / T08 | case-cards.md |
Read-only reentrancy on totalAssets / Curve LP is a contest staple (contest-winning-classes.md).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/security/SCA/reviewing-reentrancy-and-callbacks/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nuroctane/nur-cli/reviewing-reentrancy-and-callbacks)