Skip to content

Security review — 3 potential issues found #26769

@aldiboncel49-lgtm

Description

@aldiboncel49-lgtm

Security concerns in MystenLabs/sui

I was looking through the codebase and found a few patterns that might be security-sensitive. Targeting this to Bug Bounty if it hasn't been caught already.

Found 40 items total: 0 critical, 3 high, 5 medium, 32 low.


reentrancy — bridge/evm/contracts/SuiBridgeV2.sol line 152

Severity: HIGH

Language: Solidity

Potential reentrancy — external call before state update

(bool success,) = payable(address(vault)).call{value: amount}("");

reentrancy — bridge/evm/contracts/SuiBridge.sol line 210

Severity: HIGH

Language: Solidity

Potential reentrancy — external call before state update

(bool success,) = payable(address(vault)).call{value: amount}("");

reentrancy — bridge/evm/contracts/BridgeVault.sol line 62

Severity: HIGH

Language: Solidity

Potential reentrancy — external call before state update

(bool success,) = recipientAddress.call{value: amount}("");

Some of these might be false positives — just wanted to put them on your radar. Happy to provide more context if any of these look actionable.

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