Skip to content
LATEST
Technology

AI Coding Tool Vulnerability Results in Exposure of Sensitive Credentials

A vulnerability in an AI coding assistant exposed over 1,100 sensitive credentials in public repositories due to improper configuration file handling.

AI Coding Tool Vulnerability Results in Exposure of Sensitive Credentials

Security researchers have identified a systemic vulnerability in an AI-powered coding assistant that results in the unintentional exposure of sensitive credentials on public code repositories. The issue stems from the tool’s handling of automated command approvals, which are stored in a local configuration file. When users select options to bypass future prompts, the tool records these commands—often containing database passwords, API tokens, and root login credentials—directly into a JSON settings file.

While documentation advises users to exclude these configuration files from version control via global ignore lists, the protection is not enforced at the repository level. Consequently, when developers initialize new repositories or clone existing ones, these sensitive files are frequently committed to public platforms. Researchers identified over 100,000 instances of these configuration files in public repositories, with approximately 1,100 containing active, high-risk credentials across 63 distinct organizations.

Although the issue was flagged in internal bug

Although the issue was flagged in internal bug

The vulnerability is compounded by the tool’s tendency to modify these configuration files automatically, sometimes without explicit user intervention. Although the issue was flagged in internal bug reports as early as August 2025, reports were previously closed due to inactivity. The persistence of these secrets remains a significant risk, as credentials often remain accessible in repository forks even after the primary file is removed.

Existing automated secret-scanning tools have proven insufficient, failing to detect approximately 20% of the exposed credentials identified by researchers. Developers are currently advised to manually audit repositories for configuration files and implement more robust secret-scanning protocols. The vendor has indicated it is evaluating potential product-level safeguards, including the integration of native secret-scanning capabilities, but has not provided a definitive timeline for remediation. Organizations utilizing AI-assisted development tools should conduct immediate audits of their public and private repositories to ensure that local configuration files have not been inadvertently committed to source control.

More stories

Latest news