fetch-page-assets@1.2.13
Malicious code in fetch-page-assets (npm)
Analysis
fetch-page-assets@1.2.13 ships a JavaScript C2 implant disguised as a font file (public/fonts/fa-solid-400.woff2) and an obfuscated copy appended to babel.config.cjs. A bundled .vscode/tasks.json task with runOn:"folderOpen" executes the payload via `node ./public/fonts/fa-solid-400.woff2` whenever the project folder is opened in VS Code; babel.config.cjs is also auto-loaded during build/test. The payload queries Ethereum RPC endpoints (eth[.]drpc[.]org, 1rpc[.]io, ethereum-rpc[.]publicnode[.]com, eth-mainnet[.]public[.]blastapi[.]io, eth[.]blockscout[.]com/api) for transactions from wallet 0xa322E5f3D1D3060e0a0121064e9a1DC2490Ef1a, derives two C2 IP addresses from the transaction `to` field bytes, then downloads XOR-encoded second-stage payloads from hxxp://<ip>:443/0x/cls and hxxp://<ip>:443/0x/ls and executes them via eval and a detached `node -e` child process (windowsHide:true). The C2 addresses are rotated via Ethereum transactions, making them dynamic.
- analyzed by
- Leitwacht
- first seen
- Aug 23, 2026, 06:07 AM
- analyzed
- Aug 23, 2026, 06:07 AM
- weekly installs
- 1,797
Related advisories
- @syncraft-labs/core@0.4.1
- @syncraft-labs/vue@0.4.1
- @next-fonts/font@1.0.1
- space-items@1.0.0
- mutex-thread@1.3.0
- async-lock-queue@3.0.1
- core-js-buffer@1.0.0
- shared-slot-gate@1.1.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.