Back to skill

Security audit

Zworker

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its stated Zworker-control purpose, but it gives an agent broad local automation, identity-sync, and message-forwarding authority with weak scoping and unsafe recipient fallback.

Review before installing. Use this only with a trusted local Zworker instance, confirm which OpenClaw user IDs may be synced, avoid fallback notification routing, and require explicit confirmation before task execution, schedule changes, or message sends.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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 (3)

T05 · Unauthorized Access and Privilege Escalation

Error
Location
SKILL.md:31
Finding

Overbroad Collection and Transfer of OpenClaw User Identifiers

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/zworker_api.py:22
Finding

Unauthenticated Plaintext Control Channel for State-Changing Operations

Content
View full analysis
Dict[str, Any]: url = f"{BASE_URL}{endpoint}" if HAS_REQUESTS: try: if method.upper() == 'GET': response = requests.get(url, params=params, timeout=TIMEOUT) else: # POST headers = {'Content-Type': 'application/json'} response = requests.post( url, params=params, json=data, headers=headers, timeout=TIMEOUT ) response.raise_for_status() result = response.json() ``` State-changing functions use this unauthenticated request mechanism: ```python return _make_request('POST', '/control/runTask', data=data) return _make_request('POST', '/control/setSchedule', data=data) return _make_request('POST', '/control/setClawUserInfo', data=data) ``` The Skill documentation explicitly states that authentication is currently not required. ### Technical Analysis The client sends sensitive commands over unauthenticated HTTP. The affected operations include: - Executing Zworker tasks. - Enabling or disabling schedules. - Synchronizing channel and user identifiers. - Transferring cron identifiers. Loopback addressing limits ordinary remote reachability but does not authenticate the server or caller. Any untrusted process running ...[truncated 2110 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:44
Finding

Unvalidated Notification Relay Can Target Arbitrary or Unintended Recipients

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (21)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Allowing delivery to a default-bound or recent-chat user when userid is empty creates a clear risk of misdelivery. Because notifications may contain sensitive operational or personal content, fallback routing without explicit confirmation can expose information to the wrong recipient.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
96% confidence
Finding

The skill instructs the agent to read local configuration and make HTTP requests to a local service, but it declares no explicit tool scope or permission boundaries. That increases the chance of unintended file access or network use beyond what the user expects, especially because the skill can sync user identifiers and forward messages.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill performs user-data synchronization and message forwarding but does not prominently warn about privacy implications, recipient verification, or the possibility of sending sensitive content onward. In this context, the lack of consent and destination-safety checks can lead to unauthorized disclosure of user IDs and message contents.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The instruction to 'try every possible way' to obtain missing user IDs encourages broad collection from available sources and normalizes overreach in gathering identifiers. In a skill that already syncs those identifiers to another application, this increases the likelihood of unnecessary data harvesting and downstream privacy exposure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This is a markdown file, so SQP-2 applies to missing user warnings in the skill description. The /control/runTask endpoint executes tasks and the /control/setSchedule endpoint starts or stops scheduled jobs, but the document does not include a clear warning near these operations about their potentially impactful or state-changing behavior; the later note that async operations may take time is informational, not a user-facing safety warning.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill documents a user-info synchronization endpoint that sends channel and user identifiers to a local service, while also stating that all interfaces require no authentication. In an agent context, this increases the chance of unintended transmission or modification of identifying data without adequate user awareness, authorization checks, or privacy controls.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/api_endpoints.md (reported line 153)May include surrounding context.

使用示例

cURL 示例

获取任务列表:

bash

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The script prints notification contents and also includes the full raw payload in JSON output, which can expose sensitive user data, tokens, internal identifiers, or message contents to logs, downstream tools, or an unintended operator. In this skill’s context, the data comes from a local automation service that handles user info sync and message forwarding, so notifications are reasonably likely to contain private or operationally sensitive information.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This Python file contains natural-language descriptions, argument help text, and user-facing messages entirely in Chinese. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly documented and justified, which is not present here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The docstring, CLI description, argument help text, and user-facing messages are all hard-coded in Chinese, with no indication that language is configurable or that the skill is intentionally limited to a Chinese-speaking context. This creates a natural-language policy concern because it imposes a specific language on users without opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This code file contains natural-language descriptions and CLI output entirely in Chinese, including the module docstring and user-facing help/error text. That forces a specific language/locale on all users without opt-in, which matches the language policy violation criteria.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
86% confidence
Finding

The module performs outbound HTTP POST requests carrying arbitrary data to a local service without transport security or authentication visible in this client. In this skill, the transmitted data can include task-control commands and user identifiers, so compromise or spoofing of the local service could lead to unauthorized actions or privacy leakage.

Content

Scanner excerpt · scripts/zworker_api.py (reported line 55)May include surrounding context.

python
response = requests.get(url, params=params, timeout=TIMEOUT)
            else:  # POST
                headers = {'Content-Type': 'application/json'}
                response = requests.post(url, params=params, json=data, 
                                        headers=headers, timeout=TIMEOUT)
            response.raise_for_status()
            result = response.json()

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This code file exposes a run_task function that performs a POST request to /control/runTask, which initiates execution of a task on the target service. Although the function has an internal docstring, there is no user-facing confirmation, logging, or visible disclosure in this file that calling it will trigger potentially impactful remote execution.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The set_schedule function sends a POST request to /control/setSchedule to start or stop a schedule, which can affect system behavior in a persistent way. The code includes only an internal docstring and no confirmation prompt, visible log, or other user disclosure indicating that it will modify remote scheduling state.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

set_user_info() transmits user identifiers over plain HTTP to a local service, which can expose sensitive metadata if localhost traffic is intercepted, proxied, logged, or the target service is rebound beyond loopback. In skill context, this is more dangerous because the feature is explicitly designed to synchronize user information, making privacy-impacting data flow a core behavior.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

L030-L031 明确规定同步用户信息时要读取当前 OpenClaw 的 openclaw.json 中的 channels 字段并尽力补齐 userid;但 L149-L150 又把“用户列表”来源描述为通过 OpenClaw 的 cli、gateway 等工具获取。这两处文档对同一功能的数据来源给出了相互冲突的实现意图,属于文档层面的 intent-code/intent-doc divergence。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

SQP-3 applies to all file types and covers language or locale policy violations. This file presents all operational documentation in Chinese only, with no indication that users may choose another language or that the Chinese-only format is a justified region-specific requirement.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The docstring, CLI description, argument help text, and user-facing messages are all written only in Chinese. This creates a natural-language locale constraint without opt-in or explanation, which matches the policy category for forced language or locale.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script's docstring, argument descriptions, and user-facing output are written in Chinese with no indication that language selection is optional or that the tool is intentionally restricted to a Chinese-speaking context. This can violate language/locale policy when a specific language is imposed without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file’s docstring and argument descriptions are entirely in Chinese, including the main parser description and user-facing help text. The policy for this category flags language or locale constraints when a skill forces a specific language without user opt-in, and this file does not provide any alternative language option or documented justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

Docstrings, comments, CLI descriptions, and user-facing output strings in this file are entirely in Chinese, with no indication that users can choose another language. This can constitute a language-policy issue because the skill effectively forces a single locale without explicit opt-in or justification.

Content

No source excerpt is available for this finding.