@tedbrain/vlink@0.1.111
Malicious code in @tedbrain/vlink (npm)
Analysis
@tedbrain/vlink ships a postinstall hook (`node install.js`) that downloads a native platform binary and executes it during installation. install.js resolves the platform/arch and glibc version, then requests a release artifact from hxxps://gitee[.]com/api/v5/repos/ted-team/tedbrain/releases/tags/0[.]1[.]111 and falls back to a plaintext-HTTP bare IP address: hxxp://49[.]232[.]144[.]199/downloads/oss/vlink/0[.]1[.]111/vlink-linux-x86_64 (requests carry the User-Agent "@tedbrain/vlink/0.1.111"). The downloaded file is compared against a sha256 listed in the shipped binaries.json, copied into the install directory, chmod'ed 0755 and then executed (`<binary> -V`) from the install hook, so arbitrary remote code runs with the installer's privileges. Helper scripts additionally rewrite npm-managed bin shims (vlink/vlink.cmd/vlink.ps1) in every directory on PATH plus npm_config_prefix/bin, and installer.js patches the Windows user PATH via PowerShell. The fetched binary itself is opaque and is not covered by any verifiable upstream signature - the only integrity check is a hash shipped alongside the downloader in the same tarball. IOCs: download host 49[.]232[.]144[.]199, path /downloads/oss/vlink/<version>/vlink-<platform>-<arch>; lookup host gitee[.]com (/api/v5/repos/ted-team/tedbrain/releases/tags/<version>).
- analyzed by
- Leitwacht
- first seen
- Nov 4, 2026, 02:19 AM
- analyzed
- Nov 4, 2026, 05:45 AM
- weekly installs
- 1,898
Related advisories
- @tedbrain/vlink@0.1.119 same package
- @biz44/id79-client@1.1.80
- libas-signal@1.0.0
- config-normalizer-node@1.0.0
- persona-ai-sdk@1.0.0
- ms-client-portal@1.0.0
- random-transactions-sdk@1.0.4
- random-transactions-sdk@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.