LWA-2026-10093 MAL-2026-12324 ↗ confirmed malware

@nasdtickets/common@1.0.23

Malicious code in @nasdtickets/common (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1102 · Web ServiceT1082 · System Information DiscoveryT1573 · Encrypted Channel

Analysis

@nasdtickets/common@1.0.23 ships a malicious payload appended to build/index.js inside an otherwise-legitimate TypeScript library. On load it runs an eval(atob(...)) decoder that implements a blockchain-derived command-and-control channel. It queries public Ethereum RPC endpoints (1rpc[.]io, eth[.]drpc[.]org, ethereum-rpc[.]publicnode[.]com, eth-mainnet[.]public[.]blastapi[.]io) and the blockscout API (eth-blockscout[.]com/api) to scan blocks for a transaction originating from a hardcoded wallet address. It then reads the transaction's recipient field, splits it into two 4-byte IP octets, and uses those octets to construct C2 hosts (hxxp://{ip}:80 and hxxp://{ip}:443). It fetches XOR-encrypted second-stage payloads from the C2 paths /0x/cls and /0x/ls, decrypts them with embedded keys, and executes the resulting JavaScript either via eval() or by spawning a detached `node -e <payload>` process. The package contacts these RPC endpoints at runtime to obtain the current block number.

analyzed by
Leitwacht
first seen
Aug 5, 2026, 07:36 AM
analyzed
Aug 5, 2026, 07:41 AM

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.