Back to skill

Security audit

Meta Skill Writer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a transparent Chinese-language guide for helping users create OpenClaw skills, with no embedded code, persistence, or hidden data access.

Install this if you want Chinese-language guidance for writing OpenClaw skills. Before following the optional evaluator install command, verify the eval-skill package source and prefer a pinned or reviewed version. When using the generated template, make skill descriptions specific to the intended task.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:163
Finding

Unpinned Third-Party Skill Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 163–166
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: Medium

Vulnerable Code

markdown
写完后建议用 **eval-skill** 检查 skill 质量:

```bash
clawhub install eval-skill
text

### Technical Analysis

The Skill recommends installing the third-party `eval-skill` package without specifying an immutable version, cryptographic digest, verified publisher, or trusted registry. Consequently, the installed content may differ from the content originally intended or reviewed.

This creates a supply-chain risk: if the package name is compromised, transferred, replaced, or updated maliciously, following the recommendation could install attacker-controlled Skill instructions or executable components. The instruction is optional, which reduces likelihood, but it still presents an unsafe dependency acquisition pattern.

### Attack Path

1. An attacker compromises the `eval-skill` package, its publisher account, or the registry entry that resolves the package name.
2. The attacker publishes a malicious release under the same unversioned package identifier.
3. A user or Agent follows the recommendation and executes `clawhub install eval-skill`.
4. The package manager resolves the mutable identifier to the malicious release.
5. The installed Skill is subsequently loaded or invoked.
6. Its malicious instructions or scripts execute within the permissions available to the Agent and its tools.

### Impact Assessment

Successful exploitation could allow malicious package content to operate with the permissions granted to the installing or invoking Agent. Depending on the package manager, Agent configuration, and enabled tools, this could expose accessible workspace data, influence Agent behavior, invoke local commands, or interact with configured external services.

No malicious payload is included in the audited project itself, and exploitation requires installation and subsequent use 
...[truncated 137 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin eval-skill to a reviewed immutable version or content digest rather than installing by an unversioned name.
  2. Specify the expected publisher and an approved registry or repository.
  3. Verify package signatures or checksums before installation where supported.
  4. Require explicit user confirmation before installing third-party content.
  5. Document the package's expected permissions, scripts, network activity, and accessible resources.
  6. Review the resolved package contents before loading or executing them.
  7. Prefer bundling an audited evaluator with the project when licensing and maintenance constraints permit.
  8. Establish a controlled update process so newer releases are reviewed before changing the pinned version.
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 (4)

Vague Triggers

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill’s description and opening guidance center on a very generic trigger phrase, “帮我写个 skill”, which is common language and not scoped to a narrow task boundary. Overly broad trigger phrases can cause accidental invocation in unrelated contexts, leading the agent to load and follow this skill when the user did not intend it, which increases the chance of inappropriate actions or prompt-surface expansion.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The guidance explicitly recommends using the user’s exact wording as the trigger and even presents a very broad example as the ideal pattern, without adding constraints, disambiguation rules, or negative examples. This encourages future skills to adopt ambiguous activation conditions, creating a systemic risk of over-triggering and cross-skill misrouting.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

This markdown template instructs authors to write the skill description starting with '当用户...' and to include trigger keywords, but it provides no constraints, examples, or exclusions for how specific those triggers must be. As a result, authors could create vague activation text that overlaps with ordinary user speech and causes unintended invocation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file's natural-language instructions, headings, comments, and examples are all in Chinese, which can amount to a language-policy constraint if this template is expected for general use. There is no indication that users may choose another language or that the template is intentionally limited to a Chinese-speaking context.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.