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

From the source: GitLab Blog

This guide details how to find and remove secrets that were inadvertently committed to projects and repositories hosted on GitLab. We’ve confirmed that GitLab’s own infrastructure secrets are protected. In Claude Code, Anthropic’s coding agent, a developer can approve a shell command by selecting “Yes, and don’t ask again.” Claude then saves that exact command to .claude/settings.local.json in…

Read the full story on GitLab Blog
Originally published by GitLab Blog on 11 Nov 2026. Techarda links to the original rather than republishing it. Read the full article →

Ask the square

The story is what was announced. If it raises a question for your team, ask the people who run this technology day to day. Your post links back to this story, so the next reader finds it too.

Recent threads in DevOps & Platform Engineering

Something wrong or out of date? Suggest a correction. We reply within 5 business days.

More from GitLab

Recent updates from GitLab, so you can tell whether this is a one-off or part of a pattern.

All GitLab news →

More in DevOps & Platform Engineering

What other companies in DevOps & Platform Engineering are doing. The category page shows who’s active, side by side.

Compare companies in DevOps & Platform Engineering →