Skip to main content
Mallory
← Back to News
credential-stealer-activitycybercrime-service-ecosystemai-enabled-threat-activity

Infostealers Target AI Coding Agents for Tokens, Secrets and Prompt Histories

Malware Intelligence · 7 sources · Updated 3mo ago · First seen Sep 8, 2026

Infostealers Target AI Coding Agents for Tokens, Secrets and Prompt Histories

Information-stealing malware operators are expanding collection rules to harvest locally stored artifacts from AI-assisted development tools including Claude, Codex, Cursor, Cline, Continue, OpenCode, Gemini, and Kilo. Targeted files can contain account and refresh tokens, API keys, MCP configuration secrets, connected-service credentials, prompt and conversation histories, project metadata, and account details—creating opportunities for account takeover, paid API abuse, intellectual-property exposure, phishing, and fraud. The activity does not exploit a vulnerability in the AI agents; stealers already installed on endpoints are being remotely reconfigured to collect predictable local data stores.

Gen Digital observed multiple established stealer families pursuing these artifacts, while BlackFog reported that the MaaS malware Bee Stealer v2.1 includes dedicated .codex and .claude collection paths and advertises theft of associated authentication data and chat histories. Bee Stealer also gathers browser and application data, system information, screenshots, and user files, then uses an "AI PC profile" feature to generate English- and Russian-language victim profiles from stolen logs. Its operator panel supports searching, filtering, tagging, bulk log downloads, and processing stolen Google access tokens, enabling criminals to quickly identify and prioritize high-value victims.

Why it matters

Impact assessment

Information-stealer operators are now treating AI coding-agent artifacts as high-value identity, credential, and intellectual-property targets. Organizations using Claude, Codex, Cursor, Cline, Continue, OpenCode, Gemini, or Kilo on managed or unmanaged developer endpoints face account takeover, paid API abuse, compromise of MCP-connected services, source-code and prompt-history exposure, and follow-on phishing.

  • Scope: Broad and opportunistic. This is an expansion of existing infostealer collection rules on already compromised endpoints, not a vulnerability in the AI agents.
  • Affected populations: Software engineering, DevOps, cloud, security, and data teams; especially users whose AI agents connect to source control, ticketing, cloud, database, or collaboration services through MCP or saved credentials.
  • Severity: High where locally stored refresh tokens, API keys, or MCP secrets enable durable access to external business systems. Prompt and conversation histories can expose proprietary code, internal hostnames, deployment details, incident-response material, and secrets pasted during troubleshooting.
  • Financial and operational impact: Stolen LLM API keys enable LLMjacking, producing direct consumption charges, cloud compute abuse, and disruption of AI-enabled workflows. A reported Mandiant engagement involved an exposed GitHub Personal Access Token used to enter a cloud environment and deploy unauthorized AI infrastructure at scale.
  • Exploitation in the wild: Yes. Gen Digital observed multiple stealer families adding AI-agent artifact collection; Okta identified unexpired AI-related tokens and active API keys in a Telegram-distributed infostealer dataset. The reporting does not establish exploitation of a software flaw in any named AI agent.

Reference-specific facts

  • Gen Digital: Infostealer detections exceeded 3.3 million protected users in the first half of 2026, with monthly detections above 500,000. Amatera and Remus were detected among tens of thousands of protected Windows users over three months.
  • Okta / The Hacker News: A 7 GB Telegram dump released on 2026-08-02 contained artifacts from 5,871 infected systems in 162 countries, including 1,843 unexpired JWT/JWE tokens at release and 24 valid API keys for Gemini, OpenAI, Groq, and OpenRouter.
  • BlackFog: Bee Stealer v2.1 is marketed as Windows MaaS and supports post-exfiltration victim profiling to prioritize valuable victims before sessions expire.
  • Auth0: LLMjacking can cause billing fraud, sensitive-data exposure, workflow disruption, and potential exposure of custom-model knowledge or internal data pipelines.
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · 2026 – Aug 2, 2026
  1. Reported Sep 7, 20263mo ago

    Bee Stealer 2.1 adds AI victim profiling and AI-agent collection paths

    Bee Stealer version 2.1 introduced an AI PC profile feature that generates English and Russian victim-profile files from stolen log data, apparently through external service-side processing. Static analysis also verified dedicated .codex and .claude collection paths, though the precise files or fields exfiltrated from those locations were not fully confirmed.

    Bee Stealer Targets Codex And Claude, Uses AI To Profile Victims | BlackFog
  2. Reported Sep 3, 20263mo ago

    Researchers identify AI-agent targeting by established stealers

    Amatera was observed targeting Cline and Continue data, while Remus targeted Claude, Cursor, and OpenCode; CallbackBeaver added Cursor and Claude artifacts to its collection scope. BeeStealer, STG Stealer, HydraStealer, APEX Stealer, Otter Stealer, and macOS-focused Djinn Stealer were also associated with AI-agent-data collection.

    Gen Blogs | Infostealers Have Found a New Target: Your AI Agent
  3. Reported Sep 3, 20263mo ago

    Infostealers expand collection to local AI-agent artifacts

    Multiple information-stealing malware families expanded remotely managed collection rules to target locally stored data from AI development agents, including Claude, Cline, Codex, Continue, Cursor, OpenCode, Gemini, and Kilo. The targeted artifacts can include session and refresh tokens, MCP configuration secrets, API keys, prompt histories, conversations, and project metadata; the activity does not rely on a vulnerability in the AI agents.

    Gen Blogs | Infostealers Have Found a New Target: Your AI Agent
  4. Aug 2, 20264mo ago

    Okta finds replayable AI tokens in Telegram-released stealer dump

    Okta analyzed a 7 GB infostealer dump released on Telegram on August 2, 2026, containing data from 5,871 infected machines in 162 countries. The dataset included thousands of unexpired AI-service authentication tokens and still-valid API keys that could be replayed or abused for account takeover and LLMjacking.

    Infostealer Logs Expose Replayable AI Tokens That Can Bypass MFA
  5. 2026

    Infostealer detections exceed 3.3 million protected users

    During the first half of 2026, Gen Digital telemetry recorded infostealer detections among more than 3.3 million unique protected users, with monthly detections exceeding 500,000 protected users.

    Gen Blogs | Infostealers Have Found a New Target: Your AI Agent
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

6 linked
ChatgptCursorClaudeClineCodexContinue

Organizations

2 linked
AnthropicGoogle
Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.