# GHSA-46Q8-4H48-V8WC: Malicious code in xblaxw (npm)

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

## Affected versions

- xblaxw (npm): 2.0.0
- xblaxw (npm): 1.0.1
- xblaxw (npm): 99.0.1
- xblaxw (npm): 1.0.0
- xblaxw (npm): 2.0.1
- xblaxw (npm): 3.0.0
- xblaxw (npm): 1.1.0

## Description

## Source: amazon-inspector (2d2e0b35582727d314517ea66b234f665258076783678cdf645075a7294a0aed)
xblaxw@1.1.0 is a stub package whose only behavior is a beacon. The package.json postinstall script runs `node beacon.cjs`, which collects host identifiers (hostname, install path, process.cwd(), process.version) and POSTs them as JSON to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc over plaintext HTTP. The same beacon is re-fired on require(): index.js exports a Proxy that returns a no-op function for any property access and calls require('./beacon.cjs').fire() on load, so the exfiltration also triggers whenever a consumer imports the package. The package description is 'Compatibility shim.' with no real functionality — the Proxy-of-noops export is consistent with a dependency-confusion / name-squat beacon designed to confirm which internal names resolve to this public package and report back installer host metadata to the operator at 185.158.107.175:8787.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/198de23effaed79e1ee13ae86d2b350a1411ba67/osv/malicious/npm/xblaxw/MAL-2026-17708.json))

## References

- https://github.com/ossf/malicious-packages/blob/198de23effaed79e1ee13ae86d2b350a1411ba67/osv/malicious/npm/xblaxw/MAL-2026-17708.json
- https://www.npmjs.com/package/xblaxw/v/1.0.0
- https://www.npmjs.com/package/xblaxw/v/1.0.1
- https://www.npmjs.com/package/xblaxw/v/1.1.0
- https://www.npmjs.com/package/xblaxw/v/2.0.0
- https://www.npmjs.com/package/xblaxw/v/2.0.1
- https://www.npmjs.com/package/xblaxw/v/3.0.0
- https://www.npmjs.com/package/xblaxw/v/99.0.1
- https://github.com/advisories/GHSA-46q8-4h48-v8wc

Page: https://cve.now/GHSA-46Q8-4H48-V8WC

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