Cloudflare takes on Varlock, the open-source tool for guarding secrets
The environment-variable toolkit will stay open source under the MIT licence while Cloudflare works to make its schema format an open standard.
EDITOR | Wednesday 2 December 2026 | World

Cloudflare said on 2 December 2026 that Varlock, an open-source toolkit for environment variables and secrets, is joining the company. Varlock will remain open source under the MIT licence and vendor-neutral.
Varlock uses a .env.schema file kept in Git to replace .env.example files. Comment-style markers such as @required declare types and rules, which adds validation, type safety and secure loading of secrets from external vaults or encrypted local files.
Cloudflare said work that would have gone into a hosted Varlock product will instead go into Cloudflare Secrets Store and configuration handling across its Developer Platform. It wants .env.schema and the @env-spec syntax to become an open standard and is asking outside developers for help.
The post says AI tools add risks such as prompt injection and supply chain attacks, and calls for rethinking secrets management. Roadmap items include better agentic workflows, support for languages beyond JavaScript, native encryption utilities and team vaults in the style of SOPS.