@h1stealthy/gh046-npm-transfer-9421a2@0.0.95891
Malicious code in @h1stealthy/gh046-npm-transfer-9421a2 (npm)
Analysis
@h1stealthy/gh046-npm-transfer-9421a2 publishes versions with two distinct behaviours. Version 0.0.386388 declares an install hook (`"install": "node backend-canary.js"`) that executes at package install time and sends host metadata to an external collector: package/backend-canary.js builds hxxps://webhook[.]site/314c4c8c-4eba-4012-9bf5-0a45805cd355/npm-backend-574b7ccdaeb61dd9dd70d6d4/lifecycle with query parameters `host` = SHA-256 of the contents of /etc/hostname and `user` = SHA-256 of os.userInfo().username, then requests it over HTTPS and ignores the response. Only those two hashed metadata values are transmitted; no credential, token or file contents are read. Version 0.0.95891 ships no executable code — package.json declares no scripts and no bin, index.js is a single `module.exports` string — but the tarball contains a deliberately crafted extraction-path entry at package/%252e%252e/%252e%252e/%252e%252e/tmp/npm-traversal-double_percent holding a marker string, i.e. a double-URL-encoded directory-traversal artifact aimed at npm archive extraction. IOC: webhook[.]site collector path 314c4c8c-4eba-4012-9bf5-0a45805cd355/npm-backend-574b7ccdaeb61dd9dd70d6d4/lifecycle; traversal artifact path above.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 07:37 AM
- analyzed
- Nov 19, 2026, 07:39 AM
hxxps://github[.]com/sectest-security-org-20261004/gh046-npm-transfer-9421a2 Request takedown / dispute →Related advisories
- @h1stealthy/gh046-npm-transfer-9421a2@0.0.386388 same package
- tajul-avengers-cli@1.4.1
- x3r0day-bunnyhijack-poc@1.0.2
- neun-by-neun@0.1.0
- @azure-growth/signup-ux-components@2.9.9
- @azure-growth/signup-ux-components@1.2.3
- @eforms/forms-api@1.99.0
- @capsense/core-ui@99.99.100
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.