Skip to main content

Malicious code in @rockawayx/utils (npm)

0
Critical
Published: 06/09/2026 (06/09/2026, 20:25:07 UTC)
Source: GCVE Database
Product: @rockawayx/utils

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

npmghsa
@rockawayx/utils
Affected versions
=0.0.1

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

AILast updated: 09/12/2026, 16:47:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses