@tedbrain/vlink@0.1.119
Malicious code in @tedbrain/vlink (npm)
Analysis
@tedbrain/vlink is an npm installer package that fetches and runs a platform binary during npm install. Its package.json declares "postinstall": "node install.js"; install.js immediately requests hxxp://49[.]232[.]144[.]199/downloads/oss/vlink/<version>/vlink-<platform> (plain HTTP to a raw IP literal, User-Agent "@tedbrain/vlink/<version>") and, as a first source, the Gitee release API at hxxps://gitee[.]com/api/v5/repos/ted-team/tedbrain/releases/tags/<version>. The download base can be overridden with the VLINK_DOWNLOAD_BASE / VLINK_DOWNLOAD_URL / VLINK_VERSION environment variables, so the install host is trivially redirectable. The fetched file is written to disk, SHA-256 compared against the checksums in binaries.json, then executed in-line during install via spawnSync(binaryPath, ['-V']); installer.js also runs powershell.exe to rewrite the user PATH and appends a TEDBRAIN_INSTALL_DIR entry. Every install therefore executes unsigned remote code over an unencrypted channel from a bare IP address. Files involved: install.js, installer.js, mcp-installer.js, npm-shims.js, bin/vlink.js, binaries.json.
- analyzed by
- Leitwacht
- first seen
- Nov 12, 2026, 03:13 PM
- analyzed
- Nov 12, 2026, 05:58 PM
- weekly installs
- 1,898
Related advisories
- @tedbrain/vlink@0.1.111 same package
- @xzvbailss/baileys@6.0.0
- @xzvbailss/baileys@1.0.0
- @zlynzee/baileys@1.0.6
- @skycodee/baileys@8.0.8
- @langitdeveloper/baileys@2.2.1
- @daffadevv/baileys@1.0.0
- @arkanhahaha/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.