High severityRubyInsecure ConfigurationHIGH confidence
Consider All Requests Local
consider_all_requests_local = true makes Rails render full exception pages with backtraces to every client (CWE-1188/CWE-209).
Standards mapping
Vulnerable vs. safe
Flagged by this check
config.consider_all_requests_local = truePasses - the safe pattern
config.consider_all_requests_local = falseWhy it matters & how to fix it
consider_all_requests_local = true makes Rails render full exception pages with backtraces to every client (CWE-1188/CWE-209). Keep this false in production so detailed errors are only shown locally and users see the generic error page.
References
Rule ID integsec-ruby-consider-all-requests-local - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - Insecure ConfigurationCORS Acao Wildcard Header
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard Origin
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard With Credentials
- JavaScript / TypeScript - Insecure ConfigurationCSRF Protection Disabled
- JavaScript / TypeScript - Insecure ConfigurationExpress Trust Proxy All
- JavaScript / TypeScript - Insecure ConfigurationExpress X Powered By Enabled