vant@4.9.12
Malicious code in vant (npm)
Analysis
vant@4.9.12 carries a malicious postinstall hook: package.json runs `node lib/utils/support.js`, a 609 KB heavily obfuscated bundle (javascript-obfuscator string-array, ~22k _0x identifiers) that is a credential stealer plus Monero miner dropper. On execution it: (1) silently disables process warnings and console output; (2) exits on any platform other than linux; (3) queries hxxp://ipinfo[.]io/json for the host's country and only continues on CN/RU/HK/BY/IR (or unknown) — a geofenced target selection; (4) reads the user's cloud CLI credential files ~/.aliyun/config.json and ~/.hcloud/config.json plus one additional config path, joins them, base64-encodes the result and POSTs it to hxxp://80[.]78[.]28[.]72/tokens; (5) downloads and extracts the XMRig miner from hxxps://github[.]com/xmrig/xmrig/releases/download/v6[.]22[.]2/xmrig-6[.]22[.]2-linux-static-x64[.]tar[.]gz (with a second downloader path using archive noderig.tar.gz and an Accept: application/vnd.github.raw+json header), renames the binary to /tmp/vant_helper, chmods it 0755, deletes the downloaded archive, and spawns it with `-u 475NBZygwEajj4YP2Bdu7yg6XnaphiFjxTFPkvzg5xAjLGPSakE68nyGavn8r1BYqB44xTEyKQhueeqAyGy8RaYc73URL1j -o pool[.]supportxmr[.]com:443 --tls -k --cpu-max-threads-hint=75`, i.e. CPU cryptomining against a public Monero pool. The package otherwise ships the ordinary Vant Vue component tree, so the install-time hook is non-obvious to an installer. Indicators: C2/exfil endpoint 80[.]78[.]28[.]72 (/tokens), geo-lookup ipinfo[.]io, mining pool pool[.]supportxmr[.]com:443, dropped binary /tmp/vant_helper, and the XMR wallet above.
- analyzed by
- Leitwacht
- first seen
- Nov 18, 2026, 03:38 AM
- analyzed
- Nov 18, 2026, 03:46 AM
- weekly installs
- 89,733
hxxps://github[.]com/vant-ui/vant Request takedown / dispute →Related advisories
- vant@2.13.5 same package
- vant@2.13.3 same package
- vant@3.6.13 same package
- vant@4.9.11 same package
- vant@4.9.13 same package
- vant@3.6.15 same package
- malvin-wa@0.1.1
- @vanzzooffc/baileys@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.