Malicious code in @rockawayx/utils (npm)
The @rockawayx/utils npm package (version 0.0.1) contains malicious code that executes a preinstall script to silently exfiltrate host system information to a hardcoded IP address. This package squats the unclaimed @rockawayx npm scope and sends data such as hostname, username, platform, and timestamp without user consent. The package masquerades as authorized security research but performs unauthorized data transmission during installation. Systems with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The @rockawayx/utils package version 0.0.1 is a malicious npm package that exploits dependency confusion by squatting the unclaimed @rockawayx scope. It includes a preinstall script in package.json that runs notify.js, which collects system identifiers (hostname, username, platform, timestamp) and sends them as JSON to a hardcoded IPv4 address (https://2.25.140.71:8443/rockawayx/depconf-poc) with TLS verification disabled. This exfiltration occurs silently during installation, affecting any build that resolves @rockawayx/* packages from the public registry. Although the README claims the package is for authorized security research, the behavior is consistent with dependency-confusion attacks, compromising any consumer pipeline that installs it.
Potential Impact
Any computer that installs or runs this package is considered fully compromised. The attacker gains access to sensitive host identifiers and potentially full control over the system. All secrets and keys stored on the compromised machine should be rotated immediately from a secure, unaffected device. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the package.
Mitigation Recommendations
Immediate removal of the @rockawayx/utils package version 0.0.1 is recommended. All secrets and credentials on affected systems should be rotated from a different, trusted machine. Since no official fix or patch is available and the package is malicious by design, 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
The @rockawayx/utils npm package (version 0.0.1) contains malicious code that executes a preinstall script to silently exfiltrate host system information to a hardcoded IP address. This package squats the unclaimed @rockawayx npm scope and sends data such as hostname, username, platform, and timestamp without user consent. The package masquerades as authorized security research but performs unauthorized data transmission during installation. Systems with this package installed should be considered fully compromised.
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 exploits dependency confusion by squatting the unclaimed @rockawayx scope. It includes a preinstall script in package.json that runs notify.js, which collects system identifiers (hostname, username, platform, timestamp) and sends them as JSON to a hardcoded IPv4 address (https://2.25.140.71:8443/rockawayx/depconf-poc) with TLS verification disabled. This exfiltration occurs silently during installation, affecting any build that resolves @rockawayx/* packages from the public registry. Although the README claims the package is for authorized security research, the behavior is consistent with dependency-confusion attacks, compromising any consumer pipeline that installs it.
Potential Impact
Any computer that installs or runs this package is considered fully compromised. The attacker gains access to sensitive host identifiers and potentially full control over the system. All secrets and keys stored on the compromised machine should be rotated immediately from a secure, unaffected device. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the package.
Mitigation Recommendations
Immediate removal of the @rockawayx/utils package version 0.0.1 is recommended. All secrets and credentials on affected systems should be rotated from a different, trusted machine. Since no official fix or patch is available and the package is malicious by design, 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"]
Threat ID: 6a55ff5168715ace432f00bd
Added to database: 07/14/2026, 09:20:17 UTC
Last enriched: 09/12/2026, 16:47:59 UTC
Last updated: 09/12/2026, 16:47:59 UTC
Views: 58
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.