Detailed error reporting detected.
- Rule ID: ruby_rails_detailed_exceptions
- Languages: ruby
- Source: detailed_exceptions.yml
Returning detailed error messages to users could reveal sensitive information. This could lead to
❌ Don't configure your application to return details for every error:
config.consider_all_requests_local = false
❌ Don't use
show_detailed_exceptions? in controllers:
class MyController < ApplicationController
OWASP Top 10
To skip this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --skip-rule=ruby_rails_detailed_exceptions
To run only this rule during a scan, use the following flag
bearer scan /path/to/your-project/ --only-rule=ruby_rails_detailed_exceptions
Ready to take the next step? Learn more about Bearer Cloud.