Malicious code in buffer-wrap-67d7 (npm)
-= Per source details. Do not edit below this line.=-
The package declares a postinstall hook ("postinstall": "node run.js") that executes run.js automatically on npm install. run.js imports os, fs, http, https, and child_process, and collects host and user identity signals including os.hostname(), os.userInfo(), os.platform(), process.env.USER, and process.cwd(), alongside filesystem reads (fs.existsSync, fs.readFileSync). Collected data is base64-encoded (Buffer.from(...).toString('base64')) and POSTed out via http/https calls (multiple POST sites at run.js lines 131, 339, 346). The composition — automatic lifecycle trigger, system/user reconnaissance, base64 packaging, and outbound POSTs — is the canonical install-time exfiltration shape and produces direct attacker benefit (host fingerprinting and credential-adjacent data leaving the installer's machine).
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준