SecurityBrief

Cloudflare acquires Varlock to protect secrets in AI-assisted coding

Cloudflare says it has joined the team behind Varlock, an open-source tool for managing environment variables and secrets. The tool is designed to let coding agents work without leaking sensitive information.

A computer screen with a bunch of code on it
Photo: Jiří Navrátil / Unsplash · Illustrative image

Cloudflare announced on December 2 that it has acquired Varlock, an open-source tool built to manage environment variables and secrets, and that the tool’s team is joining the company.

Varlock replaces aging .env.example files with a .env.schema file that is committed to Git. Comment lines in the file define each variable’s type and rules, and secrets can be loaded from external vaults or encrypted local files. According to Cloudflare, this approach brings validation, type safety and secret loading together in one place, and lets coding agents work without exposing variable values.

The company says Varlock will remain MIT-licensed and continue to be developed independently of any vendor. Work on a separate hosted Varlock service will be redirected to Cloudflare Secrets Store and its developer platform. Plans include credential brokering, OpenID Connect, bot identity, machine workflows for generating and rotating secrets, and human-approved steps.

Cloudflare notes that AI-assisted development is increasing the volume of code and secrets, and that prompt injection and supply chain attacks are growing concerns as well. The company’s goal is for the .env.schema and @env-spec syntax to become an open standard through outside contributions.

Source

This article was compiled with AI assistance from the source above and translated from our Turkish edition.
How we make our stories Spotted an error? Let us know.