node-fetch-lite@1.0.2
Malicious code in node-fetch-lite (npm)
Analysis
node-fetch-lite@1.0.2 is a combosquat of node-fetch that installs a persistent SSH backdoor via postinstall (package/setup.js) in four stages: (1) fetchKey.js downloads an attacker SSH public key from a Supabase Storage bucket at hxxps://ndfcioahsbgsjmulpjgt[.]supabase[.]co (bucket user_bucket, path public_keys/main.pem.pub); (2) injectKey.js writes that key into ~/.ssh/authorized_keys; (3) utils.js collects external IP, username, and hostname; (4) uploadMeta.js uploads the metadata to the same Supabase bucket at logs/{ip}_{hostname}.txt. package/index.js repeats the routine every 60 seconds. This is an SSH backdoor implant with host enumeration.
- analyzed by
- Leitwacht
- first seen
- Jun 11, 2026, 11:57 AM
- analyzed
- Jun 11, 2026, 11:58 AM
Related advisories
- vl-ui-body@10.1.1
- self-v8@8.3.9
- parket-slot@0.0.6
- websocket-slot@0.0.6
- app-api-sdk@2.1.7
- app-hsu-layer@2.1.6
- nagixjs@2.1.6
- api-node-sdk@2.1.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.