brakeman
Warn
Audited by Socket on Nov 1, 2026
1 alert found:
SecuritySecurityscripts/brakeman_helper.rb
MEDIUMSecurityMEDIUM
scripts/brakeman_helper.rb
The code is a Brakeman CLI wrapper, not apparent malware. Its main security weakness is command injection caused by interpolating untrusted path options into a single string passed to system. Use system(*argv) or Open3.capture3 with an argument array, validate paths, and avoid arbitrary output locations. The shown fragment is also syntactically malformed due to truncated string literals, assuming the text is exact.
Confidence: 98%Severity: 72%
Audit Metadata