MAL-2026-4860 Malicious code in @qlab/ui (npm)
- Package
- @qlab/ui
- Registry
- npm
What is MAL-2026-4860?
MAL-2026-4860 is a malicious package in @qlab/ui, published on 28 May 2026.
Official description
package.json declares scripts.preinstall: node index.js, causing index.js to run automatically during npm install. index.js collects os.hostname(), os.userInfo().username, os.homedir(), dns.getServers(), the current working directory, and the contents of package.json, then POSTs the payload over HTTPS to https://eo1e4fhn1i67p8r.m.pipedream.net. The same beacon is duplicated in ai/index.js, which is exposed through the package's exports map as ./ai, so require('@qlab/ui/ai') re-fires the POST at import time. The combination of preinstall lifecycle execution, an attacker-controlled webhook endpoint, and harvesting of installer host/user/DNS/package metadata is a dependency-confusion reconnaissance beacon targeting the @qlab scope. Installers are the direct victims: simply running npm install ships their machine identity to the attacker.
The OpenSSF Package Analysis project identified '@qlab/ui' @ 2.0.6 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
What should I do about MAL-2026-4860?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.