Skip to content
IT & AITopic 4 of 6

Claude AI Accidentally Exposes Secrets on GitHub Due to 'Do Not Ask Again' Prompt

Anthropic's Claude AI has been accidentally exposing passwords, API keys, and other sensitive information on GitHub, reportedly due to users selecting a 'Do not ask again' prompt setting.

This critical security flaw arises when users interact with Claude AI, where choosing 'Do not ask again' on certain prompts inadvertently overrides data privacy settings, leading to the broader exposure of sensitive secrets in public GitHub files. This highlights a significant design oversight in the AI agent's user interface concerning data consent, where a seemingly minor user selection can trigger severe security implications. The leakage of credentials and API keys can grant unauthorized access to internal systems, cloud services, and proprietary data, posing a substantial risk for developers and organizations that integrate Claude into their development workflows.