Skip to content

Fix Reentrancy Vulnerability in executeTransaction #82

@seriousfuzzy

Description

@seriousfuzzy

hello @hackfisher @yrong @hujw77 @WoeOm @xiaoch05 ,
please check this PR.

Changes:

  • Updated executeTransaction to set executed = true before external calls.
  • Used CEI pattern to prevent reentrancy.
  • Added fallback to send for safe Ether transfers.
  • Improved error handling on external calls.

Testing:

  • Added unit tests for reentrancy scenarios.
  • Verified successful and unsuccessful transaction execution behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions