core-js-buffer@1.0.0
Malicious code in core-js-buffer (npm)
Analysis
The postinstall hook (node init.js) of this package, a combosquat of core-js, contacts a Cloudflare Workers C2 at core-js-buffer[.]domaup-com[.]workers[.]dev. It POSTs host metadata (hostname, username, OS/platform, node version, OS release) to /report, then fetches an AES-256-GCM encrypted second-stage payload from /e, decrypts it using a key derived from a hardcoded seed, writes the decrypted Python code to ~/.cache/core-js-buffer/modules/runtime.py, and executes it as a detached background python process. The payload is a Python class named TelemetrySender whose send(load()) method is invoked. The hook only runs on machines with ~/Desktop, ~/Documents, or ~/Downloads present, and caches a marker to avoid re-running within 24 hours.
- analyzed by
- Leitwacht
- first seen
- Aug 13, 2026, 10:55 AM
- analyzed
- Aug 13, 2026, 10:55 AM
Related advisories
- @ethers-js/contracts@6.9.0
- n8n-nodes-devops-utils@1.0.0
- txs-runner-lib@1.0.1
- txs-random-lib@1.0.1
- txs-builder@1.0.6
- node-fetch-utils@1.2.1
- anthropic-claude-latest@4.7.1
- txs-data@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.