Malicious code in @sql-access/nodesql (npm)
-= Per source details. Do not edit below this line.=-
@sql-access/nodesql@1.1.3 is a decoy package whose identity, README, and code do not match. The package name and keywords advertise SQL/Node functionality; the README is copy-pasted from an unrelated 'bare-stream' streaming library and points to github.com/guilderguzman/sql-link; index.js is a verbatim copy of the feross/buffer Buffer polyfill. A single statement has been injected as the first executable line of index.js: import('@sqlite-node/createsql');. As a result, any consumer that does require('@sql-access/nodesql') will asynchronously load and execute the top-level code of @sqlite-node/createsql, an unpinned (^1.0.5) separately-published package in an attacker-namespaced scope that has no relationship to a Buffer polyfill or to the package's stated SQL purpose. The decoy code itself performs no SQL work, no Buffer functionality is reached by the consumer in any meaningful way, and the only practical effect of installing or requiring this package is to silently pull a different, attacker-controlled module into the installer's dependency graph and execute it at import time. The combined identity confusion (name/README/code mismatch), namesquat-shaped transitive (@sqlite-node/createsql), unpinned caret range, and bolt-on dynamic import injected into otherwise-pristine upstream source match the documented loader/decoy supply-chain pattern.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준