LWA-2026-10932 confirmed malware

dayjs-advanced@1.2.0

Malicious code in dayjs-advanced (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059 · Command and Scripting InterpreterT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1102 · Web ServiceT1573 · Encrypted Channel

Analysis

dayjs-advanced is a combosquat of the dayjs date library that ships a multi-stage dropper in esm/utils.js. On import it hardcodes the Ethereum wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a and queries public Ethereum RPC endpoints (1rpc[.]io, eth[.]drpc[.]org, ethereum-rpc[.]publicnode[.]com, eth-mainnet[.]public[.]blastapi[.]io) and eth[.]blockscout[.]com/api to locate that wallet's transactions; the recipient address of the found transaction encodes two C2 IP addresses. It then fetches XOR-encrypted second-stage payloads from hxxp://<ip>:443/0x/cls and hxxp://<ip>:443/0x/ls, decrypts them, and executes them both via eval() and by spawning a detached, hidden `node -e` process (stdio ignored, windowsHide set). The payload also probes for a local canary domain during execution. The C2 channel is discovered dynamically from the blockchain, so the destination IPs are not fixed in the package.

analyzed by
Leitwacht
first seen
Aug 10, 2026, 03:10 PM
analyzed
Aug 10, 2026, 03:11 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.