Encryption Bypassed: How AI Models Easily Expose Users' Sensitive Data
Anthropic
OpenAI
Google/DeepMind
German researchers have found a way to extract sensitive data such as passwords and API keys from AI chatbots by exploiting the encrypted 'reasoning logs' used by models like ChatGPT, Claude, and Gemini. The attack works by copying these logs and using them with older or modified versions of the same company's models, effectively breaking the encryption. The team decrypted over 315,000 logs, revealing 62 API keys, 33 passwords, and other personal information.
Researchers from Germany have published a paper titled 'Stealing Reasoning Traces from Proprietary LLM APIs' demonstrating how AI models from Anthropic, OpenAI, and Google can leak sensitive user data. When performing reasoning tasks, these models generate an encrypted string called a 'reasoning log' that is sent back to the server with each new response to provide context. The researchers found that reasoning logs can be copied and used in other models from the same company, including older or modified versions. If a modified model has its safety measures removed via jailbreak, it can decode the encryption of the logs. Using 6,708 public repositories from GitHub and Hugging Face, they successfully decrypted 315,320 reasoning logs, which contained 62 API keys, 33 passwords, 24 access tokens, 30 personal email addresses, and names/addresses of project maintainers. Many of these details were only present in the reasoning logs, not elsewhere in the chat session. Security expert Voldemaras Kadys of Cybernews notes the encryption was not broken in a traditional sense; instead, the sharing of encrypted reasoning traces between compatible models allows weaker models to become a master key for decryption. He advises treating reasoning logs as sensitive data and never sharing them.
- Abbreviations
- API = Application Programming Interface — программный интерфейс приложения
- LLM = Large Language Model — большая языковая модель
Source: t3n —
original
