Back to skill

Security audit

Home Music Enhanced

Security checks for vulnerabilities and agentic risk

Overview

This skill openly controls Spotify and Airfoil speakers for home music scenes, with some broad trigger and install-symlink caveats but no evidence of hidden, destructive, or data-stealing behavior.

Install only if you want this skill to control local Spotify playback and Airfoil speaker routing on macOS. Review the speaker names, playlist URIs, and broad triggers, and consider skipping the sudo symlink if you do not need a global terminal command.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The manifest and top-level description understate the skill's effective behavior: the documentation advertises additional scenes, a status capability, and AppleScript-based control over Spotify and Airfoil without corresponding declaration of capabilities or permissions. This creates a transparency and consent problem, because users or orchestration systems may invoke a skill whose actual effects on playback and external devices are broader than expected.

Content

No source excerpt is available for this finding.

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
83% confidence
Finding

The trigger 'stop music' is close to common built-in stop commands and can shadow or collide with native assistant behavior. That can cause this skill to intercept a generic stop request and perform its own actions, such as pausing Spotify and disconnecting speakers, when the user intended a broader or different system command.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases are broad and overlap with ordinary natural-language requests such as 'party mode', 'chill music', 'house music', and 'stop music'. In a voice or agent-driven environment, ambiguous triggers can cause unintended invocation that changes playback state or routes audio to household speakers without clear user intent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The description explains convenience and scenes but does not clearly warn users that invoking the skill can control external applications, connect/disconnect speakers, and modify playback/volume. Missing warnings increase the chance of surprise actions in a home environment and reduce informed consent, especially when combined with broad triggers.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 169)May include surrounding context.

chmod +x ~/clawd/skills/home-music/home-music.sh

Symlink for global access

sudo ln -sf ~/clawd/skills/home-music/home-music.sh /usr/local/bin/home-music

text

Now `home-music` works from anywhere in your terminal! 🎉

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The manifest description and triggers emphasize quick presets for morning, party, chill, and stop/off behavior, but the documentation also presents focus, dinner, sleep, and status as built-in commands. This broadens the apparent functionality beyond the manifest's stated scope, creating a mild description-to-behavior mismatch for users and auditors relying on the manifest.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest describes 'Quick presets for morning, party, chill modes,' which implies a limited set of named scenes, but the code also implements focus, dinner, and sleep scenes. While still music-related, this exceeds the behavior specifically described in the manifest.

Content

No source excerpt is available for this finding.