brakeman icon indicating copy to clipboard operation
brakeman copied to clipboard

A static analysis security vulnerability scanner for Ruby on Rails applications

Results 133 brakeman issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** `CheckReverseTabnabbing` checks only method call now. ([here](https://github.com/presidentbeef/brakeman/blob/09b66b580d423ed146f3ef67e3cfbbaa6537cb2e/lib/brakeman/checks/check_reverse_tabnabbing.rb#L30-L36)) Reverse tabnabbing is also common when the user's input is displayed as is....

### Background Brakeman version: 5.0.0 Rails version: 5.2.4.4 Ruby version: 2.7.1 Link to Rails application code: N/A (closed source) #### Hanging or Slowness Below code example was added as `./app/whatever/test.rb`...

### Background Brakeman version: 4.10.1 Rails version: 6 Ruby version: 3 ### Issue Hi, Brakeman appears to be nonterminating and consuming lots of cpu and space on a project. I...

Previously, it was only on method bodies. This probably won't be a huge change, since most code is inside methods. As a result of this change, now all classes will...

Hello! A coworker and I have recently been working on trying to resolve an issue reported into Brakeman a little over a year ago, related to the namespacing of classes...

On rails 5.2+ installations that are missing the defaults, or where upgraded to rails 5.2+ without applying all the defaults - the `default_protect_from_forgery?` method returns the wrong result. if the...

### Background Brakeman version: 4.9.0 Rails version: x.x.x Ruby version: x.x.x Link to Rails application code: ? In an `erb` template: ```ruby ``` There is also a case where a...

### Background Brakeman version: 4.6.1 Rails version: 5.2.3 Ruby version: 2.6.4 #### False Positive *Full* warning from Brakeman: ``` Confidence: Weak Category: SQL Injection Check: SQL Message: Possible SQL injection...

**Is your feature request related to a problem? Please describe.** The `sanitize_sql` method signature is designed to receive an array with `["sql template", *values]` that it uses for quoting and...

### Background Brakeman version: 4.5.0 Rails version: 4.2.11.3 Ruby version: 2.5.1p57 ### Issue Running Rails 4.2 with protected attributes gem. We have recently started to transition away from attr_accessible in...