Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0xKitsune opened this issue Nov 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@0xKitsune
Copy link
Owner

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.

@0xKitsune 0xKitsune added the bug Something isn't working label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant