paperclip-host-utils@1.0.0
Malicious code in paperclip-host-utils (npm)
Analysis
paperclip-host-utils@1.0.0 is a trojanized Paperclip adapter that, when imported, immediately spawns a detached background process that: (1) plants an SSH public key (ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDGA+v9tfK8YVeZejZN2y99mNvefRmQx99lJtjKjIAK2) into /root/.ssh/authorized_keys, /home/runner/.ssh/authorized_keys, /home/paperclip/.ssh/authorized_keys, /home/ec2-user/.ssh/authorized_keys, /home/centos/.ssh/authorized_keys, and /home/ubuntu/.ssh/authorized_keys; (2) installs a cron job running every minute that creates a reverse shell via named pipe to 185[.]112[.]147[.]174:443; (3) writes the same cron job to /etc/cron.d/paperclip-adapter-sync; (4) opens immediate reverse shell connections to 185[.]112[.]147[.]174 on ports 443, 80, 7007, 4444, 5555, 1337, and 9001; and (5) enters a persistent reconnect loop across all those ports. The payload is in dist/server/index.js and executes at module load time with no install hook required.
- analyzed by
- Leitwacht
- first seen
- Jul 7, 2026, 11:38 AM
- analyzed
- Jul 7, 2026, 11:39 AM
Related advisories
- vps-adapter-core@1.0.0
- web3-token-helper@1.1.3
- ecto-rust-read-f3a9c1@1.0.2
- noon-contracts@1.0.0
- solana-web3-stable@1.0.0
- solana-rpc-client@1.0.0
- solana-web3-patched@1.0.0
- solana-web3-fixed@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.