Back to skill

Security audit

Sonos Music Search

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed Sonos music CLI that sends searches to Brave and controls local Sonos speakers, with dependency and privacy cautions but no hidden or destructive behavior found.

Install only if you are comfortable with your music searches being sent to Brave Search and the skill discovering and controlling Sonos speakers on your local network. For shared or production environments, update or pin dependencies and review the Brave API key handling before use.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (14)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The declared purpose understates behavior by omitting current-playback retrieval, Spotify-specific dependency, CLI operations, and required Brave API key configuration. This weakens informed consent and review because users may authorize or run the skill without understanding that it accesses playback state, depends on third-party services, and requires secrets and local-network interaction.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: axios==1.16.0 — 10 advisory(ies): CVE-2026-67313 (Axios: Excessive recursion in formDataToJSON can cause denial of service); CVE-2026-67319 (Axios: Nested axios option objects can consume polluted prototype values); CVE-2026-67315 (Axios: NO_PROXY bypass for 0.0.0.0 local addresses in axios) +7 more

High
Category
Supply Chain
Confidence
95% confidence
Finding

The lockfile pins axios 1.16.0, which is identified as having multiple known high-severity advisories, including denial-of-service, prototype-pollution-related behavior, and proxy bypass issues. In this skill, axios is pulled in transitively by the Sonos library, so any network-facing or attacker-influenced request/response handling in that dependency chain could expose the host or allow abuse of local network access.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: form-data==4.0.5 — 1 advisory(ies): CVE-2026-12143 (form-data: CRLF injection in form-data via unescaped multipart field names and f)

High
Category
Supply Chain
Confidence
88% confidence
Finding

form-data 4.0.5 has a reported CRLF injection issue in multipart field handling. Although this package is transitive under axios and may not be directly exercised by this skill's expected music-search workflow, if attacker-controlled values ever reach multipart request construction, it could enable header/body manipulation in outbound requests.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: ip==1.1.9 — 1 advisory(ies): CVE-2024-29415 (ip SSRF improper categorization in isPublic)

High
Category
Supply Chain
Confidence
97% confidence
Finding

The ip 1.1.9 package is flagged for SSRF-related improper categorization in isPublic, which can cause private or special-use addresses to be misclassified as safe. In a Sonos skill that interacts with devices on the local network, misclassification of addresses is especially relevant because it can weaken protections around internal network targeting and expand SSRF-style access to local services or speakers.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill declares network and environment-variable requirements in metadata but does not define an explicit tool scope such as permissions or allowed-tools. That creates an authorization gap where the skill's effective capabilities are broader or less reviewable than its declared trust boundary, making it easier for users or platforms to miss that external requests and secret access are required.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The report documents that SafeSearch is hardcoded to off, which means the skill may retrieve explicit content without user opt-in or warning. In the context of a music search-and-play skill, this is a real safety and trust issue because end users may trigger playback on shared household speakers, including around children or other unintended audiences.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · src/index.js (reported line 4)May include surrounding context.

js
const fetch = require('node-fetch');
const Sonos = require('sonos');

const BRAVE_SEARCH_BASE = 'https://api.search.brave.com/res/v1/web/search';
const DISCOVERY_TIMEOUT_MS = 5000;
const DEFAULT_SAFESEARCH = 'moderate';
const SITE_FILTER = 'site:open.spotify.com/track';

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest describes a skill that searches for music via Brave Search and plays it on Sonos speakers. This file also implements and exposes a separate capability to query what is currently playing on a speaker, which is not implied by 'search for music and play it' and broadens the skill's behavior beyond the stated description.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill does not explicitly warn that user music queries are sent to Brave Search, a third-party external service. While the data involved is usually low sensitivity, search terms can reveal preferences or habits, so the omission creates a privacy transparency issue and reduces informed consent.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
56% confidence
Finding

Line L42 says the skill will not be recognized by the OpenClaw skill system without a SKILL.md, but this document itself is an audit report and does not function as the skill manifest or runtime code. That wording creates documentation-level confusion about what this file does versus what the actual skill artifacts are.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
92% confidence
Finding

The sonos package is specified with a caret range (^1.14.0), so installs may resolve to later compatible releases without explicit approval. This creates a supply-chain exposure: if an upstream release is buggy or compromised, a skill that can issue commands to local Sonos speakers could inherit unsafe behavior or device-control abuse.

Content

Scanner excerpt · package.json (reported line 1)May include surrounding context.

json
{"name": "sonos-music-search-skill", "version": "1.0.0", "description": "Sonos skill that uses Brave Search to find and play music", "main": "src/index.js", "scripts": {"start": "node src/index.js", "format": "prettier --write \"**/*.{js,md}\"", "format:check": "prettier --check \"**/*.{js,md}\""}, "dependencies": {"node-fetch": "^2.7.0", "sonos": "^1.14.0"}, "devDependencies": {"prettier": "^3.2.5"}, "keywords": ["sonos", "brave-search", "clawhub-skill"], "author": "", "license": "MIT", "engines": {"node": ">=18"}}

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
92% confidence
Finding

The sonos package is specified with a caret range (^1.14.0), so installs may resolve to later compatible releases without explicit approval. This creates a supply-chain exposure: if an upstream release is buggy or compromised, a skill that can issue commands to local Sonos speakers could inherit unsafe behavior or device-control abuse.

Content

Scanner excerpt · package.json (reported line 1)May include surrounding context.

json
{"name": "sonos-music-search-skill", "version": "1.0.0", "description": "Sonos skill that uses Brave Search to find and play music", "main": "src/index.js", "scripts": {"start": "node src/index.js", "format": "prettier --write \"**/*.{js,md}\"", "format:check": "prettier --check \"**/*.{js,md}\""}, "dependencies": {"node-fetch": "^2.7.0", "sonos": "^1.14.0"}, "devDependencies": {"prettier": "^3.2.5"}, "keywords": ["sonos", "brave-search", "clawhub-skill"], "author": "", "license": "MIT", "engines": {"node": ">=18"}}

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
92% confidence
Finding

The sonos package is specified with a caret range (^1.14.0), so installs may resolve to later compatible releases without explicit approval. This creates a supply-chain exposure: if an upstream release is buggy or compromised, a skill that can issue commands to local Sonos speakers could inherit unsafe behavior or device-control abuse.

Content

Scanner excerpt · package.json (reported line 1)May include surrounding context.

json
{"name": "sonos-music-search-skill", "version": "1.0.0", "description": "Sonos skill that uses Brave Search to find and play music", "main": "src/index.js", "scripts": {"start": "node src/index.js", "format": "prettier --write \"**/*.{js,md}\"", "format:check": "prettier --check \"**/*.{js,md}\""}, "dependencies": {"node-fetch": "^2.7.0", "sonos": "^1.14.0"}, "devDependencies": {"prettier": "^3.2.5"}, "keywords": ["sonos", "brave-search", "clawhub-skill"], "author": "", "license": "MIT", "engines": {"node": ">=18"}}

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The manifest only says the skill searches for music via Brave Search and plays it on Sonos speakers; it does not mention handling local credentials or configuration secrets. While the Brave API call itself is expected, directly accessing process environment for an API key is an additional capability not stated in the skill's declared purpose.

Content

No source excerpt is available for this finding.