@user-interface-common/common-stylesnpm
Advisory published Updated
@user-interface-common/common-styles is a confirmed malicious npm package (MAL-2026-17874) that steals credentials and exfiltrates sensitive data (malicious version 66.1.6). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @user-interface-common/common-styles (npm)
What this malware does
npm user 'conx3993' published this package in a dependency confusion campaign. It squats a name that looks like an internal package and uses version 66.1.6 so misconfigured resolvers pick it over the real one. Version 0.0.0-stage is an empty placeholder. A 'preinstall' hook runs 'index.js', which poses as an IP geolocation helper. On install it sends an HTTPS GET to attacker-controlled host realwbx.com (/ip.php?ip=8.8.8.8) with a hard-coded 'Authorization' value ('bddd640d75c36bd562755a0044764366') unique to this package, then discards the response. The token tells the operator which internal package name the victim installed, and the request reveals the victim's public egress IP.
The npm package @user-interface-common/common-styles declares a preinstall lifecycle script that runs index.js on every install. index.js performs an HTTPS GET to https://realwbx.com/ip.php with a hardcoded Authorization token (bddd640d75c36bd562755a0044764366), notifying the external host of the installer's source IP, install timing, and a static identifier at install time. The package name and scope present it as a UI/styles library, but its description ("This package is for get the IP location and metadata") and shipped code contradict that purpose, and the destination domain is unrelated to any legitimate styles-package publisher. The scope-plus-name shape and install-time beacon to a non-publisher host are consistent with a dependency-confusion / typosquat install beacon.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @user-interface-common/common-styles (version 66.1.6).
If you installed it — respond
@user-interface-common/common-styles is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @user-interface-common/common-styles was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- SafeDep · finder
Detect & block this
O3 blocks @user-interface-common/common-styles-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.