A January 2026 technical analysis by LayerX has brought to light a sophisticated campaign where browser extensions, marketed as ChatGPT productivity tools, surreptitiously harvested credentials from active user sessions.1 The method is notably subtle, avoiding crude tactics to remain hidden. These malicious extensions inject themselves into the JavaScript stream running on chatgpt.com. By monitoring window.fetch calls, the extensions capture the authorization header and transmit it to an external server. Because the user experience remains uninterrupted, the breach often goes unnoticed for extended periods.

The vulnerability resided within the browser.

Once a session token is stolen, an attacker does not need to crack passwords or bypass two-factor authentication, as the token carries the identity of an already authenticated session. LayerX clarifies that this access allows for the harvesting of chat history, metadata, and sensitive information from connected systems.1 Technically, the underlying model remains uncompromised; instead, the user's active session is effectively duplicated.

How were these accounts taken over?

This incident involved two distinct layers. The first layer consisted of packages specifically disguised as ChatGPT-related extensions. LayerX identified at least 16 variants, noting that the majority shared identical malicious behaviors.1 The second layer represented a broader supply chain attack: the injection of malicious code into existing, legitimate extensions through updates on the Chrome Web Store. Data compiled by Ars Technica indicates that 33 extensions were impacted, affecting approximately 2.6 million devices.2

The incident involving Cyberhaven serves as a critical case study. The malicious version 24.10.4 was later replaced by a clean version 24.10.5, but browsers that remained active during the window of exposure were automatically updated to the malicious version.2 Consequently, the compromise of a single developer account resulted in the widespread distribution of malicious code to thousands of clients.

Notes and Sources

  1. Natalie Zagarov (LayerX, Akamai) (26 January 2026). How We Discovered A Campaign of 16 Malicious Extensions Built to Steal ChatGPT Accounts. Includes token capture flow, MAIN world operating model, and IOC list. layerxsecurity.com
  2. Dan Goodin (Ars Technica) (3 January 2025). Time to check if you ran any of these 33 malicious Chrome extensions. Covers 33 extensions, 2.6 million devices, the Cyberhaven 24.10.4 to 24.10.5 update cycle, and OAuth phishing chains. arstechnica.com
  3. Google Chrome Web Store Help. Install and manage extensions. Details on extension permissions, site access levels, and secure installation guidelines. support.google.com
  4. Zack Whittaker (TechCrunch) (27 December 2024). Cyber firm's Chrome extension hijacked to steal user passwords. Reports on notifications to affected customers and risks regarding session tokens. techcrunch.com