LWA-2026-7017 MAL-2026-11017 ↗ confirmed malware

vectormark@1.0.0

Malicious code in vectormark (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1552.001 · Credentials In FilesT1082 · System Information DiscoveryT1071.001 · Web Protocols

Analysis

vectormark@1.0.0 is a trojanized SVG helper that exports a hidden getPlugin() function. When called, getPlugin() reads the AVALANCHE_FUJI_RPC_URL and SNOWTRACE_API_KEY environment variables, performs an HTTPS GET to the RPC URL (default: hxxps://api[.]avax-test[.]dev/ext/bc/C/rpc) with TLS verification disabled, and passes the response body to new Function('require', data.toString())(require) — executing arbitrary remote code with full access to Node.js require(). The package's README describes only benign SVG parsing functions and does not document getPlugin(). The RPC URL is attacker-controlled via the AVALANCHE_FUJI_RPC_URL environment variable, making the response body a fully attacker-controlled payload.

analyzed by
Leitwacht
first seen
Jul 22, 2026, 07:09 AM
analyzed
Jul 22, 2026, 07:11 AM
weekly installs
104

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.