ts-esys (npm) · Malicious Code
Affects ts-esysSource GCVE Database
Malicious package : remove ts-esys and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 10:08 UTC
Malicious package
Published to npm · OSV MAL-2026-6205
What to do
Remove ts-esys 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-esys | 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-esys version 0.0.5 is a malicious package impersonating the legitimate big.js library. It contains hidden runtime code that loads and executes code from a concealed dependency websocket-slot, which is unrelated to the advertised functionality. This hidden code executes silently on every import or require of ts-esys, potentially compromising the host system. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated from a clean environment.