Keep secrets out of agent workspaces: proxy-swapped tokens for safe AI coding
lucasmeijer · x · 2026-10-09
Developer Lucas Meijer shares his security setup for running AI agents: never co-locate agents with family photos, credit cards, or email. The core trick is that secrets never enter the workspace—a proxy swaps in the real GitHub token, API key, or SSH key on the way out, so the agent itself never holds credentials.
In a follow-up he adds that he now does at least half of his coding from his phone with this setup.
More from coding & agent
- A 'how I made it' deep-dive explainer, itself built in Google Antigravity — alexanderchen · 2026-12-02
- Boomi Autopilot ships AI integration agents that start observe-only — shashib · 2026-12-02
- Claude Code 2.1.334 ships 15 new flags: task messaging, Computer Use terminal recall, /model search — ClaudeCodeLog · 2026-12-02
- Claude Code 2.1.334 full changelog: model search, new cache pricing tiers, Arm desktop support — ClaudeCodeLog · 2026-12-02
- Claude Code 2.1.334 ships with 30 flag changes and 283 CLI changes — ClaudeCodeLog · 2026-12-02
- Berkeley's Dimakis: Models Just 10 Months Old Are 'Spectacularly Bad' at Collaboration — AlexGDimakis · 2026-12-02