Back to skill

Security audit

Clawmart Install

Security checks for vulnerabilities and agentic risk

Overview

This skill is a marketplace installer that openly downloads and installs packs, but it gives remote content too much unchecked power over local OpenClaw files and persistent credentials.

Review this before installing. Only use it with packs and publishers you trust, and avoid pasting long-lived tokens unless you are comfortable with them being stored locally in plaintext. The installer should validate pack signatures, sanitize every remote file path, show exact file contents and destinations before writing, and provide a clear way to remove the saved token and roll back installed files.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (3)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:133
Finding

Unverified Remote Pack Content Is Installed as Active OpenClaw Instructions

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:169
Finding

API-Controlled File Names Permit Path Traversal and Arbitrary File Writes

Content
View full analysis
Remediation
View remediation
` structure. 6. Refuse to traverse or overwrite symbolic links; use no-follow filesystem operations where supported. 7. Detect duplicate and case-colliding destinations before writing any content. 8. Perform conflict detection and backup against the canonical destination immediately before installation. 9. Write to safe temporary files inside the destination directory and atomically rename them only after all validation succeeds. 10. Abort and roll back the complete installation if any file fails path or content validation. ]]>

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:25
Finding

Bearer API Token Is Collected Through Chat and Stored in a Plaintext Configuration File

Content
View full analysis
You need a ClawMart API Token to download packs. Please visit https://clawmart-gray.vercel.app/dashboard/tokens to generate one, then paste it here. Once the user provides a token (format: `cm_` followed by hex characters), save it: { "token": "", "base_url": "https://clawmart-gray.vercel.app" } Write this to `~/.openclaw/clawmart-config.json`. ``` ### Technical Analysis The skill directs the user to paste a bearer token into the conversation and then stores the token in a JSON file. The instructions do not require a credential manager, restrictive file permissions, redaction from logs, exclusion from backups, or protection against symbolic-link replacement. Bearer tokens provide access based on possession. Entering the token in ordinary chat may expose it to conversation retention, telemetry, debugging output, or transcript access. Storing it in plaintext further exposes it to other processes or users that can read the file. The risk is greater if the file is created under a permissive process umask. ### Attack Path 1. The user generates a ClawMart API token. 2. Following the skill's instructions, the user pastes the token into the conversation. 3. The token becomes part of the conversation history or related logs. 4. The installer writes the same token to `~/.openclaw/clawmart-config.json` without a mandated secure file mode. 5. An attacker with access to transcripts, backups, telemetry, or the readable configuration file obtains the token. 6. The attacker presents the stolen bearer token to ClawMart and performs any operations authorized for that token until it is revoked or expires. ### Impact Assessmen ...[truncated 503 chars]
Remediation
View remediation
Vulnerability Patterns
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
86% confidence
Finding

The trigger phrase 'install pack' is broad and overlaps with a likely built-in install intent, which can cause this third-party skill to intercept user actions unexpectedly. In this context, interception is more dangerous because the skill performs network access, requests credentials, downloads untrusted content, and writes files into the user's OpenClaw workspace.

Content

No source excerpt is available for this finding.

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
84% confidence
Finding

The trigger 'search clawmart' overlaps with a generic search intent and may capture user requests that were meant for safer built-in functionality. Because this skill then drives users into a third-party marketplace flow and potentially toward credential entry and package installation, accidental activation materially increases risk.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
89% confidence
Finding

The skill instructs the agent to collect a bearer token from the user and persist it to a local config file in plaintext. Persisting API credentials beyond the immediate session increases the blast radius of local compromise, accidental disclosure, or later misuse by other skills or processes with filesystem access.

Content

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

}

text

Write this to `~/.openclaw/clawmart-config.json`.

---

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

Step 8 states that SKILLS entries are written under ~/.openclaw/workspace/skills/.../SKILL.md, but the confirmation message says skill files were installed to ~/.openclaw/skills/. This is an active contradiction in the skill's own documentation about where code will be placed.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

Step 9 tells the user to restart OpenClaw to load the new configuration, while the Notes section says No restart required and that OpenClaw loads the configuration on the next conversation. These instructions cannot both be true and create intent-level confusion about post-install behavior.

Content

No source excerpt is available for this finding.