Debug Mode Enabled in Production
Description
Detects hardcoded debug flags that expose sensitive information or enable debugging features in production.
What Shoulder detects
How to fix
Use environment variables for debug/development mode configuration.
Applies to
Languages
Frameworks
express
fastify
nodejs
References
Scan for this issue
Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=javascript-debug-mode-production .