@h1stealthy/gh046-npm-transfer-9421a2npm
Advisory published Updated
@h1stealthy/gh046-npm-transfer-9421a2 is a confirmed malicious npm package (MAL-2026-20190) that steals credentials and exfiltrates sensitive data (malicious versions 0.0.95891, 0.0.386387, 0.0.386388). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @h1stealthy/gh046-npm-transfer-9421a2 (npm)
What this malware does
The npm tarball ships directory entries whose names are double-URL-encoded .. sequences (%252e%252e/%252e%252e/%252e%252e/tmp/npm-traversal-double_percent) terminating in a file dropped at /tmp/npm-traversal-double_percent outside the package's own install directory. On a tar extractor that single-decodes percent-encoding before applying path-safety checks, extraction of this archive writes attacker-chosen files to absolute filesystem paths on the installer host during npm install. The shipped JavaScript is an inert stub and no lifecycle scripts are declared; the attack surface is the archive layout itself, exercised by the package manager's extraction step. Package naming (@h1stealthy/...-transfer-...) and the marker payload are consistent with a controlled traversal probe, but the artifact as published is structurally a path-traversal (zip-slip-style) tar against npm clients.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @h1stealthy/gh046-npm-transfer-9421a2 (3 malicious versions).
If you installed it — respond
@h1stealthy/gh046-npm-transfer-9421a2 is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @h1stealthy/gh046-npm-transfer-9421a2 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @h1stealthy/gh046-npm-transfer-9421a2-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.