Back to skill

Security audit

Writing Plans Enhanced

Security checks for vulnerabilities and agentic risk

Overview

This skill is a planning-template skill that writes implementation plan documents and does not contain hidden execution, network access, credential use, or destructive behavior.

Install this only if you want an agent to create persistent planning markdown files in your repository. Before letting a generated plan be executed, review the plan, confirm any subagent handoff, and require approval before git add or git commit commands are run.

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
  • 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 (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs the agent to save output directly into the repository (docs/plans/...) without requiring user confirmation or even warning that a write will occur. In an agentic environment, this can cause unintended repository modification, create clutter or sensitive design artifacts, and normalize state-changing behavior from a planning-only request.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The task template includes git add and git commit commands as a standard step, with no confirmation gate or warning that repository history will be changed. If followed by an execution-capable agent or copied automatically into a workflow, this can result in unauthorized commits, polluted history, and accidental inclusion of sensitive or incomplete changes.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The manifest says to use the skill when 'planning complex multi-step tasks that need visual planning artifacts,' which is descriptive but does not define clear boundaries for when the skill should not activate. Because this is a manifest file section within SKILL.md, the lack of negative examples or tighter trigger scope could allow unintended invocation for general planning requests.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.