Back to Newsroom

Threat intel5 min read

WardenStealer takes AI coding tokens, and the access is resold

A Rust infostealer copies OAuth tokens and API keys for Claude Code, Codex and other AI tools from Windows PCs. The stolen access is resold as cheap AI subscriptions and credit.

4Tify Team

WardenStealer takes AI coding tokens, and the access is resold

WardenStealer, a Windows infostealer written in Rust, now copies login tokens and API keys for AI coding tools alongside the passwords, cookies and crypto wallets that stealers usually take. Stolen AI access is being resold on underground markets as cut-price subscriptions and API credit. The people who pay are the victims, whose accounts keep working for the attacker after a password change.

What happened

WardenStealer is sold as a service on Russian-language crime forums. Its first builds appeared in May 2026 and advertising started in August. Version 1.9, announced on 29 September 2026, made the theft of AI agent data a standard feature instead of a custom request. Logs from more than 130,000 unique WardenStealer infections have been recovered since August.

In those logs, the AI material comes mostly from developer tools:

  • Claude Code: the OAuth file with access and refresh tokens, credentials for connected MCP servers, account settings and the project's CLAUDE.md;
  • Codex CLI: the authentication file, which holds an OpenAI API key plus access and refresh tokens;
  • Claude Desktop: configuration and plan usage.

The malware's own target list also names Grok and Cursor. A second Windows stealer, Aoki, first seen on 4 October 2026, keeps a dedicated folder for AI sessions with data from ChatGPT, Claude Code, Claude Desktop, Codex, GitHub Copilot and Cursor, including session cookies and token files.

None of this is a breach of OpenAI or Anthropic. The tokens are taken from infected Windows computers, where the apps store them in predictable files.

Who is affected

Anyone who used an AI desktop app or coding agent on a Windows PC that later ran WardenStealer or Aoki. Developers carry the most risk. A coding agent's config often holds keys for code repositories, cloud accounts and build pipelines through its MCP connections, so one infected laptop can expose much more than a chat history.

WardenStealer runs on Windows 8 through 11. It reaches machines through the usual routes: cracked software, fake game cheats, malicious ads and ClickFix pages that talk the user into pasting a command into the Run dialog or PowerShell. Operators pick their own delivery method.

How the stolen access is used

A session cookie lets an attacker resume a signed-in session without the password and without the MFA prompt a new login would trigger. A refresh token can mint new access tokens. An API key works until someone revokes it. Changing the account password does not necessarily cancel any of them.

That access is then sold. Underground shops advertise ChatGPT, Claude and Grok subscriptions and API credit at 40% to 91% below list price. Wholesale panels pay suppliers up to 35% of what a submitted key earns in billable usage. Not every key on these markets has been traced to infostealers. The owner of the account pays for the usage, a form of abuse known as LLMjacking.

Besides AI data, WardenStealer takes browser passwords and cookies, using a bypass for App-Bound Encryption in Chromium browsers. It also replaces crypto wallet addresses on the clipboard for 10 networks, and ships with a loader that can inject into a running process or side-load a DLL.

What to do now

If a Windows machine used for AI tools may be infected:

  1. Take it off the network and do the rest from a clean device.
  2. Sign out of all sessions in ChatGPT, Claude and any other AI service used on that PC, then change the passwords.
  3. Revoke and reissue every API key and OAuth token the machine held: OpenAI and Anthropic keys, GitHub tokens, cloud credentials and the secrets behind each MCP server in the agent's config.
  4. Check usage and billing dashboards for spikes, new keys or sign-ins you don't recognise, and set spending limits where the provider offers them.
  5. Reinstall Windows. A stealer with its own loader is hard to rule out by cleaning.

For security teams, add AI tool folders to the scope of every infostealer investigation on a developer endpoint. Treat a hit in endpoint, DNS or proxy logs as a lead, and compare the timing with AI sign-ins and API usage before concluding that an account was used. Blocking the Run dialog and PowerShell for standard users cuts off the ClickFix route.

Stolen sessions and keys usually surface first in stealer logs traded on criminal markets. Our Deep/Dark Web monitoring watches those logs for your company's domains and staff accounts, so a leaked token can be revoked before someone starts spending on it.

NEWSLETTER

The week’s news,
every Friday.

A short email with what we published that week. You can unsubscribe from any of them.

FRIDAY DIGEST · SAMPLE4TIFY NEWSROOM

This week in security

  • 01Public exploit out for vBulletin flaw that needs no login
  • 02EAGERBEE, ShadowRelay and PhantomNet backdoors hit Russia and Belarus
  • 03European Commission IT outage leaves staff without VPN and email

+ 6 MORE IN THIS ISSUE · UNSUBSCRIBE IN ONE CLICK

ONE OFFER

More than one product?
Get one offer.

Tell us what you need to protect and your budget, monthly or yearly. We combine the products into one offer and one contract, sized to that budget, and we stay with you after it is signed.

Ask for an offer Just tell us how many assets you have and what you want to spend.