Urgent.News

What's breaking now, across thousands of outlets.

AI

Claude Code’s Secret-Leak Problem Puts AI Coding Agents on Trial

A convenience feature meant to keep developers moving has helped place credentials in public code repositories, raising a harder question than whether Claude Code can write software: can AI coding agents be trusted with the habits that keep software secure? A developer tells Claude Code to run a command. The tool asks for permission. The developer selects “Yes, and don’t ask again,” expecting the…

Claude Code, Anthropic's command-line coding assistant, has faced criticism for potentially storing sensitive credentials in public code repositories due to a design choice that allows developers to save approval decisions. When a developer runs a command in Claude Code and selects "Yes, and don't ask again," the tool can inadvertently save the command as an allow rule in a local configuration file.

If the command contains sensitive information like database passwords, API tokens, or private keys, the secret may be written into the project's settings. This issue has led to a significant number of Claude Code settings files containing sensitive credentials being found in public GitHub repositories. While the exposure of these secrets might not necessarily mean they were actively used, it highlights the risk of sensitive material being stored in configuration files.

The problem goes beyond user error, as it questions whether a production-ready coding agent should make it easy to store sensitive information in files that could be committed to version control. This situation raises concerns about the balance between convenience and security in AI coding agents.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Jensen Huang’s exit puts Nvidia’s African AI bet to the test

Before he resigned as Nvidia chief executive, Jensen Huang singled out African markets as where US technology companies should compete.

  • Nvidia CEO Jensen Huang resigns amid extramarital affairs involving Chinese intelligence suspect
  • $720 million, 12,000 Nvidia GPUs planned for Cassava's African AI infrastructure expansion

More from Thursday 12 November →