How to prevent leaks from Claude Code's 'Don't ask again' file

· · Nov. 11, 2026, 8:07 p.m.
Summary
This guide explains how to prevent accidental leaks of sensitive information from Claude Code's '.claude/settings.local.json' file when using GitLab. It provides detailed preventative measures, assessment methods, and cleanup procedures for affected projects, emphasizing the importance of rotating secrets and maintaining repository security.