Security

Claude Code shortcut exposes company secrets across GitHub

A simple configuration prompt in Anthropic's developer tool is reportedly leading users to publish live passwords and API keys to public repositories.

AI image

Developer tools powered by artificial intelligence promise to write software at breakneck speed, but fast workflows can quickly unravel when security checks get in the way. According to Ars Technica, configuration files from Anthropic’s Claude Code assistant have accidentally leaked thousands of credentials, passwords, and private tokens directly onto GitHub.

The issue stems from a simple UX choice. When users select a "Do not ask again" prompt regarding specific settings, the tool reportedly saves sensitive parameters into project files that developers then commit straight to public repositories.

Convenience and security rarely make comfortable bedfellows.

How local settings go public

Version control platforms like GitHub are designed to track and synchronise software changes across teams. However, when an automated tool bundles credentials into standard project settings rather than protected local environment variables, routine updates become serious data breaches. Automated crawlers constantly scan public code hosts for freshly committed credentials, meaning newly published secrets are often harvested within seconds of being pushed online.

While AI coding tools are becoming essential for lean software teams, this leak highlights the danger of delegating workflow decisions to automated agents without strict repository guardrails in place.

Source: Ars Technica

Get the brief

The day’s most useful tech news for your business, in five minutes. Free, every weekday.