Menu

1 / 2

Claude Code's "Don't Ask Again" Leaked Developers' Secrets to Public GitHub — Explained Honestly

DEV Community: github·Paul Lovelace·27 days ago
#L7iZNWSA
#devtogithub#technology#devto#dev#claude
Long article (1996 words) — no AI summary yet.
Reading 0:00
15s threshold

Here is a security story with no villain, no hack, and no prompt injection — just an ordinary click. You ask Claude Code to check a database or call an API. It proposes a shell command carrying the password or token, and asks before running it. You pick "Yes, and don't ask again" so it stops bothering you. That approval is saved, word for word, secret included, in a file inside your project. And if that file gets committed and pushed, your credential is now sitting in a public GitHub repository for anyone to read. Security firm Apiiro scanned GitHub between 1 and 3 November 2026 and found 2,539 real secrets that got out exactly this way, across 1,994 public repositories.

Let us be precise about dates, because this is not a launch that happened an hour ago. The research was published on 5 November 2026, and it is the lead story in today's AI digests because the numbers are stark and the cause is something thousands of developers do every day without thinking.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.