AI Today

🔐 Cloudflare buys Varlock to keep AI coding agents away from secrets

· 2 min

In brief


🔐 Cloudflare has acquired Varlock, an open-source tool for managing API keys and app settings, according to a post by Varlock creator Theo Ephraim and Cloudflare's Brendan Irvine-Broque on Wednesday. Terms were not disclosed. Instead of unencrypted .env files, Varlock uses a schema file without real keys; the real values come from a vault such as 1Password. Cloudflare pitches this as a way to let AI coding agents work with an app without seeing its secrets. Varlock stays MIT-licensed and keeps working with other companies' tools.


📄 The background is an old problem: many apps keep their settings and keys in .env files that often sit unencrypted on developers' laptops and get passed around in chat. Varlock replaces them with a file called .env.schema, which says what each setting should look like and fetches the real secrets from a vault. Because it holds no actual keys, it can be stored in Git. According to the project's own page, AI agents can read the schema to understand the configuration without ever seeing secret values. The page also lists a scan for leaked secrets, redaction of values in logs and plugins for providers including 1Password, Infisical, AWS Secrets Manager, Azure Key Vault, Google Secret Manager and Bitwarden.

🤖 Cloudflare says agents have made the problem impossible to ignore. As examples it names LiteLLM, which said in October that hackers poisoned its software with GitHub tokens leaked via Claude Code, and xAI's Grok Build, which was caught in July uploading committed secrets. These are claims as reported; we could not verify them ourselves.

🧭 Plans for a paid hosted Varlock service are dropped. The team will work on Cloudflare Secrets Store, the company's service for storing keys, instead, and wants .env.schema to become an open standard used beyond Varlock.

📅 The deal follows Cloudflare's purchase of the team behind the Astro web framework in January and of VoidZero, maker of the Vite build tool, in June. Cloudflare says AI agents helped push its developer base past 10 million in October.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service