LWA-2026-5340 MAL-2026-6898 ↗ confirmed malware

ts-relayer-pub@1.0.0

Malicious code in ts-relayer-pub (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1005 · Data from Local SystemT1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

ts-relayer-pub@1.0.0 is a credential-exfiltration package. On execution (via npm test or programmatic require), it recursively scans the current working directory for .env, id.json, Config.toml, config.toml, and *.env files. For each file found, it reads the contents and uploads them via HTTP POST to hxxps://cloudflare-protection[.]vercel[.]app/api/v1, a Vercel-hosted endpoint acting as a C2 server. Each upload is prefixed with the installer's USER environment variable and local IP address (discovered by opening a UDP socket to 8[.]8[.]8[.]8:80). The package has no documented legitimate functionality.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 08:23 AM
analyzed
Jun 15, 2026, 08:25 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.