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.

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
- Europe faces attribution gap after 16 cyber, physical incidents
- PIF backs Grand Theft Auto as Saudi players embrace game
- Signal limits screenshots to curb AI access to messages
- Cognition runs Devin Mac workspaces on EC2 in 6 AWS regions
- Salesforce engineers cut 600-failure triage to 90 minutes
- Türkiye Desk: GTA 6 puts console access and network demand in focus
- Nvidia opens board inquiry into alleged foreign targeting
- Nvidia opens board inquiry into alleged foreign targeting
- Saudi Humain IPO work signals PIF listing pipeline push
- Tesla Cybercab starts limited public rides in Austin zone
Latest news
- Trump prepares tariffs on China and other major exporters
- New-car buyers pay record average $50,087 in October
- Banks face ECB reserve debate over liquidity and profits
- Investors see Anthropic debut gains fade below $83 a share
- Iraq orders federal control over Kurdish-area oilfields
- Germans oppose Ukraine aid as poll shows support slipping
- Kim Jong-un receives 10 envoys after constitutional shift
- Ukraine claims Libya strike sinks Russian naval corvette

