Back to skill

Security audit

GOG Dormant Game Sweep

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed GOG cleanup helper that can email a report and create Apple Reminders, with no hidden payloads found.

Before installing, confirm you want an agent to use your configured himalaya email account and Apple Reminders access for this workflow. Use --dry-run first, check the recipient address, and use --no-email or --no-reminders when you only want analysis.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill describes and encourages shell-capable actions (python3, himalaya, and remindctl) but does not declare any tool scope or permissions boundaries. This creates an authorization/expectation gap where an agent may execute side-effecting commands without explicit least-privilege constraints, increasing the chance of unintended email sending or reminder creation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The 'Use when' wording is broad enough that an agent could invoke this skill for loosely related cleanup or notification requests, even though it performs external side effects like sending email and creating reminders. Over-broad triggers increase the risk of the skill running in contexts the user did not specifically authorize, leading to unwanted messaging or task creation.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/sweep.py (reported line 77)May include surrounding context.

python
"-H", f"Subject:{subject}",
        body,
    ]
    result = subprocess.run(cmd, capture_output=True, text=True)
    if result.returncode != 0:
        print(f"Error sending email: {result.stderr}", file=sys.stderr)
        sys.exit(1)

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/sweep.py (reported line 92)May include surrounding context.

python
"-H", f"Subject:{subject}",
        body,
    ]
    result = subprocess.run(cmd, capture_output=True, text=True)
    if result.returncode != 0:
        print(f"Error sending email: {result.stderr}", file=sys.stderr)
        sys.exit(1)

Static analysis

No suspicious patterns detected.