strutil-kit@1.0.0
Malicious code in strutil-kit (npm)
Analysis
strutil-kit@1.0.0 is a trojanized npm package posing as a string manipulation utility. On installation, the postinstall hook (bin/setup.js) spawns assets/setup-helper.exe — a 9.8MB PyInstaller-packaged Python executable — as a hidden, detached background process on Windows (windowsHide:true, detached:true, stdio:'ignore'). The Python binary contains a full embedded interpreter with network libraries (requests, urllib3, socket, ssl, http.client) for C2 communication, and subprocess for local command execution. The legitimate-looking string library in dist/index.js is a decoy; the only real behaviour is the silent execution of the packed payload.
- analyzed by
- Leitwacht
- first seen
- Jun 14, 2026, 09:02 AM
- analyzed
- Jun 14, 2026, 09:04 AM
Related advisories
- str-master@1.0.11
- strmagic-kit@1.0.0
- string-utils-kit@1.0.0
- stringsculpt-kit@1.0.0
- stringfy-utils-kit@1.0.0
- rollup-packages-polyfill-core@0.5.0
- prettier-lint-lenz@2.6.4
- vite-react-toolkit@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.