envaudit is a fast, zero-dependency Rust CLI that detects missing keys, validates environment files against your template, and scans for secrets before they leave your machine.
Free forever. No accounts. No telemetry. Just a tool that does its job.
envaudit covers the full spectrum of environment file hygiene: drift, validation, and secret detection.
Compare .env files across staging, production, and local environments. Surface missing or mismatched keys before they cause incidents.
Validate any .env file against its .env.example. Get a clear report of missing required keys and undocumented variables.
Detect accidentally committed secrets using pattern matching. Catches API keys, tokens, and credentials before they reach version control.
No configuration files. No accounts. No runtime dependencies. Just install and run.
One command with Cargo. Runs on Linux, macOS, and Windows. No runtime dependencies.
cargo install envauditPoint envaudit at your project root. It finds your .env files automatically.
envaudit scanGet a clear, actionable report. Pipe to JSON for CI integration or use exit codes to fail the build.
envaudit check --format jsonSample output from a real project. envaudit reports clearly and exits with the right code for CI pipelines.
envaudit scanenvaudit checkenvaudit secrets