@h1stealthy/gh046-npm-transfer-9421a2@0.0.386388
Malicious code in @h1stealthy/gh046-npm-transfer-9421a2 (npm)
Analysis
This package executes a hidden host-fingerprinting beacon at install time. package.json declares scripts.install = "node backend-canary.js"; that script reads /etc/hostname and the current OS username, SHA-256-hashes both, and issues an HTTPS GET to hxxps://webhook[.]site/314c4c8c-4eba-4012-9bf5-0a45805cd355/npm-backend-574b7ccdaeb61dd9dd70d6d4/lifecycle carrying the hashes in the host= and user= query parameters, then swallows any error so installation completes silently. The rest of the package is inert (index.js only exports the string 'controlled'; marker.txt holds an identifier 'NPM_BACKEND_PROTOTYPE_KEYS_...'), and the whole tarball is four files totalling about one kilobyte — the install hook is the only code that runs. Callback base used: hxxps://webhook[.]site/314c4c8c-4eba-4012-9bf5-0a45805cd355/.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 07:37 AM
- analyzed
- Nov 19, 2026, 07:38 AM
Related advisories
- @h1stealthy/gh046-npm-transfer-9421a2@0.0.95891 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.