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

New audit: obfuscation #458

Open
woodruffw opened this issue Jan 18, 2025 · 0 comments
Open

New audit: obfuscation #458

woodruffw opened this issue Jan 18, 2025 · 0 comments
Labels
new-audit New audits

Comments

@woodruffw
Copy link
Owner

Obfuscation isn't a security issue per se, but often suggests that the author is trying to hide their intent. Obfuscated workflows are also harder for us to analyze, so producing findings for some common cases will help us nudge users towards things we can analyze.

Some patterns we want to detect:

  • Unnecessary use of format(...): format(fstring, ...args) is unnecessary when all args are literals
  • Unnecessary wrappings of fromJSON(toJSON(...)) or vice versa
  • Double negation
  • contains(haystack, needle) where both are literals
    • Same for startsWith and endsWith
@woodruffw woodruffw added the new-audit New audits label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-audit New audits
Projects
None yet
Development

No branches or pull requests

1 participant