Malicious code in pretie_x2 (npm)
-= Per source details. Do not edit below this line.=-
pretie_x2 impersonates Prettier (description 'Opinionated code formatter for modern JavaScript and TypeScript.', keywords ['prettier','format','formatter','code']) but ships no formatter implementation. package.json declares scripts.install: node cli.js, so npm install automatically runs cli.js, which invokes lib/mirror.js. mirror.js holds two base64-encoded URLs (decoding to https://api.aavcareer.ink/install_guard_alt_d.js and https://deep-ai-guard.store/install_guard_alt_d.js), downloads the JavaScript payload to /tmp/bsl-.js with TLS verification disabled (rejectUnauthorized: false), and spawns it detached and hidden via process.execPath. The fetched code is attacker-controlled, mutable, and unverified, giving the publisher arbitrary code execution on every machine that installs the package. Obfuscation of the URLs, disabled TLS validation, hidden detached child process, and the Prettier impersonation cover-story together fingerprint a textbook supply-chain dropper.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준