Skip to content

feat: Add reentrancy protection for external contract calls #401

Description

Description

Reentrancy attacks are a critical security vulnerability. All contracts need reentrancy protection when invoking external contracts.

Requirements

  • Implement reentrancy guard in common/src/reentrancy.rs
  • Add reentrancy checks to functions that invoke external contracts
  • Add tests for reentrancy scenarios

Acceptance Criteria

  • Reentrancy guard prevents recursive calls
  • All external contract invocations use reentrancy protection
  • Tests verify reentrancy is blocked

Priority

High

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions