DEV Community
•
2026-04-21 10:28
I leaked my GH token to Claude
A few weeks ago, I was debugging an issue in my personal project with Claude Code, which had access to my terminal output as context. We worked through it and were done with it.
Later that night, I noticed an innocent-looking GH token in my shell history from an earlier manual test, just sitting there, waiting for me to notice. Well, damn, I fell into a well-known pothole.
Agentic CL...