Download Privacy Needle App

Type to search

Cybersecurity

Infostealer Malware Hijacking AI Accounts via Session Token Replay

Share

Cybercriminals are hijacking artificial intelligence (AI) user accounts by replaying stolen session tokens and API keys, a technique that effectively bypasses multi-factor authentication (MFA).

Researchers at Okta identified that threat actors are specifically targeting these credentials to gain illicit access to tools from major model providers, including Google, Anthropic, and OpenAI. By replaying stolen secrets, attackers can log into Large Language Model (LLM) services without ever needing a username, password, or MFA prompt.

The discovery follows an analysis of a 7 GB infostealer dump released on a Telegram channel in August 2026. The dataset contained information from 5,871 infected machines across 162 countries. Among the thousands of unexpired authentication tokens were those corresponding to services such as Google, Microsoft, Anthropic, Amazon, Notion, and AI platforms like Character.ai, Cursor, and Pika AI.

The Mechanics of Session Replay

Of the 44,791 unique JSON Web Tokens (JWTs) identified in the dataset, 555 were likely related to authentication for AI services. Additionally, the analysis identified 2,937 JSON Web Encryption (JWE) data structures, which represent encrypted JWTs. While these tokens are encrypted, attackers can still replay them to gain direct account access as long as they remain unexpired.

To execute these attacks, criminals often employ “anti-detect” browsers or automation tools such as Camoufox and SeleniumBase. These tools allow attackers to load stolen data from a browser’s local storage and configure proxies to bypass security triggers, such as “impossible travel” detections that flag logins from unusual geographic locations.

Beyond session tokens, an analysis using TruffleHog unearthed 24 valid API keys for AI-related services, including Google Gemini, OpenAI, Groq, and OpenRouter. The abuse of these keys is referred to as “LLMjacking,” a process where attackers hijack a victim’s compute resources for espionage, extortion, or to run expensive models on the victim’s billing account.

PII Exposure and Black Market Demand

The theft of these credentials also presents a significant privacy risk. Okta reported that 17.7% of the 44,791 JWTs contained plaintext personally identifiable information (PII), including names, phone numbers, and email addresses. Because this information does not expire, it can be used to facilitate long-term social engineering or phishing campaigns.

The demand for these stolen assets is growing. Google has observed an increase in personas seeking to purchase AI-related accounts across the cybercrime underground. Some vendors on Telegram are already selling discounted access to Claude, ChatGPT, and Gemini, occasionally offering money-back guarantees for access to high-end models like Anthropic’s Opus series.

Mitigation Strategies

Security experts recommend several technical controls to defend against session hijacking and LLMjacking:

  • Device Binding: Using technologies like Google’s Device Bound Session Credentials (DBSC) in Chrome, which cryptographically links a session token to a specific hardware device.
  • Network Restrictions: Implementing IP allowlisting to ensure traffic only originates from approved network ranges.
  • Token Management: Utilising OAuth 2.0 flows with short-lived tokens that expire quickly to limit the window of opportunity for replay attacks.
  • Phishing Resistance: Moving toward phishing-resistant authentication methods, such as passkeys, to secure the initial login process.
Watch Our Latest Video
Stay ahead with expert insights on privacy, cybersecurity, artificial intelligence, data protection and compliance.
No Leak, No Wahala
Published: August 16, 2026
Daily Privacy News
Cybersecurity Updates
Data Protection Tips
GDPR & NDPA Explained
Tags:
Ikeh James Certified Data Protection Officer (CDPO) | NDPC-Accredited

Ikeh James Ifeanyichukwu is a Certified Data Protection Officer (CDPO) accredited by the Institute of Information Management (IIM) in collaboration with the Nigeria Data Protection Commission (NDPC). With years of experience supporting organizations in data protection compliance, privacy risk management, and NDPA implementation, he is committed to advancing responsible data governance and building digital trust in Africa and beyond. In addition to his privacy and compliance expertise, James is a Certified IT Expert, Data Analyst, and Web Developer, with proven skills in programming, digital marketing, and cybersecurity awareness. He has a background in Statistics (Yabatech) and has earned multiple certifications in Python, PHP, SEO, Digital Marketing, and Information Security from recognized local and international institutions. James has been recognized for his contributions to technology and data protection, including the Best Employee Award at DKIPPI (2021) and the Outstanding Student Award at GIZ/LSETF Skills & Mentorship Training (2019). At Privacy Needle, he leverages his diverse expertise to break down complex data privacy and cybersecurity issues into clear, actionable insights for businesses, professionals, and individuals navigating today’s digital world.

  • 1

You Might also Like

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.