Cloudflare acquires Varlock to tackle AI coding agents’ credential risks
The open-source toolkit will keep its MIT license, Cloudflare says, but work on a standalone hosted service will move into Cloudflare Secrets Store.
Loading page…
The open-source toolkit will keep its MIT license, Cloudflare says, but work on a standalone hosted service will move into Cloudflare Secrets Store.
Listen to this story
The announced deal brings Varlock’s creators to Cloudflare and redirects work on Varlock’s planned hosted service to Cloudflare Secrets Store; the transaction price and completion date were not disclosed. Varlock itself is to remain MIT-licensed and vendor-neutral, so developers can keep using its open-source toolkit without moving to Cloudflare’s cloud. Its approach lets coding agents access project configuration rules while keeping credential values in separate vaults or encrypted files, addressing a risk Cloudflare associates with agents reading project directories.
Varlock uses a Git-tracked .env.schema file to define required settings and valid value types, with annotations such as @required and @sensitive.
Developers can load actual secrets from external vaults such as 1Password or from encrypted local files.
Cloudflare’s roadmap includes broader language support, native encryption utilities and encrypted team vaults; these are planned, not newly delivered capabilities.
Cloudflare is bringing Varlock and its creators into its Developer Platform, redirecting the secrets-management toolkit’s planned hosted service into Cloudflare Secrets Store. Announced December 2, 2026, the move targets a risk Cloudflare says AI coding agents make more urgent: credentials left in readable project files.
For developers using Varlock, Cloudflare is promising continuity in the core software rather than a requirement to adopt its cloud. The toolkit will remain open source under the MIT license and vendor-neutral, according to MLQ.ai’s account of Cloudflare’s announcement.
Varlock manages environment variables—the settings an application needs to run—and secrets, such as API keys and access tokens. Cloudflare’s security rationale centers on plaintext .env files stored on developers’ laptops. When an autonomous coding agent inspects a project directory, the company warns, those readable files can expose credentials or allow them to be sent elsewhere.
The toolkit replaces scattered configuration instructions with a .env.schema file checked into Git alongside the code. That file describes which settings a project expects, which are required and what types of values are valid. It is meant to replace a patchwork of example files, README instructions and custom validation scripts with one definition the software can check.
Developers add comment-based annotations, including @required and @sensitive, to describe the rules. Varlock can then load actual secret values from an external vault such as 1Password or from encrypted local files. Cloudflare presents that separation as a way to let agents work with configuration requirements without exposing the raw credentials to them.
Cloudflare says support for outside services remains part of the plan. First-party plugins for major secret vaults and web frameworks are intended to preserve Varlock’s usefulness across providers, even as the team’s hosted-service work moves into Cloudflare Secrets Store.
The announced roadmap also includes further work on the open-source toolkit:
Those are development plans, not capabilities newly delivered by the acquisition announcement.
The transaction’s financial scale remains unclear. Simply Wall St, in an article published by Yahoo Finance, described Cloudflare as having agreed to acquire Varlock but gave no purchase price or completion date.
Loading discussion...
Join the conversation
Explain when you would allow it—or insist on keeping them separate.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.