Back to skill

Security audit

skill-merge-and-republish

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it says, but it can delete a local skill folder and publish changes without requiring an explicit safety check first.

Install only if you are comfortable letting the agent modify local skill sources and publish updated skill behavior. Before using it, require the agent to show which skill will be kept and which folder will be retired, verify the merged SKILL.md, and archive or commit a backup before any deletion or ClawHub publish step.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Ae1

High
Category
analysis-evasion
Content
3. Merge the absorbed logic into the canonical `SKILL.md`.
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The workflow explicitly instructs the agent to remove the redundant local skill folder, which is a destructive action, but it provides no requirement to confirm with the user, create a backup, or verify that the correct folder was selected. In a skill-merging context, mistakes in choosing the canonical versus retired skill could permanently delete local content or metadata and cause loss of work before the merge is validated.

Static analysis

No suspicious patterns detected.