← All articles

Security

Understanding OpenClaw ClawHub Skills Security Risks

6 min read

Updated

An in-depth analysis of OpenClaw's ClawHub skill security risks, sandbox gaps, supply chain vulnerabilities, and how to safely run the AI agent.

OpenClaw's skill system is one of its biggest selling points. Install a skill from ClawHub, and your agent can suddenly do things it couldn't before: manage databases, interact with APIs, control browsers, and run deployments. The community has published over 31,000 skills, and the ecosystem continues to grow.

However, that growth brings significant security considerations.

ClawHub skills run with the same permissions as OpenClaw itself. On most setups, this means unrestricted access to your filesystem, network, environment variables, and anything else your user account can touch. By default, there is no sandbox, no permission prompt, and no built-in audit mechanism. Installing community skills without reviewing the source code first essentially grants execution privileges on your host machine.

How ClawHub Skills Work

A ClawHub skill is a set of instructions and code loaded into the OpenClaw agent's execution context. When installed, it joins the agent's toolkit. The agent can invoke it autonomously during task execution, often without prompting for confirmation.

Below is what an installed skill can access:

  • Read and write files accessible by your user account.
  • Read environment variables, including API keys, database credentials, and tokens stored in .env files or shell profiles.
  • Make outbound network requests to any destination.
  • Execute shell commands with your user's full permissions.
  • Modify other skills or OpenClaw's own configuration files.
  • Access SSH keys, GPG keys, and browser session data.

This access requires no elevated privileges; it is granted simply by installing the skill.

The Sandboxing Gap

Most modern extension registries implement some form of isolation. Browser extensions declare permissions, mobile apps run in sandboxes, and IDE extensions operate within constrained APIs. Even package managers like npm restrict implicit filesystem access during standard operations unless lifecycle scripts are run.

ClawHub currently lacks these isolation layers. There is no permission manifest requiring a skill to declare filesystem or network access beforehand. OpenClaw processes do not distinguish between the core agent's actions and a skill's actions, meaning the permissions remain identical.

Community Skills Registry

ClawHub is an open registry containing over 31,000 skills where anyone can publish. There is no mandatory review process, static analysis at publish time, or verified publisher program.

In January 2026, a campaign named ClawHavoc highlighted these vulnerabilities. Security research from Koi Security identified 341 malicious skills uploaded to ClawHub within a two-day period. These skills delivered keyloggers, the Atomic Stealer malware, and reverse shells.

Subsequent audits suggested that approximately 7.6% of skills on ClawHub contained potentially dangerous patterns, including those that had previously reached high download counts. A ranking manipulation vulnerability also allowed malicious skills to be artificially promoted on popularity charts.

While ClawHub introduced VirusTotal hash scanning following these events, the open-publish model still presents supply-chain risks similar to those found on npm or PyPI.

PlatformReview processSandboxingPublisher verification
npmAutomated malware scanNone at installOptional 2FA
PyPIBasic malware detectionNoneTrusted publishers program
VS Code MarketplaceManual review for featuredExtension API sandboxPublisher verification
Chrome Web StoreAutomated + manual reviewContent script isolationDeveloper registration
ClawHubVirusTotal (post-incident)NoneNone

While skills are often framed as "just markdown and configuration," they can contain executable code, shell commands, and detailed instructions that cause the LLM agent to execute arbitrary actions on the user's behalf. If an LLM agent reads a markdown file instructing it to exfiltrate a file to an external endpoint, the agent may execute those actions directly.

Supply Chain Attack Vectors

The supply chain attack surface on open registries like ClawHub involves several common vectors:

Typosquatting

Because ClawHub does not enforce reserved namespaces, typosquatting is a key risk. Attackers can register names similar to popular skills (e.g., databse-manager instead of database-manager) to intercept installations from users who make typographical errors during setup.

Dependency Confusion

Skills can reference external resources or other skills. If a skill relies on an external dependency that becomes compromised, any user pulling that skill inherits the vulnerability.

Account Takeovers

If a popular skill maintainer's account is compromised, malicious updates can be pushed directly to users. There is currently no code signing or release attestation to verify updates.

Delayed Payloads

A skill can be published as clean, gain traction, and later receive an update containing malicious instructions. Without a diff review or update notification system, users may auto-update to a compromised version.

Data Exfiltration Risks

The primary risk comes from skills that function correctly on the surface but perform unauthorized data collection in the background. A background routine within a skill could:

  1. Locate .env files, SSH keys, and API tokens.
  2. Scan directories for database credentials and secrets.
  3. Collect git commit history and user metadata.
  4. Send the collected data to an external server via HTTP POST requests.

Because the skill still performs its primary function successfully, the secondary background behavior can easily go unnoticed.

Necessary Security Improvements

For a secure ecosystem, the platform requires:

  1. Permission Declarations: Skills should explicitly declare needed resources (such as specific directory access or network domains) and be restricted from others.
  2. Runtime Sandboxing: Execution should occur in an isolated container or a process-level sandbox with restricted system calls.
  3. Code Review Pipelines: Automated static analysis, secret detection, and behavioral checks before publication.
  4. Publisher Verification: Clear reputation metrics and verified identities for creators.
  5. Update Transparency: Clear changelogs and manual approval for major updates.

Practical Mitigations

If you are using OpenClaw with community skills, implement the following security practices:

  • Read the Source Code: Verify every line of a skill before installation. Check for outbound network calls, unexpected file reads, and shell commands.
  • Run inside a Container: Execute OpenClaw inside Docker or a virtual machine. Restrict access to your host filesystem, credentials, and network, mounting only the necessary project directories (ideally as read-only).
  • Pin Versions: Do not use the latest tag. Pin skills to a specific commit or version hash, and manually review diffs before updating.
  • Restrict Network Output: Use firewall rules to block outbound traffic from the container except to authorized LLM API endpoints.
  • Clear the Environment: Ensure sensitive API keys, SSH keys, and browser session data are not accessible to the environment where the agent executes.

Bottom Line

ClawHub skills offer substantial utility, but their execution model requires caution. With a large volume of community-contributed skills and documented registry attacks, running them without isolation presents security risks. Until sandboxing and verification tools are built into the platform, developers should inspect source code, pin versions, and run agent environments inside secure containers.

FAQ

How do I create custom skills in OpenClaw?

Custom skills are created by adding markdown instruction files to your project's .openclaw/skills/ directory. Each skill acts as a prompt template that OpenClaw loads at runtime.

Are ClawHub skills safe to install?

Not by default. Skills run with the full permissions of the parent OpenClaw process, meaning they have access to your network, filesystem, and shell. Source code should always be verified before installation.

What permissions do OpenClaw skills get on my system?

Skills inherit the permissions of the user account running OpenClaw. They can read and write files, access environment variables, execute shell commands, and make network requests.