LWA-2026-14290 MAL-2026-20107 ↗ confirmed malware

vant@3.6.15

Malicious code in vant (npm)

T1016.001 · Internet Connection Discovery

Analysis

Multiple publishes of the `vant` Vue UI library (2.13.3, 2.13.5, 3.6.13, 3.6.15) are trojanized clones: each adds a lifecycle hook `"postinstall": "node lib/utils/support.js"` that upstream vant does not ship. The hook target is a 609 KB obfuscated script (javascript-obfuscator-style encoded string array and hex-offset dispatcher). It silences `process.stdout.write`, `process.stderr.write`, `console.log` and `console.error`, and only continues on linux, darwin or win32. When the hook runs it: 1. Issues `GET hxxp://ipinfo[.]io/json` (axios 1.7.9 user agent) and reads `country`, continuing only when the reported country is CN, RU, HK, BY, IR or unresolvable — a geo-fence that skips most other networks. 2. Reads cloud CLI credential files — `~/.hcloud/config.json` (Hetzner), `~/.aliyun/config.json` (Alibaba Cloud) and a further file under the user's home directory — concatenates them, base64-encodes the result and POSTs it to `hxxps://80[.]78[.]28[.]72/tokens`. 3. Downloads `hxxps://api[.]github[.]com/repos/youzan/vant/git/blobs/8ed1c9256b4bfeb3e4f5aaff48bf140398361ae3` (Accept: application/vnd.github.raw+json) into `/tmp`, extracts it with tar, `chmod 0755`s the result and launches it with `-u <Monero address> -o pool[.]supportxmr[.]com:443 --tls`, i.e. XMRig pointed at a SupportXMR pool. The miner tarball is also referenced as `hxxps://github[.]com/xmrig/xmrig/releases/download/v6[.]22[.]2/xmrig-6[.]22[.]2-linux-static-x64[.]tar[.]gz`. 4. Falls back, if the GitHub fetch fails, to downloading a tarball from `hxxp://80[.]78[.]28[.]72/`, extracting it with an `xmrig` name filter, and executing the resulting helper from `/tmp` (referenced as `/tmp/vant_helper`; the miner binary path `/tmp/xmrig` also appears in the string table). The script then calls `process.exit(0)` so the install appears to succeed. IOCs: `80[.]78[.]28[.]72` (HTTP download host and `/tokens` credential upload), `pool[.]supportxmr[.]com:443`, `ipinfo[.]io/json`, the GitHub blob URL above, dropped paths under `/tmp`.

analyzed by
Leitwacht
first seen
Nov 18, 2026, 03:37 AM
analyzed
Nov 18, 2026, 03:44 AM
weekly installs
89,733
npm package ↗ OSV record MAL-2026-20107 ↗ source repo (declared, defanged): hxxps://github[.]com/vant-ui/vant Request takedown / dispute →

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.