4 Dec 2026Security news updated around the clock

Claude Code exposes passwords and keys on GitHub

HighSource: The Hacker News

Developers using Claude Code, an AI coding assistant, may have inadvertently exposed passwords and API keys in public GitHub repositories. This happened when they selected "Yes, and don't ask again" for certain commands, which saved the command, including secrets, in a project settings file. Apiiro found 1,122 public copies of this file, exposing 2,539 credentials across 1,994 repositories. Defenders should review their GitHub repositories for exposed secrets and take steps to secure them.

Source: The Hacker News

Read the full article on The Hacker News

A Cyberpedia entry on Hardcoded Credentials is planned. This story will link to it once it is published.

This brief was written with AI from the original article and checked for copied wording. Confirm details with The Hacker News before acting. Spotted an error, or are you the publisher and want this brief removed? Email us and we will act on it promptly.