Add support for namespaced safe_methods option#1916
Add support for namespaced safe_methods option#1916evpgh wants to merge 4 commits intopresidentbeef:mainfrom
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? |
|
I'm not sure this will work, because uses of |
Based on the issue or feature request #1738 I created a safe method handler to do the parsing of the command line argument
--safe-methodsand comparisons in checks.