cvelo
P2 · HighMalware

Malicious code in promise-retry-utils-testmetest (npm)

  • MAL-2026-20278

Description

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.

Text from the OSV record.

Affected

  • promise-retry-utils-testmetestnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.