MAL-2026-19146: Malicious code in teahy-znrpz-util (npm)

Published Nov 11, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

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, GITHUBACTIONS, GITLABCI, 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.

Affected Software

1 affected component
npm/teahy-znrpz-util=1.0.0

Event History

Nov 11, 2026
Advisory Published
via OSV·09:03 PM
Data Sourced
via OSV·09:03 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203