Back to skill

Security audit

Windows 桌面自动化

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this desktop GUI automation skill suspicious because it recommends high-privilege scheduled runs and contains workflow risks; part of the referenced material was only partially analyzed.

Consider whether you need this skill’s desktop automation and daily scheduled runs. Before installing, review the task-scheduler setup and its privilege level, and account for the possibility that a same-name task could be removed. Coverage is incomplete: one referenced artifact was only partially analyzed, so the available scan does not settle all risks.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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
Findings (7)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
用 `references/task-scheduler.md` 里的 PowerShell 模板创建 Windows 计划任务,**先手动触发一次**验证 `LastTaskResult=0` 且生成了新截图,再交给它每天自动跑。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- `task-scheduler.md` — Windows 任务计划程序的 PowerShell 创建/触发/排查模板(可直接复制)。

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_write.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The recommended scheduled task runs with highest privileges without warning about the security implications.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The skill recommends highest-privilege execution by default even though ordinary desktop automation generally only requires an interactive user session. For an administrator account, this unnecessarily increases the impact of script compromise or erroneous GUI actions; modification of an elevated task's script or dependencies could also enable elevated code execution if their permissions are weak.

Content

No source excerpt is available for this finding.

The task-creation template deletes an existing same-name task without warning or confirmation.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The copyable template unconditionally deletes an existing task with the selected name without verifying ownership or requesting confirmation. A name collision can remove an unrelated scheduled job, and failure to register the replacement leaves the original job absent.

Content

No source excerpt is available for this finding.

The documented mandatory workflow opens the feature before checking idempotency, but run() checks completion before opening it.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The completion check occurs before opening the feature that may display the completion indicator, and it is not repeated after navigation. An absent indicator is therefore treated as permission to proceed, potentially repeating a state-changing action when the target application does not independently enforce idempotency; a post-click check cannot prevent that action.

Content

No source excerpt is available for this finding.

activate_window() reports success even when window activation raises an exception.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The function returns success after catching a window-activation exception, allowing callers to continue while another application may still have focus. Subsequent desktop-wide clicks, dialog-closing clicks, or Escape keystrokes can affect the wrong application and cause unintended state changes.

Content

No source excerpt is available for this finding.