envcheck

> ⚡️ Fast .env linter with DevSecOps superpowers. Written in Rust 🦀_

Crates.io CI npm
v

Lint & Fix

Instantly detect and auto-fix keys, syntax, and formatting issues.

Compare & Sync

Ensure environment parity across teams and production stages.

DevSecOps

Shift left with Kubernetes secrets validation and CI/CD guards.

What is envcheck?

envcheck is a fast, modern Rust CLI for linting .env files and ensuring environment synchronization across your entire DevSecOps stack.

Why envcheck?

Featureenvcheck 🦀dotenv-linter
Linting
Compare
K8s Sync
Terraform
Ansible
Helm
ArgoCD
GitHub Actions Check
TUI Mode
SARIF Output
Config Files
Shell Completions
Auto-Fix + Commit/PR✅ (fix only)

DevSecOps Integrations

IntegrationCommandWhat it checks
Kubernetesenvcheck k8s-syncSecretKeyRef/ConfigMapKeyRef vs .env
Terraformenvcheck terraformTF_VAR_* variable usage
Ansibleenvcheck ansiblelookup('env', 'VAR') calls
GitHub Actionsenvcheck actionsenv: blocks in workflows
Helmenvcheck helmSCREAMING_SNAKE_CASE in values.yaml
ArgoCDenvcheck argoplugin.env and kustomize.commonEnv

License

MIT License - See GitHub for details.