KilnVM Live Labs /lab/varlock-env-schema-audit
Step 1 of 3 Docs Claim This Sandbox
Unclaimed Preview Sandbox · Hosted by KilnVM (15-run evaluation cap). Maintain this tool? Claim & embed on your docs →

Schema-Validated .env Files and Agent Redaction with Varlock

Catch malformed environment config with @type=port, redact sensitive keys with varlock load --agent, and audit source code references offline.

Step 1 of 3

Catch invalid PORT type with varlock load

env.schema requires PORT to match @type=port, while env.local sets PORT=not_a_port. Run varlock load --show-all to catch the validation error in fail.txt:

bash
(varlock load --show-all > fail.txt 2>&1 || true) && cat fail.txt

Click Check Step to continue.