-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Brakeman raises warning in avo-dashboards gem #3563
Comments
hey @Paul-Bob and @ObiWanKeoni . I've worked on the above brakeman warnings and solved them in my code base locally. Wanted to submit a PR to fix. However, when i run "brakeman" in the terminal, i noticed other warnings flagged by brakeman in addition to the ones you highlighted. Should i solve these too before submitting the PR or its okay to submit a PR for a fix restricted to only the warnings you highlighted above? Below is a snippet of my terminal output to show the additional warnings: Confidence: High Confidence: Medium Confidence: Medium Confidence: Medium Confidence: Medium
|
Hi @zhephyn ! Thank you for taking a swing at these. I, personally, would love to see these remedied if possible! It looks like they're all strong parameters related or simple fixes. Thanks again! |
Thanks for looking into this @zhephyn! You can open a PR with the fixes that you already have and put it on draft until it's complete |
Context
After adding brakeman for static security vulnerability analysis, I noticed the latest avo-dashboards version (3.15.7) raises a weak warning in 3 places:
I think this can be remedied by using strong parameters:
System configuration
Avo version: 3.15.7
Rails version: 8.0.1
Ruby version: 3.3.4
License type
Are you using Avo monkey patches, overriding views or view components?
Screenshots or screen recordings
N/A
The text was updated successfully, but these errors were encountered: