Malicious code in use-context-selector-tony (npm)
-= Per source details. Do not edit below this line.=-
This package is a name-squat of the popular use-context-selector library and ships a postinstall script (dist/postinstall.js / src/postinstall.js) that, on npm install, reads process.env and beacons to the hardcoded endpoint https://almondco.online via https.get. The endpoint is unrelated to any published use-context-selector author or infrastructure and is hardcoded in the install-lifecycle script. The combination of (a) name confusion against an established library, (b) a postinstall hook firing without consent on every npm install, (c) reads of process.env, and (d) outbound HTTPS to an attacker-controlled domain matches the standard install-time environment-exfiltration pattern.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준