Hub rules-openclaw

rules-openclaw

v2 public Verified

Openclaw

OpenClaw is an autonomous AI agent framework designed for local orchestration and system interaction. These rules govern security boundaries, preventing remote code execution, sandbox escapes, and malicious skill execution.

@sigmashakeinc 2 pulls 51 rules published Apr 8, 2026 synced Nov 22, 2026 sigmashakeinc/rules/rulesets/rules-openclaw →
Severity
32 error 11 warn 8 info
demo.cast
OpenClaw is an autonomous AI agent framework designed for local orchestration and system interaction. These rules govern security boundaries, preventing remote code execution, sandbox escapes, and malicious skill execution.

Rules index

51 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

openclaw

ask-openclaw-clawhub-publish warning ask

Publishing to ClawHub. 820+ malicious skills have been identified out of 10,700 (7.7% malware rate) — increasing rapidly. Publishing skills without security review contributes to the ClawHub supply chain problem.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-docker-deployment warning log

OpenClaw Docker deployment configuration. The 21,639 exposed instance finding included many Docker-deployed instances with misconfigured port bindings. Review before writing.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-headless-browser warning ask

Headless browser launch via OpenClaw requires review. Headless browsers in OpenClaw's sandbox execute with the same credential access as a headed browser but provide no visual audit trail. Combined with OpenClaw's browser control docs warning ('access to logged-in sessions and accounts'), unmonitored headless execution creates exfiltration risk without detection opportunity.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-network-access warning ask

OpenClaw network access enablement. OpenClaw agents with network access were used in the attack on 10 Mexican government agencies (early March 2026), compromising 100M+ citizen records. Restrict network access to specific trusted hosts.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-privileged-container warning ask

Privileged container in OpenClaw context requires review. '--privileged' grants the container nearly all Linux capabilities and disables seccomp/AppArmor profiles — effectively giving the sandboxed agent root-equivalent access to the host kernel. OpenClaw's sandbox documentation specifically validates that seccomp/AppArmor profiles are present; '--privileged' bypasses this validation entirely.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-skill-filesystem-escape warning log

OpenClaw skill accessing absolute filesystem path. Skills should be sandboxed to their own directory. Malicious skills use filesystem access to read API credentials (~/.openclaw/, .env), modify system configs, or establish persistence.

Rule source requires an active Pro or Enterprise subscription.
ask-openclaw-skill-network-access warning log

OpenClaw skill with network access capability. Malicious ClawHub skills exfiltrate data via HTTP requests. OpenClaw's network-enabled agents were used in the Mexican government attack (early March 2026) that compromised 100M+ citizen records.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-browser-launch info log

OpenClaw browser tool invocation logged. Browser control is OpenClaw's highest-blast-radius tool: it grants access to logged-in sessions, profile data, stored credentials, and all browser-accessible resources. All browser invocations are audited. Repeated browser launches with navigation to external hosts may indicate session hijacking.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-config-modification info log

OpenClaw configuration file modified. Logging all config changes due to CVE-2026-25253 (RCE via URL parameters) and the 21,639 publicly-exposed instance finding. Config changes are a critical audit point.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-policy-file-write info log

OpenClaw policy or access control file modified. Policy files govern which senders can trigger which tool calls — the primary access control layer over tool-authority delegation. All policy writes are audited. Unexpected policy changes (especially expansion of allowlists or addition of elevated access) may indicate config mutation attacks via the gateway tool.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-server-start info log

OpenClaw server started. 21,639 exposed instances documented by Censys. Verify binding is to 127.0.0.1 only. OpenClaw documentation acknowledges: 'there is no perfectly secure setup'.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-skill-file-access info log

OpenClaw skill file accessed. 820+ malicious skills documented on ClawHub. All skill file reads logged for behavioral audit. Multiple rapid reads of different skill files may indicate skill scanning reconnaissance.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-state-file-access info log

OpenClaw state or audit file accessed. These files contain runtime state, flight recorder data, and audit logs that may reveal execution history, approval decisions, and behavioral patterns. State file access is logged for forensic completeness — unusual access patterns may indicate reconnaissance before a more targeted attack.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-symlink-creation info log

Symlink creation logged in OpenClaw context. Symlink attacks are documented in OpenClaw's security model: 'state or config files targeted by symlinks become different trust boundaries, allowing privilege escalation or state replacement.' All symlink creation is audited for forensic completeness.

Rule source requires an active Pro or Enterprise subscription.
log-openclaw-workspace-boundary info log

OpenClaw sandbox workspace boundary access logged. Workspace boundary operations — especially reads of .sigmashake governance files from inside a sandbox — are audit-significant: they may indicate an agent attempting to read or modify its own governance rules from within the sandboxed environment.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-bind-mount-escape error block

Dangerous Docker bind mount in OpenClaw context blocked. Mounting '/' (root) or '/etc', '/proc', '/sys' into a container provides full host filesystem access, negating sandbox isolation entirely. Mounting docker.sock grants control over the Docker daemon — equivalent to root access on the host. OpenClaw validates bind mount sources through symlink-aware path resolution, but this command-level check catches attempts before execution.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-browser-file-protocol error block

OpenClaw browser file:// navigation blocked. The file:// protocol allows the browser to read local filesystem contents — including OpenClaw config files, credential stores, session transcripts, and any other local file the browser process can access. This bypasses OpenClaw's filesystem access controls entirely by routing reads through the browser's same-origin-less file access.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-browser-ssrf-private error block

OpenClaw browser SSRF to private network blocked. OpenClaw's default browser policy (dangerouslyAllowPrivateNetwork: true) permits navigation to internal services, cloud metadata endpoints (169.254.169.254), and localhost services that are not intended to be browser-accessible. This is Server-Side Request Forgery via the agent's browser. Private network navigation must be explicitly scoped and authorized.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-cdp-access error block

OpenClaw CDP (Chrome DevTools Protocol) endpoint exposure blocked. OpenClaw's browser control grants the model the ability to drive a real browser — giving full access to logged-in sessions, stored credentials, and browser-accessible accounts. Exposing the CDP endpoint extends this access to any process or network host that can reach the debugging port, including attackers on the LAN.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-credential-harvest error block

Browser credential harvesting via OpenClaw blocked. OpenClaw's browser control documentation explicitly warns that enabling it 'gives the model the ability to drive a real browser' — including access to logged-in sessions, credential managers, and profile data. Navigating to browser password stores or credential databases via OpenClaw tool calls is a direct path to full credential exfiltration.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-cron-tool-creation warning ask

OpenClaw cron job creation requires review. The cron tool creates recurring scheduled tasks that persist after the session ends — agent actions with no time limit. OpenClaw's documentation lists the cron tool as a 'control plane tool' with ownership restrictions. Scheduled tasks created by an agent can trigger tool calls indefinitely, converting a one-time compromise into persistent automated execution.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-cross-agent-read error block

Cross-agent workspace traversal blocked. OpenClaw's sandbox.scope options ('agent', 'session', 'shared') define isolation boundaries — path traversal via '../' escapes the intended sandbox scope and reads another agent's workspace. OpenClaw's 'scope: agent' provides one container per agent precisely to prevent this cross-contamination. Path traversal from within a workspace boundary is treated as a sandbox escape attempt.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-eval-injection error block

Dynamic code evaluation in OpenClaw context blocked. eval(), new Function(), and vm.run* execute arbitrary strings as code — the primary mechanism used by malicious ClawHub skills (820+ identified, 7.7% malware rate) to bypass static analysis. In-process plugin execution gives these constructs full access to OpenClaw's in-memory secrets and config.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-gateway-config-mutation error block

Persistent OpenClaw gateway config mutation blocked. The 'gateway' tool and direct writes to openclaw.json can make permanent changes to binding mode, auth configuration, and routing — changes that persist across restarts. OpenClaw's documentation identifies the gateway tool as a 'control plane' capability that 'can make persistent changes'. Config mutations should be deliberate operator actions, not agent-driven writes.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-hardcoded-api-key error block

Hardcoded credentials in OpenClaw configuration. OpenClaw's documented security posture ('no perfectly secure setup') makes credential files high-value targets. Moltbook (built on OpenClaw) exposed 1.5M API tokens from misconfigured credential storage. Use environment variables for all secrets.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-host-header-injection error block

Host header injection risk in OpenClaw reverse proxy config blocked. Deriving service hostnames from the HTTP Host header without validation enables Host header injection — an attacker controls the apparent origin of requests, potentially redirecting OpenClaw's callback URLs, poisoning cache keys, or triggering SSRF via internal hostname resolution. OpenClaw's documented proxy hardening requires explicit hostname validation.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-lan-binding error block

OpenClaw binding to LAN interface blocked. Binding to RFC 1918 LAN addresses (192.168.x, 10.x, 172.16-31.x) exposes OpenClaw to all devices on the local network. OpenClaw's documented security model explicitly warns that LAN/Tailnet exposure expands the attack surface beyond the intended trusted host. Use 127.0.0.1 exclusively.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-mdns-broadcast error block

OpenClaw mDNS/Bonjour service advertisement blocked. OpenClaw's mDNS 'full' mode broadcasts service metadata including filesystem paths, SSH ports, and workspace locations to all hosts on the LAN. This operational intelligence aids reconnaissance: an attacker on the same network learns exact paths to config files, credential directories, and paired node details before exploiting CVE-2026-25253.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-missing-mention-requirement warning log

OpenClaw group config without requireMention gate detected. Without requireMention: true, the bot responds to all group messages — not just explicit @-mentions. In groups, this means any member (or any injected content quoted into the thread) can trigger agent tool calls without mentioning the bot. OpenClaw's documentation explicitly recommends requireMention: true for all group contexts.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-npm-lifecycle-scripts error block

npm lifecycle scripts in OpenClaw skill package.json blocked. preinstall/postinstall/prepare scripts execute automatically during 'npm install --omit=dev' — OpenClaw's documented plugin installation mechanism. Malicious ClawHub skills use these hooks for persistence and immediate code execution during install, before any runtime policy can intervene. Lifecycle scripts in skill packages require explicit manual review.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-public-binding error block

OpenClaw binding to all network interfaces. 21,639 OpenClaw instances have been found publicly exposed on the internet (Censys, 2026). The official documentation states 'there is no perfectly secure setup'. Never bind to 0.0.0.0 or :: — use 127.0.0.1 for local access only.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-browser-state error block

Browser credential database read blocked. Chrome's 'Login Data' and Firefox's 'key4.db' are SQLite databases containing stored passwords, cookies, and browser credentials. OpenClaw's documentation explicitly warns that enabling browser control provides 'access to logged-in sessions and accounts' and 'profile data exfiltration'. Reading these files directly (without the browser) gives unencrypted (or trivially decryptable) credential access.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-cloud-credentials error block

Cloud provider credential read blocked in OpenClaw context. OpenClaw agents with filesystem read access can harvest ~/.aws/credentials, gcloud tokens, Azure CLI credentials, and kubeconfig files — giving cloud provider access across accounts. The Mexican government attack (early March 2026) used OpenClaw agents to exfiltrate cloud credentials as a pivot to 10 agencies. Cloud credentials must not be accessible to agent tool calls.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-config-tokens error block

OpenClaw credential file read blocked. The ~/.openclaw/ directory contains gateway auth tokens, provider API keys, channel credentials, and OAuth tokens (auth-profiles.json) — the full set of keys needed to impersonate the OpenClaw operator. OpenClaw's own documentation lists these as rotation-required files after any suspected compromise. Any read of these files by an agent is a credential theft attempt.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-session-transcripts error block

OpenClaw session transcript read blocked. Session transcripts contain private messages, tool output, file contents, pasted secrets, credentials, and command output — exactly what OpenClaw's documentation warns: 'any process/user with filesystem access can read those logs'. An agent reading transcripts from other sessions or users achieves cross-session context exfiltration without any tool call being logged as sensitive.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-ssh-keys error block

SSH private key read blocked in OpenClaw context. OpenClaw's SSH sandbox backend requires SSH credentials for remote execution — these keys are high-value targets for any agent with filesystem read access. SSH private keys in ~/.ssh/ or ~/.openclaw/ provide lateral movement to all paired nodes configured for OpenClaw system.run execution.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-read-tool-output-files warning ask

OpenClaw tool output dump read requires review. Tool output files may contain stdout/stderr from executed commands, web fetch results, file contents returned by read operations, or API responses — all of which may include secrets or PII that were not intended for long-term storage. Review whether this output file contains sensitive data before allowing the read.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-sandbox-escape error block

OpenClaw sandbox escape attempt blocked. The sandbox is the primary blast-radius control for OpenClaw tool execution. '--privileged' grants full host capabilities; '--cap-add=ALL' achieves the same. '--no-sandbox' disables Chromium's renderer isolation. These flags negate OpenClaw's Docker-based sandboxing and restore full host attack surface.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-skill-dynamic-require error block

Dynamic module loading in OpenClaw skill blocked. require(variable) and import(expression) load modules whose identity is determined at runtime — bypassing static analysis that would catch malicious dependency names. 820+ malicious ClawHub skills use this pattern to load payloads conditionally, evading both the built-in dangerous-code scanner and manual review. All skill imports must use string literals.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-skill-install error block

OpenClaw skill installation blocked. Security researchers found 820+ malicious skills out of 10,700 on ClawHub (7.7% malware rate), increasing from 324 to 820 in weeks. Malicious skills achieved: unauthorized crypto-mining, data exfiltration, and lateral movement. All skill installations require manual source code review.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-skill-prompt-injection error block

Prompt injection detected in OpenClaw skill or config content. Injection markers ('ignore previous instructions', 'SYSTEM:', role-overriding phrases) are the primary mechanism for attacking agents via untrusted content — documented as OpenClaw's most significant risk. Even with strong system prompts, injection in skill descriptions or config files can redirect agent behavior.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-skill-shell-execution error block

OpenClaw skill with shell execution capability. 820+ malicious skills on ClawHub use subprocess/exec to achieve: unauthorized crypto-mining, data exfiltration to C2 servers, and persistent backdoors. Skills with shell access require mandatory manual security review before deployment.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-symlink-to-config error block

Symlink creation targeting OpenClaw config or state directories blocked. Symlink attacks replace a trusted file path with a pointer to a different target — allowing an attacker to redirect OpenClaw's config reads/writes to attacker-controlled content, or to expose sensitive state through a world-readable location. OpenClaw validates bind mount sources through symlink resolution, but config file reads do not have the same validation. Symlinks to ~/.openclaw/ or its subdirectories are blocked.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-symlink-to-secrets error block

Symlink creation targeting credential files blocked. Creating symlinks to SSH keys, AWS credentials, kubeconfig, or OpenClaw secrets files allows privilege escalation: a process reading the symlink reads the secret, even if the secret file has restrictive permissions but the symlink target is in a readable location. This is a classic TOCTOU/symlink attack vector in shared environments.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-system-run error block

OpenClaw system.run invocation blocked. The system.run tool allows remote code execution on paired Mac nodes — this is OpenClaw's highest-privilege capability. Any tool-authority delegation via shared channels or prompt injection that reaches system.run achieves full host RCE. Paired node execution must be manually initiated and reviewed.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-tailscale-funnel error block

Exposing OpenClaw via Tailscale Funnel blocked. Tailscale Funnel publishes services to the public internet (not just the Tailnet). Combined with CVE-2026-25253 and the 21,639 exposed-instance finding, funnel-exposed OpenClaw becomes a globally reachable RCE target. Use 'tailscale serve' (Tailnet-only) at most, and only from loopback binding.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-tunnel-exposure error block

Exposing OpenClaw via tunnel service. 21,639 OpenClaw instances were found publicly exposed on the internet. Using ngrok, Cloudflare Tunnel, or localtunnel to expose OpenClaw is equivalent to binding to a public IP — all internet users can reach the instance, including attackers aware of CVE-2026-25253.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-url-param-injection error block

CVE-2026-25253: One-click RCE via OpenClaw URL parameter exploitation. The Control UI trusted URL parameters without validation, enabling arbitrary code execution via a single malicious link. 21,639 exposed instances were found on the internet. URL parameters with shell metacharacters in OpenClaw invocations are blocked.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-wildcard-group-allowlist error block

Wildcard OpenClaw group/DM allowlist blocked. Setting allowlist to '*' or '"*"' permits any sender in a group or DM to invoke the agent's full tool suite. OpenClaw's documentation states this is the primary mechanism for tool-authority delegation attacks: 'any allowed sender can induce tool calls (exec, browser, network/file tools) within the agent's policy'. This configuration allows any group member to trigger exec, browser, or file operations.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-workspace-root-mount warning ask

OpenClaw workspace root bind mount requires review. Mounting the home directory as the workspace root exposes all files under ~ — including ~/.openclaw/, ~/.ssh/, ~/.aws/, ~/.kube/, and all project files — to the sandboxed agent with read-write access. OpenClaw's documentation recommends 'narrow workspace roots' and using ':ro' for sensitive mounts. Only mount the specific project directory the agent needs.

Rule source requires an active Pro or Enterprise subscription.
no-openclaw-xforwarded-trust error block

Unsafe X-Forwarded-For trust configuration in OpenClaw context blocked. Trusting X-Forwarded-For without an explicit IP allowlist (gateway.trustedProxies) allows any client to spoof source IPs — bypassing IP-based access controls and rate limiting. OpenClaw's documentation warns: 'proxy should overwrite X-Forwarded-For headers' and 'trusted-proxy auth fails closed on loopback proxies'. Set trustedProxies to an explicit CIDR list, never '*' or 'true'.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v2
Published
Apr 8, 2026
Source commits
0
Synced
Nov 22, 2026
Hash
c806c4144f722b5d5339d229108adbad06ce8cea471e066875a6f24efa4dae9c
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-openclaw/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-openclaw. The published version only bumps when a maintainer resyncs.

No commit history available.