From 6 to 8 June 2025 an attacker used a leaked npm access token belonging to a gluestack maintainer, which gluestack says was not protected by two-factor authentication, to publish malicious versions of 16 @react-native-aria packages and one @gluestack-ui package. The hidden payload was a remote access trojan that could run commands and upload files from the developer's machine. If you installed an affected version, treat the machine as compromised and rotate the credentials it held.
| Disclosed | June 7, 2025 |
|---|---|
| Earliest known activity | June 6, 2025 |
| Affected | @react-native-aria/focus, @react-native-aria/utils, @react-native-aria/overlays, @gluestack-ui/utils, gluestack |
| Type | Supply chain |
| Status | Resolved |
What was exposed
Anything on a machine that installed and loaded an affected version. Aikido describes the payload as a remote access trojan that connects to a command-and-control server over socket.io, runs operator commands and uploads files, so SSH keys, cloud credentials, .npmrc and .env files, browser data and source code on that machine were all reachable. On Windows it also set up persistence under %LOCALAPPDATA%\Programs\Python\Python3127 and put that folder first on PATH. Gluestack says no system-level compromise was confirmed and argued impact was limited because the libraries are frontend code; the code still ran wherever the module was loaded, including in Node.js during tests and builds. The root cause was itself a credential: a long-lived npm token without 2FA.
Am I affected?
You are affected if a lockfile in your project resolved any of these versions between 6 and 8 June 2025: @react-native-aria/focus 0.2.10, utils 0.2.13, overlays 0.3.16, interactions 0.2.17, toggle 0.2.12, switch 0.2.5, checkbox 0.2.11, radio 0.2.14, button 0.2.11, menu 0.2.16, listbox 0.2.10, tabs 0.2.14, combobox 0.2.8, disclosure 0.2.9, slider 0.2.13, separator 0.2.7, or the @gluestack-ui package at 0.1.16 or 0.1.17 (Aikido names it @gluestack-ui/utils; gluestack's report says @gluestack-ui/core). Check firewall logs for connections to the IP addresses below and, on Windows, the Python3127 folder.
What to do now
- Run
npm listand searchpackage-lock.jsonandyarn.lockfor the versions above; upgrade to the clean releases and runnpm audit signatures. - If an affected version was loaded on a machine, isolate it and treat it as compromised. Aikido advises that the system should no longer be trusted.
- From a clean machine, rotate every credential the affected machine held, including SSH keys, npm and GitHub tokens, and cloud and API keys in
.envfiles. - Check firewall and proxy logs for outbound connections to
136.0.9.8and85.239.62.36. - If you publish packages, require 2FA for publishing and replace long-lived npm tokens with trusted publishing.
Keys to rotate
Guides to the credentials this incident put at risk:
- Rotate npm keys
- Rotate GitHub keys
- Rotate AWS (IAM access keys) keys
- Rotate Google Cloud (service account keys and API keys) keys
- Rotate Azure (Microsoft Entra app client secrets) keys
Timeline
-
@react-native-aria/focus0.2.10 is published with malicious code at 21:33 GMT, the package's first release in about eight months. Source - Fifteen more packages are compromised in two batches. Aikido publishes its analysis of the payload. Source
- Gluestack says it contained the incident at 01:22 GMT: compromised versions deprecated, tokens revoked and GitHub access restricted. Source
- Gluestack makes its public disclosure. It later published incident report RN-ARIA-2025-001 on 4 September 2025. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
- Malicious versions listed above, with the payload hidden after long runs of whitespace in
lib/commonjs/index.js. - Outbound connections to
136.0.9.8and85.239.62.36(gluestack lists ports 3306 and 27017). - Files under
%LOCALAPPDATA%\Programs\Python\Python3127on Windows.
What this changes for credential handling
- A single leaked publish token without 2FA was enough. BotPassword keeps registry tokens encrypted and injects them only into the command that needs them, instead of leaving them in files.
Frequently asked questions
Am I affected by the @react-native-aria/focus incident?
You are affected if a lockfile in your project resolved any of these versions between 6 and 8 June 2025: @react-native-aria/focus 0.2.10, utils 0.2.13, overlays 0.3.16, interactions 0.2.17, toggle 0.2.12, switch 0.2.5, checkbox 0.2.11, radio 0.2.14, button 0.2.11, menu 0.2.16, listbox 0.2.10, tabs 0.2.14, combobox 0.2.8, disclosure 0.2.9, slider 0.2.13, separator 0.2.7, or the @gluestack-ui package at 0.1.16 or 0.1.17 (Aikido names it @gluestack-ui/utils; gluestack's report says @gluestack-ui/core). Check firewall logs for connections to the IP addresses below and, on Windows, the Python3127 folder.
What was exposed in the @react-native-aria/focus incident?
Anything on a machine that installed and loaded an affected version. Aikido describes the payload as a remote access trojan that connects to a command-and-control server over socket.io, runs operator commands and uploads files, so SSH keys, cloud credentials, .npmrc and .env files, browser data and source code on that machine were all reachable. On Windows it also set up persistence under %LOCALAPPDATA%\Programs\Python\Python3127 and put that folder first on PATH. Gluestack says no system-level compromise was confirmed and argued impact was limited because the libraries are frontend code; the code still ran wherever the module was loaded, including in Node.js during tests and builds. The root cause was itself a credential: a long-lived npm token without 2FA.
Which keys should I rotate?
Rotate any npm, GitHub, AWS (IAM access keys), Google Cloud (service account keys and API keys), Azure (Microsoft Entra app client secrets) credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 32 @redhat-cloud-services npm packages compromised after a VS Code extension hijacked a GitHub account 2026-06-01
- 14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets 2026-05-28
- Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection 2026-05-18