Malicious code in @rockawayx/utils (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e286c45b54ab9002ef8b7eec7ec686afc0bb82c2867c3640c460c8d1052b2bab) @rockawayx/utils squats the unclaimed @rockawayx npm scope and runs a preinstall beacon on every install. package.json declares `"preinstall": "node notify.js || true"`; notify.js collects os.hostname(), os.userInfo().username, os.platform(), and a timestamp and POSTs them as JSON to https://2.25.140.71:8443/rockawayx/depconf-poc with `rejectUnauthorized: false` (TLS verification disabled). The destination is a hardcoded bare IPv4, not a publisher-owned domain. Any build that resolves @rockawayx/* against the public registry — the canonical dependency-confusion victim — will pull this package and silently transmit host identifiers to the bare IP. The README frames the package as authorized security research, but the code performs the same install-time exfiltration any dependency-confusion attacker would, and consumers in any pipeline (not only the targeted organization) trigger the beacon without consent. ## Source: ghsa-malware (0589008d3fa59a42b7966057037dcd5ac92de8b695d9e2ed8274f775d96a65ab) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The @rockawayx/utils package (version 0.0.1) is a malicious npm package that abuses the unclaimed @rockawayx scope. It runs a preinstall script that collects system identifiers (hostname, username, platform, timestamp) and sends them via an unverified TLS POST request to a hardcoded IPv4 address (https://2.25.140.71:8443/rockawayx/depconf-poc). This behavior occurs silently during installation, enabling dependency-confusion style attacks. The package's README misleadingly claims it is authorized security research, but the code performs unauthorized data exfiltration. Systems that install this package are considered fully compromised, with potential for further malicious control beyond the package itself.
Potential Impact
Systems that install @rockawayx/utils version 0.0.1 are subject to silent exfiltration of sensitive host information. The attacker gains knowledge of system identifiers and potentially further control, as the package runs code during installation. The compromise is severe enough that all secrets and keys on the affected system should be rotated from a separate, trusted machine. Removing the package alone may not eliminate all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
Remove the @rockawayx/utils package version 0.0.1 immediately from all affected systems. Consider all systems with this package installed as fully compromised. Rotate all secrets, keys, and credentials from a separate, secure environment. There is no official patch or fix available. Avoid installing packages from untrusted or unclaimed npm scopes. Monitor dependency sources carefully to prevent dependency confusion attacks.
Malicious code in @rockawayx/utils (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e286c45b54ab9002ef8b7eec7ec686afc0bb82c2867c3640c460c8d1052b2bab) @rockawayx/utils squats the unclaimed @rockawayx npm scope and runs a preinstall beacon on every install. package.json declares `"preinstall": "node notify.js || true"`; notify.js collects os.hostname(), os.userInfo().username, os.platform(), and a timestamp and POSTs them as JSON to https://2.25.140.71:8443/rockawayx/depconf-poc with `rejectUnauthorized: false` (TLS verification disabled). The destination is a hardcoded bare IPv4, not a publisher-owned domain. Any build that resolves @rockawayx/* against the public registry — the canonical dependency-confusion victim — will pull this package and silently transmit host identifiers to the bare IP. The README frames the package as authorized security research, but the code performs the same install-time exfiltration any dependency-confusion attacker would, and consumers in any pipeline (not only the targeted organization) trigger the beacon without consent. ## Source: ghsa-malware (0589008d3fa59a42b7966057037dcd5ac92de8b695d9e2ed8274f775d96a65ab) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @rockawayx/utils package (version 0.0.1) is a malicious npm package that abuses the unclaimed @rockawayx scope. It runs a preinstall script that collects system identifiers (hostname, username, platform, timestamp) and sends them via an unverified TLS POST request to a hardcoded IPv4 address (https://2.25.140.71:8443/rockawayx/depconf-poc). This behavior occurs silently during installation, enabling dependency-confusion style attacks. The package's README misleadingly claims it is authorized security research, but the code performs unauthorized data exfiltration. Systems that install this package are considered fully compromised, with potential for further malicious control beyond the package itself.
Potential Impact
Systems that install @rockawayx/utils version 0.0.1 are subject to silent exfiltration of sensitive host information. The attacker gains knowledge of system identifiers and potentially further control, as the package runs code during installation. The compromise is severe enough that all secrets and keys on the affected system should be rotated from a separate, trusted machine. Removing the package alone may not eliminate all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
Remove the @rockawayx/utils package version 0.0.1 immediately from all affected systems. Consider all systems with this package installed as fully compromised. Rotate all secrets, keys, and credentials from a separate, secure environment. There is no official patch or fix available. Avoid installing packages from untrusted or unclaimed npm scopes. Monitor dependency sources carefully to prevent dependency confusion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5462
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-gj9m-m6gg-c8cx"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5168715ace432f00bd
Added to database: 07/14/2026, 09:20:17 UTC
Last enriched: 07/14/2026, 09:26:41 UTC
Last updated: 07/30/2026, 19:26:05 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.