# GHSA-Q29M-W8XX-CVVG: Malicious code in xapi-lib (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-16
- Modified: 2026-10-16

## Affected versions

- xapi-lib (npm): 88.2.5
- xapi-lib (npm): 88.2.3
- xapi-lib (npm): 90.2.1
- xapi-lib (npm): 90.3.1

## Description

xapi-lib@88.2.3, 88.2.5, 90.2.1, and 90.3.1 describes itself as a package for getting IP location and metadata. Its preinstall hook runs `node index.js` on npm install and requests `https://realwbx.com/ip.php?ip=8.8.8.8` with the hardcoded Authorization value `fa79878bc2cfb48bd5127ae26fb661b1`, which is the same in all four versions and differs from the value in each of the account's other packages. The npm account conx3993 published xapi-lib on 2026-10-15, one of 9 packages from that account between 2026-09-30 and 2026-10-15 whose preinstall hook calls realwbx.com.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/798551e0aadf962c762dca53ac219e33e463dc17/osv/malicious/npm/xapi-lib/MAL-2026-17896.json))

## References

- https://github.com/ossf/malicious-packages/blob/798551e0aadf962c762dca53ac219e33e463dc17/osv/malicious/npm/xapi-lib/MAL-2026-17896.json
- https://www.npmjs.com/package/xapi-lib
- https://github.com/ossf/malicious-packages/blob/a8172365971d40f1366c0077845ee3b183f48c10/osv/malicious/npm/xapi-lib/MAL-2026-17896.json
- https://www.npmjs.com/package/xapi-lib/v/88.2.3
- https://www.npmjs.com/package/xapi-lib/v/88.2.5
- https://www.npmjs.com/package/xapi-lib/v/90.2.1
- https://www.npmjs.com/package/xapi-lib/v/90.3.1
- https://github.com/advisories/GHSA-q29m-w8xx-cvvg

Page: https://cve.now/GHSA-Q29M-W8XX-CVVG

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