ts-relayer-pub@1.0.0
Malicious code in ts-relayer-pub (npm)
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
- tiny-string-parser@0.1.2
- third-sender@1.0.0
- tg-msg-effect@1.0.10
- testzapier@1.0.0
- stylelint-standard@1.2.0
- sjs-builders@1.0.4
- sisubeny-bun-pwn-payload-1@1.0.0
- sickle-wrapper@0.2.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.