homebridge-synsono@15.38.12
Malicious code in homebridge-synsono (npm)
Analysis
Installing this Homebridge Sonos plugin also ships a root-level appliance management path. On a host marked as a SynSono appliance (/etc/synsono/appliance.json containing type "synsono-box"), its release-manager code (src/management/release-manager/prepare-image.js and scripts/synsono-release-manager.js) overwrites /root/.ssh/authorized_keys with the package's bundled Ed25519 key from infra/support-ssh-key.pub (comment synsono-support) and installs the sshd drop-in /etc/ssh/sshd_config.d/00-synsono.conf setting PasswordAuthentication no and PermitRootLogin prohibit-password, after deleting the previous 50-synsono.conf. The image-prepare routine runs systemctl, factory-reset and power-off steps through spawned processes and requires the literal confirmation string "PREPARE"; it is invoked from scripts/install-release-manager.sh and the synsono-release-manager entry points that run as root. On hosts without the appliance marker these code paths return early and change nothing. The plugin's remaining outbound endpoints are hxxps://updates[.]synsono[.]eu/stable/manifest[.]json and hxxps://updates[.]synsono[.]eu/beta/manifest[.]json (signature-verified update manifests), hxxps://registry[.]npmjs[.]org/<name>/latest for version lookups, hxxps://translate[.]google[.]com/translate_tts for announcements and hxxps://open[.]spotify[.]com/oembed for playlist titles, plus LAN Sonos and loopback management services (127[.]0[.]0[.]1:8788). The package contains no install-time hooks, no obfuscated or encoded payload, and does not read npm, GitHub or cloud credential files.
- analyzed by
- Leitwacht
- first seen
- Nov 27, 2026, 03:36 PM
- analyzed
- Nov 27, 2026, 03:37 PM
Related advisories
- homebridge-synsono@15.38.13 same package
- homebridge-synsono@15.38.9 same package
- homebridge-synsono@15.38.7 same package
- homebridge-synsono@15.37.42 same package
- gemini-computer-use@0.4.1
- gemini-computer-use@0.2.3
- @iamem/amem@0.7.0
- gemini-computer-use@0.4.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.