ref-slot@1.0.9
Malicious code in ref-slot (npm)
Analysis
ref-slot@1.0.9 is a data-stealing trojan with SSH backdoor. On install, it: (1) contacts datasecure-service[.]vercel[.]app to fetch an SSH public key, scan patterns, and block patterns; (2) on Linux, installs the SSH key into ~/.ssh/authorized_keys and runs 'sudo ufw enable; sudo ufw allow 22/tcp' to open port 22 for persistent remote access; (3) scans the home directory (or entire C:\ drive on Windows) for files matching patterns from the C2 — targeting .env, config.json, id.json, .doc, .xlsx, .pdf, readme files; (4) uploads all matching files via multipart POST to datasecure-service[.]vercel[.]app/api/v1 tagged with the victim's username and platform.
- analyzed by
- Leitwacht
- first seen
- Jun 25, 2026, 07:32 AM
- analyzed
- Jun 25, 2026, 07:33 AM
Related advisories
- block-slot@1.0.9
- typescript-util-core@7.1.5
- ts-lint-builders-v2.1@2.1.0
- buffer-wrap-67d7@1.0.0
- prettlog@1.0.10
- ts-ecro@0.0.6
- app-kst-engine@2.1.6
- stellarfixer@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.