talira

Brakeman

A static analysis security vulnerability scanner for Ruby on Rails applications

source availableBrakeman Public Use Licenseself-hostablefree

Brakeman checks a Rails application's source for security vulnerabilities without running it: SQL injection, cross-site scripting, command injection, unsafe redirects, mass assignment and other problems Rails apps are prone to. You run brakeman in the app's root, from the gem or the Docker image, and it reports warnings with their confidence. Its licence, the Brakeman Public Use License, lets you use it free to analyze your own software, but commercial uses such as offering it as a service or shipping it in a product need a paid licence.

Problems it solves

  • scan my Rails app for SQL injection and XSS before deploying
  • fail CI when someone adds an obvious security hole to the Rails code
  • a security scanner that understands Rails conventions
  • find unsafe redirects and command injection in a Ruby codebase
  • a SOC 2 auditor wants evidence that we scan code for vulnerabilities
  • check a Rails app for security problems without running it
  • review an inherited Rails app for security issues quickly

Features

  • Rails-aware static analysis
  • SQL injection, XSS, command injection and redirect checks
  • confidence levels
  • text, HTML, JSON, JUnit, Markdown, CSV, SARIF, GitHub and other output formats
  • gem and Docker image

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Brakeman does.

  1. Semgrep Code security: SAST, supply chain and secrets scanning with rules that look like code
  2. CodeQL GitHub's semantic code analysis engine for finding vulnerabilities
  3. Bearer CLI Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks
  4. Snyk Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
  5. gosec Go security checker

Compare Brakeman with the top 3