Back to skill

Security audit

Home Music

Security checks for vulnerabilities and agentic risk

Overview

This skill controls Spotify and home speakers as advertised, with caution around accidental voice triggers and an admin-permission symlink install.

Install only if you are comfortable letting this skill control Spotify and Airfoil speakers on your Mac. Consider changing the triggers to more explicit phrases and review the sudo symlink command before running it, especially if /usr/local/bin/home-music already exists.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger list uses common natural-language phrases like "party mode," "chill music," "house music," and "stop music," which are broad enough to match ordinary conversation or unrelated user requests. In a voice/agent context, this can cause unintended activation of speaker routing and playback actions across the home, making the skill prone to accidental execution even without malicious intent.

Content

No source excerpt is available for this finding.

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
95% confidence
Finding

The trigger phrase "stop music" overlaps with a common built-in media control intent, creating a shadowing/conflict risk where this skill may intercept or alter expected stop behavior. Because this skill controls both Spotify playback and Airfoil speaker connections, accidental routing to the skill could stop playback and disconnect speakers unexpectedly across the house.

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 148)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! 🎉

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The example invocation phrases for Clawdbot are conversational and generic, such as "start party mode" and "stop the music," which can overlap with normal assistant usage or other built-in commands. This increases the chance that the skill is selected when the user intended a different action, leading to unintended device control in the home environment.

Content

No source excerpt is available for this finding.