Claude Code's 'Don't ask again' file is leaking tokens into Git repos
Claude Code saves approved shell commands, embedded tokens included, to .claude/settings.local.json, and only a per-machine Git exclude keeps that file out of commits. GitLab has published a guide to blocking, finding and cleaning up the leaks.