dmno-dev/varlock
AI-safe .env files: Schemas for agents, Secrets for humans. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 87
- Longevity 36
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 509
- days_rel: 8
- days_push: 7
- n_releases_24m: 378
Adoption not part of the score
4220 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Varlock is a CLI tool and library for managing environment variables and secrets via a typed .env.schema file, serving as a drop-in dotenv replacement. It gives AI agents schema context without exposing secret values, and adds validation, encryption, leak scanning, and log redaction.
Use cases
- validate and type-check environment variables in a project
- replace dotenv with a schema-driven env loader
- prevent AI coding agents from reading secret values
- scan repos and code for leaked secrets
- load secrets from 1Password, AWS, Vault, or Infisical into env vars
- manage multi-environment .env files with local overrides
- redact sensitive values from logs at runtime
When to choose
- you want a single source of truth for env config instead of .env.example
- you use AI coding assistants and worry about secrets leaking to their servers
- you need validation, coercion, and IntelliSense for env vars
- you want encrypted local overrides and secret provider plugins
When to avoid
- you need a fully managed cloud secrets platform rather than a local-first tool
- your project is locked into plain dotenv with no room for tooling changes
- you require non-JS runtimes without using varlock run or generated modules
Facets
cli-tool · maturity active
configuration-management secrets-management security form-handling cli developer-tools developer-tools security backend web-development self-hosted cli cross-platform windows dotenv env-vars env-schema ai-safe-config secret-management leak-detection log-redaction type-safety 1password vault mcp devops nodejs macos linux docker
10 sources
- readme: https://github.com/dmno-dev/varlock · fetched 2026-08-28 · 1cfd28f86966
- homepage: https://varlock.dev · fetched 2026-08-29 · b7504b156984
- site_page: https://varlock.dev/getting-started/introduction · fetched 2026-08-29 · 65019f482296
- site_page: https://varlock.dev/getting-started/installation · fetched 2026-08-29 · 9a8e7bb820f7
- site_page: https://varlock.dev/getting-started/usage · fetched 2026-08-29 · db4eaafee48a
- site_page: https://varlock.dev/getting-started/migration · fetched 2026-08-29 · 3f05f688d38f
- site_page: https://varlock.dev/getting-started/wrapping-up · fetched 2026-08-29 · ac2829fe16fc
- site_page: https://varlock.dev/guides/mcp/docs-mcp · fetched 2026-08-29 · 8d02e0f18220
- registry_npm: https://registry.npmjs.org/varlock · fetched 2026-08-29 · 2eaf7346418b
- site_page: https://varlock.dev/integrations/javascript · fetched 2026-08-29 · a487327e2b1a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dmno-dev/varlock | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="dmno-dev/varlock")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem