r/opencodeCLI • u/the__repeat • 12h ago
I built a small Mac CLI so Codex / Claude Code / Cursor can use API keys without seeing them
1
Upvotes
r/opencodeCLI • u/the__repeat • 12h ago
1
u/kantorcodes1 6h ago
Your setup keeps keys out of chat, which is where they usually leak into transcripts. The keys are stored in iCloud Keychain. The tool just uses a key without actually seeing it.
HOL Guard (the agent firewall I'm working on) has command extensions written by the authors of each tool. Would you want to write the ichain one?
1
u/ProfessionalPut458 6h ago
smart approach. how are you preventing the agent from just dumping the environment variables or inspecting the child process output to grab the key anyway?