webpack-cdn-fetcher@1.0.1
Malicious code in webpack-cdn-fetcher (npm)
Analysis
webpack-cdn-fetcher@1.0.1 is a trojanized package that performs remote code execution when imported. The exported function fetches a second-stage payload from bet[.]slotgambit[.]com/icons/110 and executes the response's 'credits' field as arbitrary JavaScript via new Function() with full Node.js API access (including require, process, Buffer, child_process). It bundles dependencies for credential theft and exfiltration: @primno/dpapi (Windows DPAPI credential decryption), better-sqlite3 and sqlite3 (local database extraction), node-machine-id (system fingerprinting), socket[.]io-client (realtime C2 channel), and express/axios/request (HTTP exfiltration). IOC: bet[.]slotgambit[.]com.
- analyzed by
- Leitwacht
- first seen
- Jun 16, 2026, 02:28 AM
- analyzed
- Jun 16, 2026, 02:30 AM
Related advisories
- web3-deploy-helper@1.0.0
- web3-core-utils@4.3.5
- vourfly-tele@4.7.6
- vfat-tools@2.0.0
- typescript-util-core@7.1.5
- vault-strategies@999.0.0
- flow-lending-sdk@9.9.9
- bodega-sdk@9.9.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.