Brakeman

Brakeman is a static analysis tool which checks Ruby on Rails applications for security vulnerabilities.
security 17 0

Fork

Dave Kimura
Dave Kimura

May 23, 2020

Copy and paste this code into your terminal

Once installed, you can run to check your application for known security issues.

bin/brakeman

DISCLAIMER: You should always review templates before running them. By running the template, you are agreeing to the terms of use.

The contents of this script as show. Any updates will be reflected in the below code and the snippet.

def puts_green(heredoc); puts set_color heredoc, :green; end

gem_group :development do
  gem "brakeman"
end
run 'bundle install'
run "bundle binstubs brakeman"

puts_green "You can now run bin/brakeman to check your application for security vulnerabilities"

A place where you can thank the author, post problems, give constructive feedback, etc. Be nice!