TL;DR
- Infostealer malware now copies the sign-in files of AI coding tools from developer laptops, including tokens and session cookies.
- A live session or token can outlive a password reset and skip the extra check on a new sign-in, so an infected laptop is an identity case.
- WardenStealer and Aoki are the two families SpyCloud tracked in detail, and their AI collection is new and still growing.
- Revoke sessions first, then keys for every AI tool on an infected device, then watch for unusual application programming interface (API) use.
Infostealer malware now takes more than saved passwords. It takes the signed-in state of AI coding tools, and that state can work without the password and often survives a password reset. Decide this week whether an infected developer laptop counts as an identity incident, and whether AI tool tokens and session cookies are in scope for revocation.
What the stealers take now#
For a decade an infostealer log held saved passwords, browser cookies and autofill data. Two families now add a module for AI tools. SpyCloud, which has ingested recaptured logs from both, says the files come from Claude Code, OpenAI’s Codex, Cursor, GitHub Copilot and the desktop apps for Claude and ChatGPT.
In a Claude Code install the target is a file that holds OAuth access and refresh tokens, along with tokens for connected MCP servers. The Codex authentication file stores an API key next to its own access and refresh tokens. The log also carries the CLAUDE.md file, which Claude Code loads as standing instructions.
One of the two, Aoki, also goes by the name Aokigahara. Check Point’s analysis under that name describes a dedicated AI-sessions handler. That handler targets Claude, ChatGPT Desktop, Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI and JetBrains AI Assistant. It also reads AWS credentials and the single sign-on cache, and it queries the Windows Credential Manager. Check Point does not confirm how the operators sell what they collect.
Why a stolen AI token beats a password reset#
A saved password is something the victim can rotate. SpyCloud argues that AI tool tokens are different. They carry the developer’s own access, and much of that access survives both a password reset and the extra check on a new sign-in. A live session cookie lets an attacker resume a signed-in session directly, without the password and without the login step that would normally ask again.
Symantec makes the same point from the attacker’s side, as reported by Infosecurity Magazine. A stolen token lets someone act under a developer’s identity and quota, past safeguards that assume the request comes from a trusted user. The token can also reach the repositories, cloud services and build pipelines linked to that account.
For an AI agent this goes further than a chat login. A stolen CLAUDE.md file or MCP configuration can show the attacker what the tokens reach, so the log also works as a map of the environment.
What the two families do#
WardenStealer is a Windows stealer written in Rust and sold as a service. SpyCloud first saw it on 3 August 2026 and has recaptured more than 130,000 unique infections. The AI tools sit as ordinary subfolders beside Discord, Steam and AnyDesk. According to SpyCloud, which cites Gen Digital, AI-agent collection reached the family in stages, and the standard build folded it in at version 1.9 on 29 September 2026.
Aoki is narrower. SpyCloud first saw it on 4 October 2026, and Symantec published the first vendor analysis on 15 October. Its logs keep AI material in a dedicated folder with one subfolder per tool, and include cookie files for the web-backed desktop apps. Symantec says earlier builds did not touch AI files, and that this capability is recent and still expanding.
Symantec did not establish how Aoki reaches a machine. Where SpyCloud has delivery data, it points to the usual commodity routes: paste-and-run lures, malicious search ads, fake game cheats and trojanized installers. That is the same entry point as any other stealer, so the normal endpoint controls still decide whether a laptop gets infected.
Where the stolen tokens go#
SpyCloud’s monitoring of Telegram found shops selling AI access well below list price, with deposits from one dollar. SpyCloud says that pricing strongly suggests stolen keys, but it cannot confirm that every key came from an infostealer rather than from secret scanning, phishing or fake signups. The resale pattern has a name, large language model hijacking (LLMjacking): someone bills model use to a paid account they do not own.
Symantec puts the risk in one line. A stolen AI key can be cashed in directly, like card data, and unlike card data it also gives a route into the developer’s wider environment. The second part is the one a security team has to plan for.
What to do in the next 30 days#
- Find where your AI coding tools keep sign-in state on managed laptops: Claude Code, Codex, Cursor, GitHub Copilot and the desktop chat apps. Ask the endpoint and identity teams to list the files each tool writes.
- Treat an infostealer detection on a developer device as an identity event, not only a malware clean-up. Revoke the AI service sessions first, because a cookie stays valid until the service ends it. Then rotate the API keys and the tokens for connected MCP servers, repositories and cloud accounts. Check what each revocation really ends: in our Entra test of a revoked client secret, removing the secret stopped new tokens, but tokens already issued kept working until the app’s service principal was disabled.
- Put those files in scope for detection. Alert when an unexpected process reads the credential files of AI tools, and make sure the alert reaches someone who can act on it outside office hours.
- Set spend limits and usage alerts on AI API keys, and find the keys kept outside your secrets vault.
- After rotation, watch the affected accounts for unusual API volume, new OAuth grants and sign-ins from unfamiliar hosts. SpyCloud’s advice is the same: watch for anomalous API use.
Questions for your team and vendors#
- Which AI coding tools on our laptops keep OAuth tokens, API keys or session cookies in local files, and who owns that list?
- When we reset a user’s password, do the AI vendor’s active sessions and refresh tokens end too, and how long does that take?
- Can our endpoint tool alert on reads of the credential files that Claude Code, Codex and Cursor write?
- Which systems can a stolen agent token reach through connected MCP servers, repositories and cloud roles, and how fast can we cut each one off?
- Do our AI API keys have spend limits and alerts, and who gets paged when usage jumps?
How sure we are#
Evidence level: observed. The findings on the two families come from recaptured logs (SpyCloud) and from malware analysis (Check Point, and Symantec as reported by Infosecurity Magazine). The weakest part is the resale market. The sources show prices and listings, not how many keys sell or how many were stolen by infostealers.
Sources#
This post as Markdown · RSS · JSON feed
New posts by email
One email a week with new posts and labs. Unsubscribe anytime.
Your address is stored with Kit, which sends the emails. Details