Skip to content

Patch Unsafe ERC20 operations to ignore transfer the method access is on an address type. #63

Description

@0xKitsune

Right now, the unsafe ERC20 operations vulnerability pattern is matching on MemberAccess nodes in the AST where the function identifier is transfer, transferFrom and approve. This needs to be updated to ignore instances where the MemberAccess is on an address type.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions