Proton Authenticator Exposed TOTP Secrets in Plaintext: Critical iOS Bug Fixed

Listen to this Post

Featured Image

A Surprising Flaw in a Security-Centric App

In a move that shocked many in the cybersecurity community, Proton recently acknowledged and fixed a major flaw in its newly launched Proton Authenticator app for iOS. The app, designed to enhance user security through two-factor authentication (2FA), had inadvertently been logging users’ sensitive TOTP (Time-based One-Time Password) secrets in plaintext. While the issue has now been patched, the fact that such a vulnerability slipped into a security-focused product raises serious concerns about development oversight and the broader implications of trusting security tools without auditing their behavior.

A Major Flaw in Proton’s iOS Authenticator

Proton launched its standalone 2FA app—Proton Authenticator—across multiple platforms including iOS, Android, macOS, Windows, and Linux. This app helps users store TOTP secrets used to generate time-based one-time passcodes for logging into secure websites and services. However, within days of its release, a user noticed troubling behavior in the iOS version. After importing their 2FA accounts and enabling backup and sync, the user encountered disappearing TOTP entries. While digging deeper into the app’s debug logs to submit a bug report, they discovered that the logs contained full TOTP secrets in plaintext—data that should never be exposed outside encrypted containers.

The discovery was made even more alarming because it included sensitive accounts, such as Bitwarden, a popular password manager. Additional investigation suggested that the iOS app’s logging mechanism was capturing TOTP data due to how it passed parameters through certain internal functions. These logs, though not transmitted to Proton servers, were stored locally on the device. This meant that anyone with physical access to the device could retrieve the TOTP secrets, essentially bypassing the added security layers that 2FA provides.

Proton responded quickly. They released version 1.1.1 of the iOS app just hours after the flaw was confirmed, stating that the app now prevents sensitive data from being stored in logs. The company emphasized that secrets are always end-to-end encrypted during sync and that the logs were only ever stored locally. Proton clarified that this was not a remotely exploitable vulnerability and insisted that users must secure their devices physically, as device-side access is outside of their encryption model. However, critics argue that plaintext logging of TOTP secrets, even locally, contradicts best security practices, especially for an app designed around secure authentication.

The real risk, many pointed out, was that users often share logs for debugging, sometimes publicly. If someone shared their logs with a support team or on a forum without realizing they contained sensitive secrets, attackers could easily import the leaked secrets into their own Authenticator app and gain access to protected accounts.

While

What Undercode Say:

The Price of Convenience in Security Apps

Security tools like Proton Authenticator promise protection, but the convenience they offer can sometimes introduce unintended vulnerabilities. In this case, Proton’s quick rollout of a new feature-rich app likely skipped essential audit steps. Logging full TOTP secrets—even locally—goes against core principles of secure app design.

Local Doesn’t Mean Safe

Although Proton emphasized that the secrets were stored only on the user’s device, this shouldn’t be a justification. Devices can be compromised. Malware, physical theft, or even accidental log sharing can all lead to data leakage. The flaw highlighted a dangerous assumption: that local storage equals safety. This mindset has to change, especially in apps dealing with authentication.

TOTP Secrets Are the Crown Jewels

TOTP secrets are the foundational element of multi-factor authentication. Exposing them even briefly undermines the entire concept of 2FA. If an attacker gets hold of a secret, they can generate valid authentication codes indefinitely. This isn’t just a bug—it’s a direct threat to digital identity.

Misleading Threat Models

Proton’s comment that this isn’t exploitable remotely is technically true but practically misleading. A significant portion of breaches begins with local compromise—either through phishing, malware, or social engineering. Downplaying the severity of local data exposure ignores how modern attacks actually operate.

Why Logs Matter More Than Ever

Debug logs, often overlooked, can be goldmines for attackers. The lesson here is clear: never log secrets, tokens, or credentials—even temporarily. Developers and security teams must assume that anything logged can and will be leaked eventually.

Quick Response Doesn’t Erase the Oversight

To

Transparency vs. Risk

While Proton’s logs aim to meet GDPR portability standards, storing such data in plaintext logs contradicts the principle of minimizing data exposure. There needs to be a more secure method to balance transparency and user rights with real-world threats.

An Industry-Wide Wake-Up Call

Proton’s slip-up isn’t isolated. This should serve as a wake-up call across the industry. Whether it’s password managers, 2FA apps, or encrypted messengers—tools that market themselves as secure must be held to the highest standards. Users need to know that they can trust these products completely.

🔍 Fact Checker Results:

✅ Confirmed: TOTP secrets were exposed in plaintext logs on iOS

✅ Confirmed: Proton fixed the issue in version 1.1.1

❌ False: This bug could be exploited remotely by attackers

📊 Prediction:

Expect increased scrutiny of privacy-focused apps like Proton in the coming months 🚨.
More white-hat researchers and users will likely audit popular 2FA tools for similar flaws 🧪.
Regulatory bodies may also push for stricter standards around logging sensitive data in authentication apps 📜.

🕵️‍📝✔️Let’s dive deep and fact‑check.

References:

Reported By: www.bleepingcomputer.com
Extra Source Hub:
https://www.discord.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon