LWA-2026-14297 confirmed malware

lianrouter@2.3.4

Malicious code in lianrouter (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

This package is a launcher CLI for an LLM gateway that installs its real payload outside the npm tarball. The declared postinstall hook only prints a message; the actual work happens on first run, when dist/cli.js resolves a release candidate for the host platform/architecture through the GitHub API for the ReXooGen/Lian-Router repository, downloads the matching release archive, verifies a required sha256 checksum, lists and extracts it into a per-user install root (LIANROUTER_HOME), and starts the extracted native `lianrouter` (or `lianrouter.exe` on Windows) executable as a child process with the invoking user's full environment inherited plus PORT and LIANROUTER_HOME. Because the executable is fetched at run time it is never part of the published npm artifact, so the code executed on the machine is not the code the registry served. Both fetch destinations can be redirected by environment variable: LIANROUTER_UPDATE_BASE_URL replaces the GitHub releases base and LIANROUTER_NPM_REGISTRY replaces the npm update-check endpoint (hxxps://registry[.]npmjs[.]org/lianrouter/latest). dist/tray.js can additionally start, stop and restart the installed binary and launch a browser, and uses Windows user32 API calls. The packaged JavaScript also writes a starter .env into the install root holding a locally generated LIANROUTER_ENCRYPTION_KEY, DATABASE_URL and REDIS_URL. No token, SSH key, cloud credential or wallet data is read or transmitted by the packaged JavaScript itself; the remaining network traffic it issues goes to 127[.]0[.]0[.]1 loopback control and health endpoints, the GitHub releases API and the npm registry.

analyzed by
Leitwacht
first seen
Nov 18, 2026, 05:06 AM
analyzed
Nov 18, 2026, 05:07 AM
weekly installs
64
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/ReXooGen/Lian-Router Request takedown / dispute →

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.