Varlock is an open-source toolkit for environment variables and secrets built around a committed `.env.schema` file.
Decorator comments declare types, required values and sensitivity, so coding agents get full configuration context without ever seeing secret values. Varlock joined Cloudflare on December 2, 2026; it remains MIT-licensed and vendor-neutral, and the announcement lists no shutdown, sign-up freeze, refund or data deletion dates.
- 01
`.env.schema` with `@required`, `@sensitive` and `@type` decorators as a single source of truth
- 02
AI-safe config: agents read the schema, never secret values
- 03
`varlock scan` leak scanning plus git hooks, log redaction and leak prevention
- 04
Plugins that load secrets from 1Password, Bitwarden, Infisical, Doppler, HashiCorp Vault, AWS, Azure and GCP
- 05
Integrations for Next.js, Vite, Astro, Cloudflare Workers, Python, Go, Rust and more
Open Source
Free and open source under MIT. Install with `npx varlock init`, `brew install dmno-dev/tap/varlock`, the install script or the official Docker image. Secret backends such as 1Password, Doppler or Infisical are billed separately by their vendors. No hosted Varlock plan exists; that work is moving into Cloudflare Secrets Store.
适合
Teams that want typed, validated environment variables and a safe way to let coding agents work with configuration while secrets stay in a vault.
不太适合
Teams that want a hosted secrets manager with its own dashboard, access controls and audit logs; Varlock is a local toolkit that pairs with one.
Still a sound choice: it is open source, local and continues under Cloudflare. Pin versions and watch the roadmap if you depend on vendor neutrality.
Cloudflare announced on December 2, 2026 that Varlock is joining Cloudflare. Varlock stays MIT and vendor-neutral; effort planned for a hosted Varlock moves into Cloudflare Secrets Store, and the team plans to push `.env.schema` and @env-spec as an open standard. Latest release: varlock@1.25.0 (November 13, 2026).
截至
Is Varlock free?+
Yes - Varlock is Open Source. Free and open source under MIT. Install with `npx varlock init`, `brew install dmno-dev/tap/varlock`, the install script or the official Docker image. Secret backends such as 1Password, Doppler or Infisical are billed separately by their vendors. No hosted Varlock plan exists; that work is moving into Cloudflare Secrets Store.
Is Varlock open source?+
Yes - Varlock is open source. Free and open source under MIT. Install with `npx varlock init`, `brew install dmno-dev/tap/varlock`, the install script or the official Docker image. Secret backends such as 1Password, Doppler or Infisical are billed separately by their vendors. No hosted Varlock plan exists; that work is moving into Cloudflare Secrets Store.
Who is Varlock best for?+
Teams that want typed, validated environment variables and a safe way to let coding agents work with configuration while secrets stay in a vault.
Who is Varlock not ideal for?+
Teams that want a hosted secrets manager with its own dashboard, access controls and audit logs; Varlock is a local toolkit that pairs with one.
What are the best Varlock alternatives?+
The closest Varlock alternatives on ai.dosa.dev are CodeRabbit, Qodo, Snyk Code - all listed under AI Code Review & Security.
Who makes Varlock?+
Varlock is developed by DMNO (Cloudflare). It is listed in the AI Code Review & Security category on ai.dosa.dev.