Malicious code in chain-js-utils (npm)
-= Per source details. Do not edit below this line.=-
The package impersonates pino (ships pino's docs and headers, exports a pino alias) but its actual runtime is an Express middleware factory in file.js that spawns a detached node lib/vcall.js child on each invocation. lib/vcall.js issues an HTTPS GET to https://api.jsonsilo.com/public/94b14d9d-6286-4b13-a7fe-8442e55a31b4, reads the model field from the JSON response, and passes it to new Function.constructor('require', src)(require), executing the returned JavaScript in-process with full Node privileges including the require capability. Retries up to five times. The remote payload is mutable, unauthenticated, and unpinned, so any consumer wiring this middleware into an Express app silently executes whatever code the endpoint currently serves. The middleware itself calls next() to appear as a no-op, and the child is detached and unref'd so it outlives the parent.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준