DEV Community

Ruhul Amin
Ruhul Amin

Posted on

EnvGuard v4.0 — Now You Can See Your Environment Drift (and Catch Secrets You Leaked Months Ago)

Every developer has been burned by a broken .env file—missing variables, empty values, or secrets accidentally committed to Git.

EnvGuard v4 introduces two major features that make environment management even safer.

🚀 New in v4

📊 Environment Dashboard

View all discovered environment files in a single matrix.
Instantly spot missing, empty, invalid, or secret variables.
Filter variables and jump directly to the exact file and line.
Secret values stay permanently masked for security.

🔍 Git History Secret Scan

Scan recent Git commits for secrets that were committed in the past.
Shows when and where a secret was introduced.
Provides credential rotation guidance and ready-to-use cleanup commands.
Never rewrites Git history automatically—you stay in control.

⚡ CI Support:

Use the new --history flag to scan Git history in CI and fail builds when historical secrets are detected.

Still Includes
Secret detection & leak prevention
Schema validation
.env.example auto-sync
Inline diagnostics & pre-push hook
Support for .env, .properties, and YAML files

All of this is packed into a lightweight ~111 KB extension.

Top comments (0)