VYPR

npm · Malicious package advisory

Malware

catplatebarcodeparser

GHSA-7h34-v43h-45gc

Malicious code in catplatebarcodeparser (npm)

Details

**Severity:** Critical

**Affected versions:** `= 99.2.1`

## Source: amazon-inspector (189a06b0d55d6dab795bcb9ba3a97aa855b2556a54e85e15adc9f5bf20399976)
[email protected] declares preinstall and postinstall lifecycle scripts that execute scripts/run.js on `npm install`. That script reads os.userInfo().username and os.hostname() and POSTs them to a hardcoded out-of-band collector at https://webhook.site/40e9b065-efd7-43a5-916f-3d52281f42b6, and additionally issues a DNS lookup against 40e9b065-efd7-43a5-916f-3d52281f42b6.dnshook.site as a canary. The version number (99.2.1) and package name pattern are consistent with a dependency-confusion lure intended to win resolution against an internal package of the same name; installing the lure automatically leaks installer identity to an author-controlled endpoint.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/c654723e238cbf7547b8e05e287837f94bfbbff0/osv/malicious/npm/catplatebarcodeparser/MAL-2026-16434.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/c654723e238cbf7547b8e05e287837f94bfbbff0/osv/malicious/npm/catplatebarcodeparser/MAL-2026-16434.json
- https://www.npmjs.com/package/catplatebarcodeparser/v/99.2.1
- https://github.com/advisories/GHSA-7h34-v43h-45gc

Compromised versions (1)

  • = 99.2.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.