Changes since 5.1.2:
Initial Rails 7 Support
Nothing special here, but the -7
option is available and Brakeman won’t think a Rails 7 app is a Rails 2 app.
(changes)
New Checks for Unmaintained Software
Brakeman will now warn about use of Ruby or Rails versions which are no longer maintained.
Unlike other warnings, these new checks have a time component and will change as the end-of-life dates approach:
- 60 days until EOL: Low warning
- 30 days until EOL: Medium warning
- EOL+: High warning
(changes)
Bug Fix in Routes
Calls to something.root
will no longer cause Brakeman to freak out.
(changes)
SQL Injection Updates
I18n.locale
is ignored in SQL queries.
(changes)
sanitize_sql_like
is no longer treated as “safe”. It only escapes LIKE
-specific characters such as %
but does not prevent SQL injection.
(changes)
Reporting Issues
Thank you to everyone who reported bugs and contributed to this release!
Please report any issues with this release. Take a look at this guide to reporting Brakeman problems.
Hang out on GitHub for questions and discussion.