Malicious code in clsx-js (npm)
-= Per source details. Do not edit below this line.=-
On npm install, dist/postinstall.js base64-decodes the URL https://api.npoint.io/984b75c022a70cf00c39, fetches JSON from this anonymous mutable JSON-hosting service via axios, and pipes the response's data.content into a detached node child process's stdin for execution. The fetch has no version pin, no hash/signature verification, and the source is operator-mutable — the attacker can swap the executed payload at any time. The package additionally typosquats the widely-used clsx utility (by Luke Edwards): name is a one-token edit, and the description, author name, email, and homepage are copied verbatim from the legitimate clsx to impersonate the upstream maintainer. The genuine clsx ships no postinstall; this fork adds one whose only purpose is the remote-code dropper. A malformed Dependencies (capital-D) field also lists child_process, a known squat name. Installing this package on any machine results in arbitrary attacker-controlled code execution under the installer's user account.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준