Skip to content

Scan rule · RSC-SEC-055

.env file committed

SecuritySeverity: HighCWE-538

Detects a `.env` with real values in the source tree (not `.env.example`).

Scan tier

Source code from source mapsRepo access (deep scan)

How to fix it

Add it to `.gitignore`, purge it from history, and rotate the keys.

Scan your own app for free