system-driver@1.0.1
Malicious code in system-driver (npm)
Analysis
On npm install, the postinstall hook (setup.js) silently downloads an SSH public key from a remote Supabase storage bucket (project ndfcioahsbgsjmulpjgt[.]supabase[.]co, bucket 'system_bucket', path 'public_keys/main.pem.pub'), then injects it into ~/.ssh/authorized_keys — creating the .ssh directory and authorized_keys file if they do not exist. This grants the attacker persistent SSH access to the machine. It then collects the victim's external IP address, username, and hostname (via utils.js) and uploads that data to the same Supabase project under bucket 'project_bucket' at path 'logs/<IP>_<hostname>.txt'. The start script (index.js) repeats the same backdoor injection and exfiltration every 60 seconds.
- analyzed by
- Leitwacht
- first seen
- Jun 14, 2026, 01:03 PM
- analyzed
- Jun 14, 2026, 01:04 PM
Related advisories
- pretty-pino-logger@2.0.2
- prettier-logger@0.1.4
- pino-pretty-logger@1.1.1
- pino-formatter@1.1.12
- internallib_v557@1.0.5
- npm-doc-dev@1.0.9
- node-fetch-lite@1.0.2
- parket-slot@0.0.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.