Skip to content

Cloudflare acquires Varlock, the tool behind .env.schema

Varlock replaces .env.example with a committed .env.schema file that validates and types your secrets. Cloudflare is folding it into Secrets Store and dropping its own hosted-vault plans.

Source: Cloudflare

Cloudflare announced on 2 December that it is acquiring Varlock, an open-source toolkit for managing environment variables and secrets. Varlock’s core idea is a .env.schema file, committed to Git in place of the usual .env.example, that declares each variable’s type and rules with decorator comments such as # @required and # @sensitive, then loads the real values from a vault or an encrypted local file at runtime.

Cloudflare is dropping its own plans for a hosted secrets vault and redirecting that work into Varlock’s approach instead, folding it into Cloudflare Secrets Store and the wider Developer Platform. Varlock stays MIT-licensed and open source, and Cloudflare says it wants .env.schema and the underlying @env-spec syntax to become an open standard rather than a Cloudflare-only format, following the pattern it set after acquiring Astro and VoidZero.

# .env.schema
# @required
# @sensitive
API_KEY=

Why it matters: most projects still track which environment variables are required, sensitive, or safe to log with a README comment or nothing at all, a gap that gets worse once an AI coding agent is the one reading and writing .env files unattended. A typed, committed schema that a vault can validate against closes that gap without asking teams to adopt a new hosted product.

The caveat: Cloudflare’s announcement gives no numbers, no version, and no migration timeline for .env.schema becoming part of Secrets Store, so there is nothing yet to act on beyond the format itself.

Share

Related reading

More from The Wire

All briefs

Ai2 ships MolmoWeb 2, open web agents that see the page

Three open-weight visual web agents, 4B up to 27B parameters, trained with reinforcement learning to browse real websites by screenshot rather than HTML. The 27B model edges out Claude Opus 4.6 on browsing benchmarks.

via Allen Institute for AI (Ai2)

node-tar patches a Windows RCE bug triggered by npm install

A newline-injection flaw in node-tar let a crafted archive forge its own file paths and run code during npm install on Windows. The fix landed in a string of releases up to 8.1.0 on 2 December.

via GitHub Security Advisories (isaacs/node-tar)