Brakeman with Ruby on Rails

Gokul
5 min readApr 8, 2023

What?

Brakeman is a security scanner for Ruby on Rails applications. It looks at the source code of a Rails application for possible security flaws, such as SQL injection, cross-site scripting (XSS), cross-site request forgery (CSRF), and other problems.

Brakeman makes a report with information about the problems it has found and suggestions for how to fix them. It can also be used with Continuous Integration (CI) systems to check for vulnerabilities automatically whenever code is changed. Developers and security experts use Brakeman, an open-source tool, to help keep their Rails applications safe.

Why?

The following is a list of some of the most important aspects of Brakeman.

Automated scanning

Brakeman can be run automatically as part of a continuous integration process, making it easy to check for vulnerabilities on a regular basis as code changes are made.

Customizable rules

Brakeman comes with a set of rules that can identify a wide range of security problems. You can also make your own rules to look for specific problems or to match the security policies of your organization.

Detailed reports

--

--

Gokul

Consultant | Freelancer | Ruby on Rails | ReactJS