Malicious code in pump-segments-sdk (npm)
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.
AI Analysis
Technical Summary
The pump-segments-sdk npm package version 20.1.1 includes a postinstall hook that runs index.js upon installation. This script gathers the installer's hostname, full environment variables, platform details, outputs of system commands (whoami, uname, id, ps aux), current working directory, package.json, node_modules listing, and sensitive files such as /etc/passwd, /etc/shadow, and ~/.npmrc. It then sends this data unencrypted over HTTP to a hardcoded subdomain of oastify.com, a Burp Collaborator domain used for detecting out-of-band interactions. The package misrepresents itself as a netbsd-x64 esbuild build, which is inconsistent with the observed malicious behavior. The exfiltration of ~/.npmrc can expose npm authentication tokens, and attempts to read /etc/shadow aim to steal local password hashes.
Potential Impact
The malicious postinstall script can lead to the exposure of sensitive system information and credentials, including npm authentication tokens and local password hashes. This compromises the security of the host system and potentially any connected services that rely on these credentials. The data is transmitted unencrypted, increasing the risk of interception. The presence of such a package in a supply chain can lead to unauthorized access and further compromise of development or production environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing pump-segments-sdk version 20.1.1. Remove any installations of this package from systems and audit for potential credential exposure. Monitor for suspicious network traffic to unknown external domains such as oastify.com. Check the vendor advisory or trusted security sources for updates on remediation or package removal. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in pump-segments-sdk (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pump-segments-sdk npm package version 20.1.1 includes a postinstall hook that runs index.js upon installation. This script gathers the installer's hostname, full environment variables, platform details, outputs of system commands (whoami, uname, id, ps aux), current working directory, package.json, node_modules listing, and sensitive files such as /etc/passwd, /etc/shadow, and ~/.npmrc. It then sends this data unencrypted over HTTP to a hardcoded subdomain of oastify.com, a Burp Collaborator domain used for detecting out-of-band interactions. The package misrepresents itself as a netbsd-x64 esbuild build, which is inconsistent with the observed malicious behavior. The exfiltration of ~/.npmrc can expose npm authentication tokens, and attempts to read /etc/shadow aim to steal local password hashes.
Potential Impact
The malicious postinstall script can lead to the exposure of sensitive system information and credentials, including npm authentication tokens and local password hashes. This compromises the security of the host system and potentially any connected services that rely on these credentials. The data is transmitted unencrypted, increasing the risk of interception. The presence of such a package in a supply chain can lead to unauthorized access and further compromise of development or production environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing pump-segments-sdk version 20.1.1. Remove any installations of this package from systems and audit for potential credential exposure. Monitor for suspicious network traffic to unknown external domains such as oastify.com. Check the vendor advisory or trusted security sources for updates on remediation or package removal. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14186
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4caacd9273b49252e8e
Added to database: 08/19/2026, 13:51:06 UTC
Last enriched: 08/19/2026, 14:51:58 UTC
Last updated: 08/20/2026, 00:45:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.