Back to skill

Security audit

Morning Wake-Up

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed weather-based Sonos wake-up automation, with manageable privacy and local-device-control considerations.

Install only if you are comfortable sharing the configured location or coordinates with Open-Meteo and allowing the agent to control the named Sonos speaker. If you add the cron schedule, treat it as a recurring automation and keep an easy way to disable it.

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
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
bun scripts/wake-up.ts --location "Shanghai" --speaker "Living Room"

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill clearly describes network use to fetch weather data and local device control via the Sonos CLI, but it does not declare any explicit tool scope or permissions. This weakens least-privilege controls and can cause the agent to invoke networked or device-controlling capabilities without clear policy boundaries or user visibility.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger phrases include broad everyday language such as 'wake me up' and 'morning routine,' which can accidentally match normal user requests that were not intended to launch this specific automation. Because the skill performs network access and controls a local Sonos device, misrouting can lead to unintended scheduled actions or device playback.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The scheduled automation section tells users to create a daily cron job that will later fetch weather data and control a local Sonos speaker, but it does not clearly warn that this will happen automatically without per-run interaction. Users may not realize they are authorizing recurring network access and local device actions, increasing the risk of surprise behavior or misuse in shared environments.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · scripts/wake-up.ts (reported line 67)May include surrounding context.

ts
timezone: "auto",
  });

  const wxUrl = `https://api.open-meteo.com/v1/forecast?${params}`;
  const wxRes = await fetch(wxUrl);
  if (!wxRes.ok) throw new Error(`Weather API failed: ${wxRes.status}`);
  const wxData = await wxRes.json();

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The manifest describes a morning wake-up automation that fetches weather and matches it to a Sonos preset, but the implementation controls Sonos by spawning an external sonos executable. Launching local subprocesses is a broader host-level capability than the user-facing description implies, even if the end goal is Sonos playback.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.