---
id: "GHSA-75r2-hqv3-4f7q"
kind: "package"
aliases: ["GHSA-75r2-hqv3-4f7q", "MAL-2026-17874"]
title: "Malicious code in @user-interface-common/common-styles (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@user-interface-common/common-styles", "fixed": [], "affected": "all versions", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-13T00:00:00+00:00"
first_seen_at: "2026-11-03T23:14:54+00:00"
updated_at: "2026-11-03T23:16:01+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-17874", "first_seen_at": "2026-11-03T23:14:54+00:00"}]
---

# Malicious code in @user-interface-common/common-styles (npm)

## Affected

- npm:@user-interface-common/common-styles affected all versions fixed ?

## Timeline

- 2026-11-03T23:14:54+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-17874

## From the sources

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.

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (c42cb769de386a9960f414c50f8e5ce947efc022fce653c3d2ba1f5e7e1abbd5)
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.

## Source: ghsa-malware (5f0e98e3dc5c4b5d270667f55fe4ad37808e127735d93f3321e9e7c9831cb71d)
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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
