yian666aikf@1.0.3
Malicious code in yian666aikf (npm)
Analysis
Package yian666aikf@1.0.3 impersonates a lightweight string-manipulation utility but delivers a reverse shell on install. The postinstall hook (node scripts/postinstall.js) launches a detached, hidden Node.js process that executes scripts/shell.js. This script opens a TCP reverse shell to 114[.]67[.]90[.]67:4444, spawning powershell.exe on Windows or /bin/sh -i on Unix with all I/O piped over the socket. It auto-reconnects every 10 seconds if the connection drops. The hook uses detached subprocess with unref() and hidden window flags to avoid detection during npm install. The index.js file contains harmless string utility functions as a decoy.
- analyzed by
- Leitwacht
- first seen
- Jun 19, 2026, 08:07 AM
- analyzed
- Jun 19, 2026, 08:07 AM
Related advisories
- texttweak-kit@1.0.0
- npm-scanner@1.0.0
- nodecheck-health@1.0.0
- gpt-terminal-cli@1.0.0
- ezdiscordbots@1.0.2
- zredis-typed@1.0.127
- env-config-f281@1.0.0
- color-utils-eee0@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.