prettier_v2@3.8.5
Malicious code in prettier_v2 (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1564.003 · Hidden WindowT1036 · Masquerading
Analysis
Multi-stage dropper combosquatting the prettier code formatter: prettier_v2@3.8.5. An install hook (node cli.js) base64-decodes a URL to hxxps://api[.]aavcareer[.]ink/install_guard_alt_d[.]js, fetches it to a temp file, and spawns it as a hidden, detached, unref'd node process (windowsHide:true). The package includes checks to evade CI and ignore-scripts environments. A Shai-Hulud-shaped multi-stage dropper.
- analyzed by
- Leitwacht
- first seen
- Jun 10, 2026, 03:12 PM
- analyzed
- Jun 10, 2026, 03:13 PM
Related advisories
- win-build-utils@1.0.0
- prettier_v1@3.8.4
- optional-cpu-features@1.0.3
- vant@3.6.13
- moidevy@1.0.0
- dolyame-ui-tooltip@35.8.8
- post-css-transfer@0.0.1
- fdd41@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.