Hunt and validate reentrancy bugs — classic cross-function, same-function, read-only, and cross-contract variants.
67
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
onERC*Received callback re-enterssolidity_scan_file flags every .call{value:...} and delegatecallReentrancyGuard's nonReentrant modifier applied?foundry_reentrancy_test(target="Vault", function="withdraw", target_path="src/Vault.sol")Then:
cp generated.t.sol /workspace/foundry/test/
cd /workspace/foundry && forge test -vvv --match-contract Test_withdrawThe attacker contract balance grows by more than its initial deposit after the attack transaction. The Foundry test should assert this.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H = 10.00cf691e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.