MAL-2026-20278: Malicious code in promise-retry-utils-testmetest (npm)

Published Nov 20, 2026
·
Updated

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

Source: amazon-inspector (741b012db178dab26fc3deb78a568ad8137a096b5da56e399eca35599e567c00) package.json for promise-retry-utils-testmetest@1.0.1 declares a preinstall lifecycle hook that executes node setup.js on npm install. The package name is a typosquat-shaped variant of the widely used promise-retry utility family and has no apparent legitimate purpose for a preinstall step. The script runs automatically on installation before any consumer code is invoked, so any behavior in setup.js — including environment or credential reads, outbound network, or payload execution — fires on default install.

Affected Software

1 affected component
npm/promise-retry-utils-testmetest=1.0.1

Event History

Nov 20, 2026
Advisory Published
via OSV·02:09 AM
Data Sourced
via OSV·02:09 AM
DescriptionAffected Software

Frequently Asked Questions

1

Who is exposed to this package?

Any environment that installs promise-retry-utils-testmetest version 1.0.1 with npm is exposed, including build systems and developer workstations. The preinstall hook runs before consumer code is invoked.

2

What triggers the malicious behavior?

Installing the package triggers its declared preinstall lifecycle hook, which executes node setup.js. No application use or explicit invocation of the package is required.

3

Are default npm installations affected?

Yes. The hook is configured to run during npm install, so it executes as part of the normal installation process.

4

What should teams do if they find this dependency?

Remove promise-retry-utils-testmetest from dependencies and prevent it from being installed. Treat systems that installed version 1.0.1 as potentially exposed because setup.js may have run during installation.

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