# GHSA-53GF-4WH9-G7VW: Malicious code in teahy-znrpz-util (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-11
- Modified: 2026-11-11

## Affected versions

- teahy-znrpz-util (npm): 1.0.0

## Description

## Source: amazon-inspector (5d18143cb6c6ab53a6b224630d1b50f00578f4308414da4f384281a679d7861d)
index.js reads a numeric byte array stored under a non-standard `_bz` key inside package.json, decompresses it with zlib.inflateSync, and executes the resulting string via the Function constructor with `require` and `__dirname` bound in — all on module load. Execution is gated by an early-return when any of CI, GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, or SANDBOX environment variables are set, so the hidden code only runs on real developer or production hosts. Smuggling executable logic as a zlib blob under a private manifest key, decoding it, and running it through Function() at require time is an obfuscated-loader pattern; the package's self-description as a 'utility' does not match any behavior visible in its source. The payload executes with full Node privileges on the installer's machine as soon as the module is required.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/21ec1d1b1de6f4090eeedad8c58e9c49621376b4/osv/malicious/npm/teahy-znrpz-util/MAL-2026-19146.json))

## References

- https://github.com/ossf/malicious-packages/blob/21ec1d1b1de6f4090eeedad8c58e9c49621376b4/osv/malicious/npm/teahy-znrpz-util/MAL-2026-19146.json
- https://www.npmjs.com/package/teahy-znrpz-util/v/1.0.0
- https://github.com/advisories/GHSA-53gf-4wh9-g7vw

Page: https://cve.now/GHSA-53GF-4WH9-G7VW

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