# GHSA-7H34-V43H-45GC: Malicious code in catplatebarcodeparser (npm)

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

## Affected versions

- catplatebarcodeparser (npm): 99.2.1

## Description

## Source: amazon-inspector (189a06b0d55d6dab795bcb9ba3a97aa855b2556a54e85e15adc9f5bf20399976)
catplatebarcodeparser@99.2.1 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

Page: https://cve.now/GHSA-7H34-V43H-45GC

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