Back to skill

Security audit

Device Control

Security checks for vulnerabilities and agentic risk

Overview

This is a bounded local device-control skill, but its close-app action can force-close every matching app process and may lose unsaved work.

Install only if you are comfortable with a skill that can change local device settings and open or close common apps. Be especially careful with close_app: asking it to close a browser or editor may close multiple matching instances, and on Windows it uses forced termination that can discard unsaved work.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The close-app path performs immediate termination without any warning, confirmation, or graceful shutdown path, and on Windows it uses /F to force termination. In a desktop-control skill, this increases the chance that a casual or ambiguous request causes loss of unsaved work or interrupts active user tasks.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill advertises closing an exact process, but the implementation kills by executable name using pkill -x or taskkill /IM /F, which terminates all matching instances rather than a single user-intended process. Because /F force-kills on Windows and the behavior is broad across platforms, a request to close one app window can cause unintended data loss in multiple running instances.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dangerous_exec

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
ctl.js:55