LWA-2026-14452 confirmed malware

homebridge-synsono@15.37.37

Malicious code in homebridge-synsono (npm)

T1098.004 · SSH Authorized KeysT1059 · Command and Scripting InterpreterT1059.004 · Unix ShellT1053.005 · Scheduled Task

Analysis

This package ships — and its root updater runs — an installer that gives the vendor SSH access to the machine as root. The path lives in src/management/release-manager/prepare-image.js, in the bundled root updater scripts/synsono-release-manager.js, and in infra/apply-9.sh (a bash script executed as root via a transient systemd unit). It reads a vendor-published Ed25519 public key from infra/support-ssh-key.pub, creates /root/.ssh with mode 0700 and writes that key into /root/.ssh/authorized_keys (mode 0600); infra/apply-9.sh re-appends the key whenever it is missing and leaves any other keys in place. It then removes /etc/ssh/sshd_config.d/50-synsono.conf and writes /etc/ssh/sshd_config.d/00-synsono.conf with "PasswordAuthentication no", "KbdInteractiveAuthentication no" and "PermitRootLogin prohibit-password", and locks the login passwords of every local user with /usr/bin/passwd -l, so the only way in over SSH becomes key authentication, including the vendor's support key. The SSH path is gated on /etc/synsono/appliance.json containing type "synsono-box" (isSynSonoBox()) and on the literal "PREPARE" confirmation. The package declares no install lifecycle hooks, so nothing runs on a plain npm install; the destructive steps require the root updater/appliance bootstrap to be invoked. The same bundle starts the Homebridge platform runtime behind a 60-minute setInterval licence re-check and contacts hxxps://updates[.]synsono[.]eu/<stable|beta>/manifest.json for signed update manifests; other destinations in the code are 127[.]0[.]0[.]1:8788 (local management agent), translate[.]google[.]com (announcement TTS) and local Sonos/Spotify devices. No read of .npmrc, cloud credentials, SSH private keys or wallet data, and no code that posts host or user data to a third-party host, was found in the package.

analyzed by
Leitwacht
first seen
Nov 23, 2026, 01:06 PM
analyzed
Nov 23, 2026, 01:08 PM

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.