---
canonical: "https://firewall.lpm.dev/npm/homebridge-synsono"
markdown: "https://firewall.lpm.dev/npm/homebridge-synsono/v/15.37.30.md"
package: "homebridge-synsono"
report_status: "published"
title: "homebridge-synsono@15.37.30 npm security report"
verdict: "malicious"
version: "15.37.30"
---

# homebridge-synsono@15.37.30 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — The key grants whoever holds its private counterpart persistent root SSH access to the box. The source does not establish who holds that private key or show a connection using it.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Persistence
- **Selected version:** 15.37.30
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The update path automatically installs the bundled publisher-labelled SSH key into root's authorized\_keys on prepared boxes, creating persistent privileged remote access without the confirmation required by the separate image-preparation flow. This is reachable through the product's default automatic-update mode and is outside the stated Homebridge/Sonos function, so I classify it as malicious persistence.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 96.0%
- **Started:** 2026-11-21T13:04:02.286Z
- **Finished:** 2026-11-21T13:06:10.305Z
- **Download time:** 500 ms
- **Static scan time:** 4666 ms
- **AI review time:** 122852 ms
- **Total time:** 128019 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** An automatic update can restore publisher-selected SSH access for root on a prepared SynSono Box.

- **Trigger:** A default automatic update on a SynSono Box installs a newer release; after commit, the updater applies missing infrastructure revisions.

- **Impact:** The key grants whoever holds its private counterpart persistent root SSH access to the box. The source does not establish who holds that private key or show a connection using it.

- **Evidence paths:** src/management/auto-update-scheduler.js, src/management/release-manager/infra.js, infra/apply-9.sh, infra/support-ssh-key.pub

- **Review source:** ai\_review

- **Reviewed:** 2026-11-21T13:06:10.305Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Revision 9 reads the bundled synsono-support public key and appends it to /root/.ssh/authorized\_keys if absent, when the box has a SynSono SSH configuration.

- **Attack narrative:** On a SynSono Box with automatic updates enabled, a release update reaches the post-commit infrastructure runner. Revision 9 runs as a transient systemd task and, on a prepared box, restores the release's fixed synsono-support key to root's authorized\_keys without the PREPARE confirmation required by the separate image-preparation command. This creates persistent root SSH access for the holder of the matching private key; the inspected source does not identify that holder or show an actual login.

- **Rationale:** The update path automatically installs the bundled publisher-labelled SSH key into root's authorized\_keys on prepared boxes, creating persistent privileged remote access without the confirmation required by the separate image-preparation flow. This is reachable through the product's default automatic-update mode and is outside the stated Homebridge/Sonos function, so I classify it as malicious persistence.

- **Files touched:** /root/.ssh/authorized\_keys

- **Network endpoints:** https://updates.synsono.eu/stable/manifest.json, https://updates.synsono.eu/beta/manifest.json

### Review decision

- **Verdict:** Malicious

- **Confidence:** 96.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** Automatic updates are enabled by default on SynSono Box devices and install a signed newer release overnight., After an update, the release manager applies missing infrastructure revisions by running their shell scripts through a transient systemd unit., Revision 9 appends its bundled SSH key to root's authorized\_keys on prepared boxes when the key is absent., The bundled key is labelled synsono-support., The default update manifest is fetched from updates.synsono.eu., The separate image-preparation command requires the explicit confirmation value PREPARE.

- **Evidence against:** The package is a Homebridge/Sonos product and also describes a SynSono Box with updates, so appliance maintenance is part of its broader product., The embedded material is a public SSH key; the corresponding private key is not present in the inspected source., The standalone image-preparation flow requires explicit confirmation, though the update path that restores the key does not.

## Affected versions and remediation

This report applies to homebridge-synsono@15.37.30.

- Avoid installing homebridge-synsono@15.37.30. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/index.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: "use strict";
L2: const { SynSonoPlatform } = require("./src/bootstrap/homebridge-platform");
L3: module.exports = api => api.registerPlatform("SynSono", SynSonoPlatform);
```

### 3. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** src/infrastructure/sonos/direct-command-adapter.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/infrastructure/sonos/direct-command-adapter.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L28: const crypto = require("node:crypto");
L29: const http = require("node:http");
L30: const https = require("node:https");
...
L788: kind: "radio",
L789: transport: Object.freeze({ uri, metadata: xmlTagValue(xml, "CurrentURIMetaData") }),
L790: });
```

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 5. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 6. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 7. Critical: Persistence Backdoor
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** scripts/synsono-release-manager.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/scripts/synsono-release-manager.js>)

Source writes persistence or remote-access backdoor material.

Public source snippet (untrusted):

```javascript
L207: path = require("node:path"),
L208: cp = require("node:child_process");
L209: const updaterInstall = require("../updater-install");
...
L235: try {
L236: return validVersion(String(JSON.parse(fs.readFileSync(file, "utf8")).version || ""));
L237: } catch (error) {
...
L294: if (result.status !== 0)
L295: throw new Error(`Management Agent restart failed (exit ${result.status}): ${String(result.stderr || "").trim()}`);
L296: }
...
L300: if (!token) throw new Error("Management Agent token is empty");
L301: const probe = `const http=require("node:http");const expectedAgent=process.argv[1],expectedApp=process.argv[2],host=process.argv[3],port=Number(process.argv[4]),token=process.env.S...
L302: const result = cp.spawnSync(
```

### 8. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 9. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 10. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** infra/apply-5.sh
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/infra/apply-5.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = infra/apply-5.sh
kind = build_helper
sizeBytes = 2529
magicHex = [redacted]
```

### 11. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 12. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/synsono-management-plane.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/scripts/synsono-management-plane.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = scripts/synsono-management-plane.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/synsono-release-manager.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/scripts/synsono-release-manager.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = scripts/synsono-release-manager.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/infrastructure/system/system-health.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/infrastructure/system/system-health.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = [redacted]-health.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/maintenance-status.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/maintenance-status.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/maintenance-status.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/release-manager/infra.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/release-manager/infra.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/release-manager/infra.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/release-manager/runtime.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/release-manager/runtime.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/release-manager/runtime.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 19. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/release-manager/timezone.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/release-manager/timezone.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/release-manager/timezone.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 20. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/install-release-manager.sh
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/scripts/install-release-manager.sh>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```shell
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = scripts/install-release-manager.sh
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/install-root-manager-hotfix.sh
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/scripts/install-root-manager-hotfix.sh>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```shell
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = scripts/install-root-manager-hotfix.sh
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/management-plane/01-settings.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/management-plane/01-settings.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/management-plane/01-settings.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/release-manager/agent.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/release-manager/agent.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/release-manager/agent.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/management/release-manager/factory-reset.js
- **Public source:** [View source](<https://unpkg.com/homebridge-synsono@15.37.30/src/management/release-manager/factory-reset.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = homebridge-synsono@15.37.29
matchedPath = src/management/release-manager/factory-reset.js
matchedIdentity = npm:aG9tZWJyaWRnZS1zeW5zb25v:15.37.29
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 6
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** homebridge-synsono
- **Ecosystem:** npm
- **Version:** 15.37.30
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-11-21T12:17:19.418Z
- **Package first seen:** 2026-11-19T17:08:42.828Z
- **Package last seen:** 2026-11-22T09:55:01.210Z
- **Known versions:** 11
- **Latest version:** 15.37.35
- **Appeal under review:** No
- **Description:** SynSono turns your Sonos system into Apple Home devices: Source Profiles, room control, music and spoken announcements. 30-day trial, then a licence.
- **Author:** SynSono
- **Keywords:** homebridge-plugin, supports-hap, sonos, homekit, synsono
- **Runtime engines:** node: \>=22, homebridge: ^1.6.0 || ^2.0.0
- **Artifact files:** 387
- **Artifact unpacked size:** 4,142,658 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/homebridge-synsono/v/15.37.30>)
- [Homepage](<https://www.synsono.com/>)
