Claude Code's "Don't Ask Again" Exposes Passwords In 1,122 Public GitHub Files
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Apiiro says it found passwords and other secrets in 1,122 public GitHub files associated with Claude Code’s “Don’t Ask Again” setting. The supplied report does not specify how many credentials were valid, whether they were accessed, or whether the files were removed.

Security firm Apiiro says it found passwords and other secrets in 1,122 public GitHub files associated with Claude Code’s “Don’t Ask Again” permission setting. The finding points to a risk that developers may expose sensitive information when coding-agent permission or configuration data is committed to public repositories, but the supplied report material does not establish whether the credentials remain usable or were accessed.

Before you orderOffer from Amazon

Get privacy and security gear delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Apiiro’s report describes files found on public GitHub repositories and links them to Claude Code’s “Don’t Ask Again” behavior. The headline count is 1,122 files; it should not be read as a count of confirmed, unique, active passwords. A single file could contain more than one secret, and the available material does not explain the relationship between files and credentials.

The source material identifies the exposed information as passwords and secrets, but provides no detailed breakdown by credential type, repository, owner, or date. It also does not include technical examples, the search method, or independent verification. Apiiro is a security vendor, so its finding is attributable to the company rather than independently confirmed by details in the material provided here.

The report connects the exposure to files associated with a permission-setting workflow, but that association alone does not show that Claude Code itself disclosed credentials. The available information does not establish whether the files were created by the tool, added by users, or made public through a separate repository-management decision.

At a glance
reportWhen: Reported by Apiiro; the supplied source…
The developmentApiiro reported that a review of public GitHub files found passwords and other secrets in 1,122 files associated with Claude Code’s “Don’t Ask Again” permission setting.

Public Repositories Can Expose Credentials

Secrets in public code repositories can create risk beyond the developers who added them. If a password or token is still valid, someone who finds it may be able to use it to access an account, service, or development environment. That can lead to unauthorized access or further exposure, depending on what the credential permits. Validity and scope matter, and neither is established by the reported file count.

The finding also highlights a practical challenge for teams using coding agents: permission and configuration files can become part of a project’s normal working materials, then be committed alongside source code. Organizations should treat credentials in repositories as a security issue regardless of whether they were added manually or during an AI-assisted workflow. The report is a signal for review, not proof that every affected project was compromised.

Products Worth Considering

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

DJI Osmo Mobile 7P 3-Axis Smartphone Gimbal with Mic Mini Transmitter, Infinity Black

DJI Osmo Mobile 7P 3-Axis Smartphone Gimbal with Mic Mini Transmitter, Infinity Black

As an affiliate, we earn on qualifying purchases.

The Setting Behind the File Count

Claude Code is an AI coding tool, and “Don’t Ask Again” is the permission-setting phrase named in Apiiro’s report. The supplied source material does not explain the setting’s exact behavior or provide enough technical detail to determine how it relates to the files found. It is therefore not possible from this material to say that the setting itself stores passwords or directly causes them to be published.

Public GitHub files can be viewed and copied by others. Developers and organizations commonly use repository checks to detect accidentally committed credentials, but the report material does not say whether the files had been flagged by GitHub or another scanner. Nor does it describe prior reports or a change in the number of exposed files over time. 1,122 is a reported file count, not a measured increase: no scan window or comparison baseline is supplied.

Credential Validity Remains Unknown

The supplied report excerpt leaves several important questions unanswered. It does not state when Apiiro scanned GitHub, how it identified the files, whether the 1,122 files belong to distinct repositories, or how many separate credentials they contain. No comparison baseline is given, so the count cannot be described as an increase or trend.

It is also unclear whether any exposed credentials were valid, revoked, used by another party, or linked to an actual account compromise. The source material does not identify affected repository owners, say whether GitHub or Anthropic has responded, or confirm that the files were removed. The finding therefore supports reporting that Apiiro identified potential exposures, not that 1,122 accounts were breached.

Verification and Credential Remediation

Repository owners who find a potentially exposed credential should determine whether it remains active and, if so, revoke or rotate it and review relevant access logs. Deleting a file alone may not remove copies already present in a repository’s history or elsewhere. Organizations can also check their own public repositories for secrets and review how configuration files are handled in AI-assisted development.

Further clarity depends on details from Apiiro about its scan and examples, and on any response from the affected repository owners, GitHub, or Anthropic. Until those details are available, the reported 1,122-file count should be treated as Apiiro’s finding, while credential validity, access, and remediation remain unconfirmed.

Key Questions

What did Apiiro report?

Apiiro said it found passwords and other secrets in 1,122 public GitHub files associated with Claude Code’s “Don’t Ask Again” setting.

Does the report confirm that 1,122 accounts were breached?

No. The supplied material reports a count of files, not confirmed account breaches. It does not say whether the credentials were valid or used.

Did Claude Code itself publish the files?

The available material does not establish who created or published the files, or whether the tool directly caused the exposure. It describes an association with the named setting.

What should a repository owner do if a secret is exposed?

Check whether the credential is active, revoke or rotate it if necessary, and review access logs for unexpected use. Removing the visible file alone may not remove copies in repository history.

Source: apiiro.com

You May Also Like

What To Examine In AI Agents After A Sleeper-Neuron Finding

Microsoft researchers report that Lazarus can implant agent backdoors by editing fewer than 10 neurons. The tests cover three open-weight models.

UN Talks On Killer Robots: A Timeline, The Disagreements, And The Stakes

A UN review conference tasked experts with developing an instrument on lethal autonomous weapons, but left open whether it will be legally binding.

Claude Users Are Concerned About Watermarks Limiting Their AI Assistance At Work And School

Claude models now embed machine-readable watermarks, prompting worries about detection at work and school. Support for older models is ongoing.

An AI just carried out a cyber attack without any human oversight for the first time

An AI system has independently carried out a cyber attack without human oversight for the first time, raising security and ethical concerns.