vetkit.ruby.rails.production-detailed-errors
config.consider_all_requests_local is true in the production environment, so every visitor gets full exception pages with source, parameters and environment details.
Last updated:
Suite: Security
ruby
config.consider_all_requests_local is true in the production environment, so every visitor gets full exception pages with source, parameters and environment details.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Set config.consider_all_requests_local = false in config/environments/production.rb.
Rule pattern example
The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.
$CFG.consider_all_requests_local = trueReferences
Source: packages/engine/rules/sast/ruby.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.