pump-segments-sdk (npm) · Malicious Code
Affects pump-segments-sdkSource GCVE Database
Malicious package : remove pump-segments-sdk and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:51 UTC
Malicious package
Published to npm · OSV MAL-2026-14186
What to do
Remove pump-segments-sdk 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 |
|---|---|---|
| npmpump-segments-sdk | 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 pump-segments-sdk version 20.1.1 contains malicious code that executes a postinstall script. This script collects extensive system and environment information, including sensitive files such as /etc/passwd, /etc/shadow, and the user's ~/.npmrc file, which may contain npm authentication tokens. The collected data is exfiltrated via plain HTTP to a hardcoded external domain. The package falsely claims to be a netbsd-x64 esbuild build, which does not align with its actual behavior.