# GHSA-CQ9C-M7G7-F925: Malicious code in promise-retry-utils-testmetest (npm)

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

## Affected versions

- promise-retry-utils-testmetest (npm): 1.0.1

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/promise-retry-utils-testmetest/MAL-2026-20278.json))

## References

- https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/promise-retry-utils-testmetest/MAL-2026-20278.json
- https://www.npmjs.com/package/promise-retry-utils-testmetest/v/1.0.1
- https://github.com/advisories/GHSA-cq9c-m7g7-f925

Page: https://cve.now/GHSA-CQ9C-M7G7-F925

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