Back to skill

Security audit

ClawLine Setup

Security checks for vulnerabilities and agentic risk

Overview

The skill’s purpose is coherent, but it installs an unpinned external plugin that can change ClawLine pairing state and restart the OpenClaw gateway without a clear confirmation step.

Review this before installing. It is not clearly malicious, but installation depends on the current external npm package, and normal use can replace an existing phone pairing, clear pairing data, and restart the gateway. Prefer a pinned, reviewed package version and confirm manually before changing an existing UUID or disconnecting ClawLine.

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
install.txt:1
Finding
Unpinned Third-Party Plugin Installed Without Auditable Source Code## Vulnerability Details **File Location**: `install.txt:1-3`; `SKILL.md:33-37` **Vulnerability Type**: Unpinned external dependency installation **Risk Level**: Medium ### Vulnerable Code `install.txt:1-3`: ```text npm_package: @openclawline/clawline-setup install_command: openclaw plugins install @openclawline/clawline-setup runtime: node ``` `SKILL.md:33-37`: ```markdown 此 Skill 由 clawhub 通过以下命令自动安装: ```bash openclaw plugins install @openclawline/clawline-setup ``` ``` ### Technical Analysis The Skill directs OpenClaw to install the external npm package `@openclawline/clawline-setup` without specifying an exact version or integrity hash. The implementation of that package is not included in the audited artifact. Consequently, the code executed after installation is determined by the package version resolved from the external registry at installation time and may differ from the code originally reviewed. The package scope and documented npm identity are internally consistent, and the supplied files contain no direct evidence that the package is malicious, typosquatted, or currently compromised. Nevertheless, the absence of version pinning, integrity verification, and bundled auditable source creates a supply-chain trust risk. According to `SKILL.md`, the installed plugin is expected to update pairing UUID configuration, inspect connection status, clear pairing information, and restart the OpenClaw gateway. These claimed capabilities increase the potential consequences if an upstream release or package publishing account is compromised. ### Attack Path 1. A user invokes one of the installation phrases defined by the Skill. 2. OpenClaw executes `openclaw plugins install @openclawline/clawline-setup`. 3. The package manager resolves the package from the external registry without an exact version or recorded integrity value. 4. If the package publisher, publishing credentials, registry response, or su ...[truncated 1079 chars]
Remediation
## Remediation Suggestions 1. Pin the plugin to a reviewed, exact version rather than allowing registry-time version resolution. 2. Record and verify a cryptographic integrity hash for the approved package artifact. 3. Include the corresponding plugin source code in the review scope or link the installation to an immutable source revision and reproducible build. 4. Use a lockfile or equivalent trusted dependency manifest where supported. 5. Verify package provenance, publisher identity, release signatures, and registry metadata before installation. 6. Document and enforce the minimum plugin permissions required for UUID management, status inspection, and gateway restart. 7. Require explicit user confirmation before installation, configuration replacement, pairing removal, or gateway restart. 8. Restrict plugin network access to documented endpoints and monitor configuration changes and gateway restart events. 9. Re-audit every dependency update before changing the pinned version or approved integrity value.
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 (1)

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill states that providing a UUID will immediately overwrite the existing pairing configuration and restart the gateway, but it does not present a clear warning or confirmation step before taking this disruptive action. In a conversational interface, accidental or spoofed input could trigger unintended reconfiguration, causing service interruption or unauthorized device binding.

Static analysis

No suspicious patterns detected.