Short answer: A software tool, Claude Code, had a problem with its settings file, exposing sensitive information like API keys and passwords. Anyone using the tool or Docker images created with it could be affected. Remove secrets from settings and Docker files, and update credentials.
TL;DR
- Claude Code’s settings file contained sensitive information.
- GitGuardian found 31,088 secrets in 23,276 repositories.
- 67% of these were still valid when found.
- Credentials were in Docker images as well.
What happened at Claude?
Claude Code is a software tool that helps developers. A flaw in its setup allowed sensitive data, like API keys and passwords, to be stored in a file. These files were sometimes shared publicly, including in Docker images. This means anyone could access these secrets, posing a risk to security. Developers need to update their settings and Docker files to remove these secrets and use environment variables instead.
- Vulnerability
- A mistake or weakness in software that an attacker can misuse.
- Credentials / secrets
- Passwords, keys and tokens that prove who you are to a system.
Key facts
| Reported by | CSO Online |
|---|---|
| Date reported | 11 Nov 2026 |
How it works

Claude Code asks for permission to run commands. If developers allow it, the tool saves the command with credentials in a settings file. This file may be committed to Git or Docker, leading to secrets exposure.
- Developer approves command with credentials.
- Command with credentials saved in settings file.
- Settings file may be committed to Git.
- Settings file may be included in Docker images.
- Published images distribute secrets.
Timeline
| Date | Event | Source |
|---|---|---|
| 2026-11-11 | Reported by CSO Online | CSO Online |
| 2026-11-30 | This Skillmate explainer published | Skillmate |
How to fix it
- If you have an account with the affected company, change that password and any reused copies of it.
- Turn on two-factor authentication (a second login step) wherever the service offers it.
- Expect phishing emails or calls that use the exposed details; verify requests through official channels.
How to detect it
Watch for saved command strings in config files, especially those containing API keys or passwords.
Signs to watch for:
- Login alerts from new devices or locations on the affected account.
- Password-reset emails you did not ask for.
- Phishing messages that quote your real account details.
What is confirmed
- Reported by CSO Online
Why it matters
Companies must ensure secrets are not stored in configuration files and are properly managed.
Learn the skills behind this story
Want to understand attacks like this and defend against them? Join Skillmate cybersecurity training or practise hands-on in Skillmate Labs.
Related Skillmate posts
Sources
How we wrote this: facts come from the sources above. An on-prem AI model drafted the plain-English parts and every sentence was checked against the sources; unsupported sentences were removed. MITRE mapping is our own judgement.
Watch today's video brief: https://youtu.be/o6618M4sH-8
