-
Notifications
You must be signed in to change notification settings - Fork 738
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
Add support for namespaced safe_methods option #1916
base: main
Are you sure you want to change the base?
Add support for namespaced safe_methods option #1916
Conversation
DryRun Security SummaryThe code changes aim to improve Brakeman's security scanner for Ruby on Rails by introducing a Expand for full summarySummary: The provided code changes are related to the Brakeman security scanner for Ruby on Rails applications. The changes aim to improve the security analysis capabilities of Brakeman by enhancing the handling and normalization of method identifiers, which is an important aspect of detecting vulnerabilities such as cross-site scripting (XSS). The key changes include:
These changes demonstrate a focused effort to enhance the security analysis capabilities of the Brakeman tool, making it more effective at identifying and mitigating security vulnerabilities in Ruby on Rails applications. The improvements to the method handling and normalization functionality are particularly important, as they can help prevent false positives and improve the overall accuracy of the security scans. Files Changed:
Code AnalysisWe ran |
Hey @presidentbeef I know this is a low priority but could you take a look? |
Based on the issue or feature request #1738 I created a safe method handler to do the parsing of the command line argument
--safe-methods
and comparisons in checks.