Epic: Detectors (wave 3)
Summary
Add a static-analysis detector for reentrancy via env.invoke_contract before effects.
Background & Problem
Direct invoke_contract calls preceding state writes reopen the CEI reentrancy risk.
Acceptance Criteria
Technical Notes
Follow the rule pattern in tooling/sanctifier-core/src/rules/ with an insta golden snapshot.
Filed as part of the mainnet-readiness & world-class roadmap. Scope is intentionally small enough for one focused PR; comment to claim.
Summary
Add a static-analysis detector for reentrancy via env.invoke_contract before effects.
Background & Problem
Direct
invoke_contractcalls preceding state writes reopen the CEI reentrancy risk.Acceptance Criteria
Technical Notes
Follow the rule pattern in
tooling/sanctifier-core/src/rules/with aninstagolden snapshot.Filed as part of the mainnet-readiness & world-class roadmap. Scope is intentionally small enough for one focused PR; comment to claim.