Skip to content

[engine] Rule: Detect unbounded loop iterations mapping to target inputs (Gas Exhaustion/DoS) #403

Description

@Gbangbolaoluwagbemiga

Context

Unbound user-controlled loops can cause out-of-gas reverts.

What to build

Implement S012 (Gas Exhaustion Risk). Detect loops depending on parameters without limits.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions