Back to skill

Security audit

openclaw-skill-generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent OpenClaw skill generator, but it asks agents to make broad local changes and auto-install tools without enough user approval or containment.

Install only if you are comfortable with a skill that can create, replace, backup, and repair local OpenClaw skill folders. Do not allow unattended package installs or sudo/admin commands; review generated files before deployment, confirm exact target paths, and avoid running it in directories where untrusted users can create symlinks or modify .openclaw contents.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:35
Finding

Automatic Installation of Unverified Third-Party Dependencies

Content
View full analysis
.dev/docs/installation` - `https://.io/getting-started` - `https://docs..com` | `npm` | Node.js 工具 | `npm search ` | | `pip` | Python 工具 | `pip search ` 或查 https://pypi.org | `https://github.com//` 直接搜索 ` installation guide ` 获取最新安装方式。 ``` ### Technical Analysis The Skill's execution protocol authorizes the Agent to discover and automatically install missing tools. Discovery may be performed through package-manager searches, guessed documentation domains, GitHub repositories, or general web search. The protocol does not require: - Explicit user approval before installation - An allowlist of acceptable packages or publishers - Verification that a package is maintained by the legitima ...[truncated 2158 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/write_file.js:36
Finding

Filesystem Boundary Checks Can Be Bypassed Through Symbolic Links and Lookalike Paths

Content
View full analysis
Remediation
View remediation
/.drafts` and the destination is a direct child of ``. 10. Use restrictive permissions and prevent untrusted users from modifying the OpenClaw Skills directory during generation or deployment. ]]>
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (43)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow goes beyond 'brand-new' creation by deploying directories, replacing existing destinations, and deleting source drafts after success, none of which are clearly disclosed in the description. Destructive and replacement operations materially raise risk of data loss or unauthorized modification if triggered incorrectly.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The workflow goes beyond 'brand-new' creation by deploying directories, replacing existing destinations, and deleting source drafts after success, none of which are clearly disclosed in the description. Destructive and replacement operations materially raise risk of data loss or unauthorized modification if triggered incorrectly.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow goes beyond 'brand-new' creation by deploying directories, replacing existing destinations, and deleting source drafts after success, none of which are clearly disclosed in the description. Destructive and replacement operations materially raise risk of data loss or unauthorized modification if triggered incorrectly.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The workflow goes beyond 'brand-new' creation by deploying directories, replacing existing destinations, and deleting source drafts after success, none of which are clearly disclosed in the description. Destructive and replacement operations materially raise risk of data loss or unauthorized modification if triggered incorrectly.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The workflow goes beyond 'brand-new' creation by deploying directories, replacing existing destinations, and deleting source drafts after success, none of which are clearly disclosed in the description. Destructive and replacement operations materially raise risk of data loss or unauthorized modification if triggered incorrectly.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 文件夹内必须包含 `SKILL.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node ./scripts/write_skill.js --source "<draftPath>" --dest "<targetPath>" --if-exists error

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node ./scripts/write_skill.js --source "<draftPath>" --dest "<targetPath>" --if-exists error

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node ./scripts/backup_skill.js --skill-path "<targetPath>"

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · references/tool-setup-guide.md (reported line 101)May include surrounding context.

md
|------|---------|------|
| macOS | Homebrew | `brew install node` |
| macOS (无 Homebrew) | 官网安装包 | 访问 https://nodejs.org → 下载 LTS |
| Ubuntu / Debian | apt | `sudo apt update && sudo apt install nodejs npm` |
| CentOS / RHEL | yum | `sudo yum install nodejs npm` |
| Windows | 官网安装包 | 访问 https://nodejs.org → 下载 LTS → 双击安装 |
| Windows (有 winget) | winget | `winget install OpenJS.NodeJS.LTS` |

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · references/tool-setup-guide.md (reported line 133)May include surrounding context.

md
|------|---------|------|
| macOS | Homebrew | `brew install node` |
| macOS (无 Homebrew) | 官网安装包 | 访问 https://nodejs.org → 下载 LTS |
| Ubuntu / Debian | apt | `sudo apt update && sudo apt install nodejs npm` |
| CentOS / RHEL | yum | `sudo yum install nodejs npm` |
| Windows | 官网安装包 | 访问 https://nodejs.org → 下载 LTS → 双击安装 |
| Windows (有 winget) | winget | `winget install OpenJS.NodeJS.LTS` |

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README documents that the skill can write files, replace installed skills, and perform backup/rollback operations, but it does not prominently warn users that running the workflow will modify local OpenClaw skill directories. In a tool that automates filesystem changes, missing user-facing warnings and confirmation expectations can lead to accidental overwrite or replacement of existing skills, especially because deployment is described as a normal phase of operation.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 99)May include surrounding context.

md
### What is this?

An OpenClaw skill that acts as an interactive wizard for creating a brand-new OpenClaw skill folder (required `SKILL.md` + optional helper scripts). It should trigger only when a human explicitly asks to create a new skill in the conversation.

### Install

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill instructs file writes, path discovery, deployment, backup, and command execution but does not declare a restrictive tool scope such as allowed-tools or permissions. That creates unnecessary ambient authority, making it easier for the skill to access environment capabilities beyond what is needed and increasing the blast radius if the workflow is mis-triggered or prompt-injected.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill directs automatic installation or configuration of tools when dependencies are missing, which exceeds the expected scope of simply generating a skill folder. Automatically changing the host environment can introduce supply-chain, persistence, or system-integrity risk, especially if package sources and permissions are not tightly controlled.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The instructions prefer automatic installation/configuration when possible but do not require a clear user-facing warning that the system will be modified. Silent or under-disclosed host changes are risky because users may not realize the skill is about to install software or alter environment state.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The backup and overwrite workflow modifies existing skill directories and supports replacement behavior, which is riskier than simple creation and can alter functioning skills. In the context of a generator skill, these instructions increase the chance of destructive changes to deployed content.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documented purpose is to create a new skill, but later phases instruct post-install testing, repair, backup, and iterative modification of an installed skill. This scope creep makes the skill more dangerous because it becomes an editor/maintainer of existing deployed content rather than a one-time generator.

Content

No source excerpt is available for this finding.