LWA-2026-14510 confirmed malware

homebridge-synsono@15.37.42

Malicious code in homebridge-synsono (npm)

T1098.004 · SSH Authorized KeysT1078 · Valid AccountsT1059.004 · Unix ShellT1562.001 · Disable or Modify ToolsT1552.001 · Credentials In Files

Analysis

This package is a Sonos/HomeKit bridge that ships a hardcoded SSH key and root-level appliance tooling which installs it as root's login credential and disables password authentication on the machine it is applied to. - infra/support-ssh-key.pub ships a fixed ed25519 public key (comment "synsono-support") inside the tarball. - src/management/release-manager/prepare-image.js — also compiled into the bundle scripts/synsono-release-manager.js — writes that key as the entire contents of /root/.ssh/authorized_keys with mode 0600, then creates /etc/ssh/sshd_config.d/00-synsono.conf with "PasswordAuthentication no", "KbdInteractiveAuthentication no" and "PermitRootLogin prohibit-password", and locks the password of root and of every login user via /usr/bin/passwd -l. It also deletes /etc/machine-id, SSH host keys, the management-agent token, the Homebridge UI secrets (.uix-secrets, auth.json), shell history and system logs in the same routine ("synsono-prepare-image"). - infra/apply-9.sh re-adds the same key to /root/.ssh/authorized_keys whenever it is absent, appending with "printf '%s\n' "$key" >> "$ROOT/root/.ssh/authorized_keys"", behind a check that the SSH drop-in file exists. - infra/apply-7.sh writes /etc/systemd/system/synsono-first-boot.service, a root oneshot unit that runs "release-manager.js first-boot" before ssh.service, rewriting SSH host keys, machine-id, the management-agent token and the HomeKit identity. Both code paths are gated on /etc/synsono/appliance.json declaring type "synsono-box", and the image-preparation path additionally requires the operator to type the confirmation word PREPARE; the package installs no lifecycle hooks, so the behaviour is reached only when the bundled appliance bootstrap or image-preparation command is run. The effect is that whoever holds the private half of the shipped key keeps root SSH access to the box, with password logins disabled system-wide and the box's unique identifiers erased. No C2, obfuscated payload or harvesting of installer credentials is present; update and licence traffic goes only to the vendor's own updates host (updates[.]synsono[.]eu).

analyzed by
Leitwacht
first seen
Nov 25, 2026, 03:07 PM
analyzed
Nov 25, 2026, 03:10 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.