Malicious code in data-pipeline-testmetest (npm)
Description
The npm package data-pipeline-testmetest version 2.0.1 contains malicious code that executes during installation without a declared install script. It uses a binding.gyp file to run an obfuscated loader that decrypts and executes a large payload. This payload steals credentials from GitHub, npm, PyPI, RubyGems, and cloud services, then commits them to a public GitHub repository created in the victim's account. It also republishes the victim's packages with the same malicious hook. If a GitHub token is found, it installs a destructive service that deletes the user's home directory once the token is revoked. Removal of this service before token revocation and credential rotation is necessary to prevent data loss.
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 data-pipeline-testmetest npm package version 2.0.1 is a malicious package that achieves install-time code execution by abusing the binding.gyp file's command expansion feature to run an obfuscated JavaScript loader during the implicit node-gyp rebuild step. The loader decrypts a large AES-128-GCM encrypted payload that steals various credentials (GitHub, npm, PyPI, RubyGems, cloud) and exfiltrates them by creating a public repository in the victim's GitHub account. It also propagates by republishing victim packages with the same malicious hook. Additionally, if a GitHub token is detected, it installs a user service named net-health-checker that deletes the user's home directory upon token revocation. The package was published by the npm account testnewtestme2 on 2026-10-21. The presence of an unrelated Bun runtime dependency and multi-layer obfuscation confirms the package's loader/dropper nature rather than a legitimate utility.
Potential Impact
This malicious package compromises user credentials across multiple package repositories and cloud services, leading to credential theft and potential account takeover. The attacker gains persistent access by creating public repositories in the victim's GitHub account and propagates the infection by republishing victim packages with the malicious hook. The installed net-health-checker service poses a destructive risk by deleting the user's home directory if the GitHub token is revoked without prior removal of the service. This can cause significant data loss and operational disruption.
Mitigation Recommendations
No official patch is indicated. Users should immediately remove the net-health-checker user service script (~/.local/bin/net-health-checker.sh) and its systemd unit or LaunchAgent before revoking any GitHub tokens associated with the affected environment to prevent destructive deletion of the home directory. After removal, rotate all reachable credentials including GitHub, npm, PyPI, RubyGems, and cloud service tokens. Avoid installing or using the data-pipeline-testmetest package version 2.0.1. Monitor for any unauthorized public repositories created in user GitHub accounts. Since this is a malicious package published on npm, report it to npm security teams for removal.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-18177
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6ada450c4d27ba8daa6a5b57
Added to database: 10/22/2026, 17:17:00 UTC
Last enriched: 10/22/2026, 17:42:07 UTC
Last updated: 10/22/2026, 17:42:07 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.