AIDEFEND in Action AIA-0113 Incident Published: Oct 26, 2026

Remus: Infostealers Target AI Client Credentials and Local History

Remus is Windows malware that steals application data after gaining execution on a device. SpyCloud identified AI-client directories among its configurable collection targets, including Codex, Cursor and OpenCode. The AI-security exposure is reusable credentials and locally retained activity data; protecting an agent tool alone does not contain malware already running elsewhere on the host.

Credential TheftMalwareClient SecurityCredential GovernanceAI Coding Agent
3 applicable AIDEFEND defenses
Source: Remus: A New Infostealer 
Author: SpyCloud Labs
Original article: Sep 10, 2026

Threat Analysis

  • The attacker reads the client, not the model: once malware is running on the device, application directories become collection targets. AI credentials may enable subsequent service access, while saved files can expose earlier work without another model request.
  • Keep the AI boundary precise: a client-owned MCP cache can have expiry and cleanup; a managed secret can be removed from plaintext configuration. Neither defeats an attacker with unrestricted access to the same running user session.
  • Collection and reuse are separate harms: reducing local artifacts limits what can be stolen. Issuer-side revocation limits later access with stolen credentials, but cannot undo data already sent out.

Applicable AIDEFEND Defenses (3)

AID-H-028.003
Client-Side Data Hygiene & Leakage Prevention
High
On client-managed MCP caches and temporary artifacts, inventory exact paths, minimize sensitive retention, enforce policy-bound expiry and verify deletion across restarts and cleanup failure. Shorter retention materially reduces historical content available to a later file collector. This owns client artifacts, not browser-wide history or every Codex/Cursor/OpenCode transcript; an active infostealer can still read data before expiry. Client developers can redact secrets and unnecessary personal data before writing client-owned MCP logs, rather than waiting for retention expiry. Test synthetic credentials through nested log fields and failure paths, and inspect the actual files. This reduces the sensitive content a later file collector can obtain from those logs; it does not sanitize every product conversation database, live memory or original credential file.
AID-E-001.001
Root & Long-Lived Credential Object Eviction
High
After credible theft evidence, use a clean administrative environment to identify and replace the exact affected long-lived AI API keys or client secrets at their issuers, then test denial of the old credentials and least-privilege operation of replacements. The AWS example needs provider-specific adapters for the actual AI services. This contains future credential reuse; it does not remove host malware or recover exfiltrated files.
AID-H-028.002
Client Credential Secure Storage & Lifecycle Management
Medium
For defender-managed MCP client credentials, replace plaintext configuration secrets with scoped OS-keychain or managed-secret references, deny plaintext fallback and verify access under an unauthorized identity. This removes a file-collection target only where the client actually supports that integration. It does not stop same-user malware able to unlock the keychain, intercept retrieval or read process memory, and is not a retrofit claim for every named AI product.

What Defenders Should Do Now

  • Inventory AI-client configuration, secrets and client-owned artifact paths. Verify supported secure storage and retention behavior using synthetic secrets, including logs, backups and crash artifacts.
  • If compromise is suspected, isolate and investigate the endpoint. Perform AI-account remediation from a clean device, rotate affected long-lived keys and separately revoke issued sessions where supported.
  • Verify old-key denial and review provider access records for misuse. Do not count MFA enrollment or a changed local config file as proof that a copied session token stopped working.
  • Redact client-owned protocol logs before persistence as well as expiring old copies; test nested fields and error paths.

Conclusion

AIDEFEND  directs AI-client owners toward smaller local data exposure and verified credential eviction. These measures complement host incident response: they reduce what a file stealer can obtain and what it can keep using, without claiming that an AI control can disinfect the device.

Last updated: