درباره این اپیزود
Claude Code Security: What Can Your AI Agent Actually See?
Within five days, two software updates went hunting for API keys: fake builds of the Claude Code extension on Cursor's extension marketplace (Oct 29, 2026) and a fake cPGuard auto-update on Linux servers (Nov 2, 2026). My AI agents hold keys to my paid accounts, so I built a lab with fake keys to see what a bad tool running inside an agent's shell can reach, then audited my own pipeline and fixed what I found.
Short answer: with fake keys exported in the shell, the helper found 5 of 5 key names and could read every value, plus the .env file, the SSH key and the cloud keys. With nothing exported it found 0 names, but the files stayed readable. Inside a macOS sandbox profile it found nothing and couldn't connect out. Then five fixes in order of effort: stop exporting keys, scope keys with an expiry and a cap, turn on the Claude Code sandbox and its credentials setting, slow down updates, and write a rotation list. General security hygiene from my own setup, not a professional audit.
Full write-up: https://www.500xengineer.com/blog/claude-code-security-agent-keys
Join the free Skool community: https://www.500xengineer.com/skool?utm_source=spotify&utm_medium=podcast&utm_campaign=ep08-agent-keys
CHAPTERS:
0:00 Intro
1:02 Two updates, one week
2:07 What they went looking for
3:53 The lab
5:26 My own setup
6:56 Five fixes, in order of effort
9:07 Did it hit you?
9:48 The takeaway
SOURCES: the full source list is in the YouTube description: https://www.youtube.com/watch?v=ibZu577BMz8
DISCLOSURE:
The narration is AI-generated with ElevenLabs, using a clone of Elon's own voice. The short opening clip of Elon is an AI-generated avatar made from his likeness. Some images are AI-generated.