Home › Intelligence › Brief
BREACH BRIEF🟠 High ThreatIntel

Aokigahara Stealer Harvests Developer Keyrings and AI‑Assistant Sessions

The Aokigahara malware family now targets developer secret stores and active AI‑assistant sessions, exfiltrating SSH keys, cloud tokens, and AI session cookies from at least 27 organizations. The incident highlights the importance of credential‑management controls and continuous monitoring for audit readiness.

LiveThreat™ Intelligence · 📅 November 18, 2026· 📰 darkreading.com
🟠
Severity
High
TI
Type
ThreatIntel
🎯
Confidence
High
🏢
Affected
3 sector(s)
✅
Actions
3 recommended
📰
Source
darkreading.com

“Aokigahara” Stealer Harvests Developer Keyrings and AI‑Assistant Sessions

What Happened — The “Aokigahara” malware family, first observed in early 2024, has evolved from a classic credential‑stealer into a tool that specifically targets developer secret stores (e.g., SSH keyrings, Git credential helpers, cloud‑API tokens) and active sessions of AI‑assisted development tools such as GitHub Copilot, Microsoft Copilot, and OpenAI ChatGPT. Researchers at Mandiant Threat Intelligence first reported the campaign on 15 May 2024 after a series of alerts from endpoint‑detection platforms flagged a new PowerShell‑based loader that drops a modular stealer component.

The initial infection vector appears to be a malicious PowerShell script delivered via a compromised npm package. Once executed, the loader establishes persistence through a scheduled task and contacts a command‑and‑control (C2) server hosted on a fast‑flux domain. The C2 issues a “collect‑secrets” command, prompting the stealer to enumerate credential stores using native OS APIs (e.g., ssh‑add -L, Windows Credential Manager) and to scrape active browser cookies and local storage entries associated with AI‑assistant web interfaces.

From the harvested data, the malware extracts:

  • Developer keys – SSH private keys, GPG signing keys, personal access tokens for GitHub, GitLab, Azure DevOps, and AWS IAM access keys.
  • AI‑assistant session tokens – OAuth refresh tokens and session cookies for services such as ChatGPT, Claude, and Copilot, enabling an adversary to continue a conversation thread or issue new prompts under the victim’s identity.
  • Business‑critical files – *.env files, Kubernetes config maps, and Docker compose files that often embed database passwords and service‑to‑service credentials.

The stolen artifacts are packaged into an encrypted ZIP archive and exfiltrated via HTTPS to the C2 endpoint. In the first month of observation, Mandiant identified at least 27 distinct victim organizations across technology, finance, and healthcare sectors, with an estimated 4,300 compromised developer accounts.

Detection was achieved through a combination of heuristic alerts (unusual PowerShell command lines) and a signature match for the stealer’s unique “Aokigahara” beacon string. Affected vendors issued emergency advisories, recommending immediate rotation of all exposed keys and revocation of AI‑assistant tokens.

Why It Matters for Trust & Control Assurance — The incident underscores the need for robust credential‑management controls and continuous monitoring of privileged developer assets.

Who Is Affected — Software development teams, cloud‑infrastructure operators, and any organization that integrates AI‑assisted coding tools into its workflow.

Recommended Actions

  • Audit and rotate all developer secrets (SSH keys, API tokens, OAuth tokens) on a regular cadence; enforce short‑lived credentials where possible.
  • Deploy endpoint‑detection and response (EDR) rules that flag PowerShell scripts invoking credential‑store APIs or accessing AI‑assistant domains.
  • Implement zero‑trust access policies for development environments, limiting the ability of a single endpoint to read multiple secret stores.
  • Enforce multi‑factor authentication (MFA) for AI‑assistant portals and require separate service accounts for automated tooling.
  • Conduct a post‑incident forensic review to identify any persisted back‑doors and to verify that exfiltrated tokens have been revoked.

Technical Notes — The loader is signed with a self‑generated certificate, bypassing basic signature checks. It uses the Invoke‑WebRequest PowerShell cmdlet to retrieve the stealer payload, and the C2 communication is encrypted with AES‑256‑GCM. No public CVE is associated with the technique; the threat leverages legitimate OS APIs rather than exploiting a software flaw. Source: https://www.darkreading.com/endpoint-security/aokigahara-stealer-developer-keyrings-ai-assistants

📰 Original Source
https://www.darkreading.com/endpoint-security/aokigahara-stealer-developer-keyrings-ai-assistants ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Could you prove your access controls held up here?

Credential and access failures map directly to identity and access-control requirements in every major framework. The Verisq AI Trust Operations platform shows where your evidence is thin before an auditor — or an attacker — finds out.

Explore the Verisq AI Trust Operations platform →