Open-source .sct replaces .env files with macOS Keychain to hide secrets from AI agents

wommmmmmmmm · reddit · 2026-11-10

A developer released .sct, an open-source replacement for .env files, arguing that .env is the wrong primitive in the AI-agent era since agents can easily read and leak your secrets. .sct stores all dev secrets in a single directory secured by macOS Keychain, loads them at runtime via an SDK (bun add dotsct), supports secure scoped access for agents, and enables sharing env vars with teammates over AirDrop or a Relay. Fully free and open source, with a desktop app and docs at dotsct.pages.dev.

Original post →

More from coding & agent

coding & agent channel →