ts-poly-utls (npm) · Malicious Code
Affects ts-poly-utlsSource GCVE Database
Malicious package : remove ts-poly-utls and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:50 UTC
Malicious package
Published to npm · OSV MAL-2026-12811
What to do
Remove ts-poly-utls from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmts-poly-utls | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package ts-poly-utls version 1.2.4 contains malicious code executed during installation. Its postinstall script downloads and runs unverified code from a third-party Vercel deployment controlled by an attacker. The package identity is inconsistent with its documentation, misleading users. Installing this package results in execution of attacker-controlled code on the installer's machine.