@caliperx2/componentsnpm
Advisory published Updated
@caliperx2/components is a confirmed malicious npm package (MAL-2026-16007) that steals credentials and exfiltrates sensitive data. Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @caliperx2/components (npm)
What this malware does
This package is malicious. It is not a real library. An attacker put it on the public npm registry. The package name is a copy of a private, internal package name. This is a dependency confusion attack. A build that gets the name from public npm installs this package in place of the real one.
The package.json has a preinstall script. npm runs this script during install. The script file is preinstall.js. It runs before a person can read the code.
The script collects data about the host. It reads the host name, the user name, the current directory, the install directory, the package name, the package version, the operating system, the Node.js version, and the npm user-agent text.
The script sends this data to remote servers. It uses three ways. First, it makes a DNS request to a subdomain of oast.online. It writes the token, the package name, the host name, and the user name into the DNS name as hex text. Second, it sends an HTTPS POST with the data as JSON to the same oast.online host. If HTTPS fails, it uses plain HTTP. Third, it sends an HTTP POST with the same JSON to a fixed IP address, 5.189.159.252. The beacon uses a fixed token, caliperx2-4d5f8e2a9b1c.
The code comments say this is authorized bug-bounty research. The behavior is still an unwanted install-time beacon. It sends host data to attacker-controlled servers without consent. All versions are malicious. Treat every host that installed this package as exposed. Remove the package. Look for DNS and HTTP traffic to the listed servers.
Malicious versions
Every published version of this package is considered malicious — remove it entirely.
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @caliperx2/components (all published versions).
If you installed it — respond
@caliperx2/components 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 @caliperx2/components 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
References
Credits
- SafeDep · finder
Detect & block this
O3 blocks @caliperx2/components-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.