Xpersona
C

Claw Security Self-Check

CLAWHUB · Unverified

Perform a strict, evidence-based, read-only security assessment of the current OpenClaw host, review each NOT_TESTED item through targeted OpenClaw Agent inv...

62
Rank
84
Safety
3.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 3.1K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177t6qe3krd1vdrk3gsmnj1ad8ay63b:claw-security-self-check
  1. Install using `clawhub skill install s177t6qe3krd1vdrk3gsmnj1ad8ay63b:claw-security-self-check` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/xiaoyiyi23/claw-security-self-check before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-xiaoyiyi23-claw-security-self-check/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

42,344 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: claw-security-self-check
description: "Perform a strict, evidence-based, read-only security assessment of the current OpenClaw host, review each NOT_TESTED item through targeted OpenClaw Agent investigation, and merge structured review evidence into a formal audit report. Also use this Skill to generate reports offline from existing baseline JSON and manual-review JSON files."
metadata: { "openclaw": { "requires": { "bins": ["node", "openclaw"] } } }
---

# Claw Security Self-Check

Assess only facts that can be verified from read-only configuration, CLI output, process information, and file metadata on the current host. First use deterministic scripts to collect routine evidence, then have the OpenClaw Agent perform targeted read-only review of `NOT_TESTED` observations, and finally use the report script to validate and merge the structured review evidence.

## Mandatory Rules

- Do not return `PASS` without the machine evidence required by `references/evidence-rules.md`.
- Do not print or persist credential values, SecretRef contents, private messages, or real personal data.
- Do not modify OpenClaw configuration, firewall rules, packages, services, users, or permissions.
- Do not create canaries or perform unauthorized access, path traversal, high-risk test commands, or active Agent probes.
- Do not write to the assessed host state except for report output files explicitly requested by the user.
- Mark checks as `NOT_TESTED` or `ERROR` when required read-only evidence cannot be obtained. Never guess `PASS`.
- When `NOT_TESTED` appears, the OpenClaw Agent must perform each `manualReview.requiredAction` and record sanitized facts, source, time, and conclusion in a structured manual-review file.
- Agent inference, source-code contracts, or explanations cannot produce `PASS` by themselves. `PASS` requires reviewable machine evidence from the current target host.
- A manual review may address only a `reviewId` already present in the current baseline. It must not override a check that has no pending evidence gap.
- This Skill does not validate public network reachability, real unauthorized third-party IM accounts, or remote SIEM delivery.
- Do not automatically remediate findings. Remediation must be a separate task with explicit user authorization.
- Even sanitized reports contain host security-posture information. Remind the user to handle them as internal security material.

## Loading Reference Material

Read `references/check-matrix.md` before selecting checks. Read `references/evidence-rules.md` before assigning statuses. Read `references/manual-review-evidence.md` before processing `manualReview`. Read `references/openclaw-contracts.md` whenever OpenClaw CLI output, configuration structure, or version behavior is unclear.

## Modes

- `baseline`: Read configuration, CLI output, and host metadata from the current OpenClaw host; have the OpenClaw Agent perform targeted read-only review of `NOT_TESTED` observations; generate the merged

README.md

# Claw Security Self-Check

`claw-security-self-check` performs an evidence-based, read-only security assessment of the current OpenClaw host. It does not modify OpenClaw configuration, file permissions, services, firewall rules, packages, or users, and it does not create canaries or run active attack probes.

## Use Cases

- Assess the baseline security posture of an OpenClaw host before deployment.
- Periodically review Gateway exposure, authentication, sandboxing, exec controls, tool permissions, logging, update sources, and IM allowlists.
- Generate JSON and Markdown reports for internal audits or remediation tracking.
- Collect reproducible evidence without exposing real credentials or private messages.

This Skill performs checks, targeted read-only review by an OpenClaw Agent, and report generation only. It does not automatically remediate findings. Items that cannot be resolved by automated checks produce structured `manualReview` entries; sanitized machine evidence collected by the Agent is validated by the scripts before being included in the final report.

## Prerequisites

- Node.js is available.
- The `openclaw` CLI is available.
- The host running this Skill is the OpenClaw host to be assessed.
- The executing account can read the configuration and state directory of the current OpenClaw profile.

## Installation

In an OpenClaw conversation, ask the Agent to install this Skill directly from GitHub:

> Install the `claw-security-self-check` Skill from the [Xiaoyiyi23/claw-security-self-check](https://github.com/Xiaoyiyi23/claw-security-self-check) GitHub repository. After installation, confirm that Node.js and the `openclaw` CLI are available, and tell me the Skill installation directory and whether it can be invoked with `$claw-security-self-check`.

The Agent will install the repository into a Skill directory recognized by the current OpenClaw environment. After installation, invoke it using one of the examples below.

## Recommended Usage

Enter the following directly in a conversation:

> Invoke `claw-security-self-check` in `baseline` mode to perform a strict read-only security assessment of the current OpenClaw host. Do not remediate findings or modify system state. Return the assessment summary, every non-PASS item, the supporting evidence, and the report file paths.

You can also invoke it explicitly with a Skill command:

```text
/claw-security-self-check Assess the current OpenClaw host in baseline mode. Do not remediate any findings.
```

To assess a specific profile, include the profile name in the request:

> Invoke `claw-security-self-check` to run a baseline security assessment of the OpenClaw profile `prod`. Keep the assessment read-only and return the JSON and Markdown reports.

## Operating Modes

| Mode          | Accesses the current OpenClaw host | Modifies system state | Purpose                                                                    |
| ------------- | ---------------------------------- | ----------

_meta.json

{
  "ownerId": "kn74jfnd39s89cc4qmavnb5cc58aza0s",
  "slug": "claw-security-self-check",
  "version": "0.1.0",
  "publishedAt": 1784643062919
}

references/check-matrix.md

# Read-Only Host Check Matrix

This Skill covers only checks that can be verified through configuration, CLI output, process information, and file metadata on the current OpenClaw host. It does not run active attack probes.

| Check | Required read-only evidence | PASS criteria | Typical reason for NOT_TESTED |
| ----- | --------------------------- | ------------- | ----------------------------- |
| OpenClaw-1-1 | Effective Gateway port/bind, Browser/CDP ports, mDNS mode, and host listeners | Configuration and observed listeners are limited to the expected interfaces; mDNS is the recommended `minimal` mode or the stricter `off` mode | Gateway or Browser is not running, so runtime listeners cannot be verified |
| OpenClaw-1-2 | Effective authentication mode, native audit findings for weak tokens, and configuration-file permissions | Authentication is enabled, no weak-credential finding exists, and the configuration file is protected | The CLI cannot provide authentication or audit evidence |
| OpenClaw-2-1 | `openclaw sandbox explain --json` for every configured Agent | Agents that require sandboxing report `mode=all` and the session is sandboxed | Sandbox-explain output cannot be obtained |
| OpenClaw-2-2 | `tools.fs.workspaceOnly`, sandbox workspaceAccess, and object types and permissions for the state directory, configuration file, and `.env` | workspaceOnly is effective, workspaceAccess is restricted, and sensitive paths have correct permissions | Windows ACLs cannot be read or the target path is inaccessible |
| OpenClaw-3-1 | Effective exec host/security/ask/mode and approval allowlist | Effective security is deny/allowlist and the allowlist contains no broad pattern | exec-policy JSON is unavailable or structurally incompatible |
| OpenClaw-3-2 | Effective exec ask/mode and autoReview state | Execution is denied, or the policy explicitly requires human approval and automatic review is disabled | The effective approval policy cannot be parsed |
| OpenClaw-3-3 | Global and per-Agent profile/allow/alsoAllow/deny, `tools.agentToAgent`, and process account/SID | The tool surface is restricted, cross-Agent access is disabled or uses an explicit allowlist, and the runtime account is not root/Administrator/SYSTEM | No running process is found or its owner cannot be identified |
| OpenClaw-4-1 | Effective state of `OPENCLAW_NO_AUTO_UPDATE`, update.auto, and checkOnStart | Update checks are enabled while automatic installation is disabled | Required configuration cannot be read |
| OpenClaw-5-3 | Channel history limits, contextTokens, and compaction mode | Explicit limits are reasonable and compaction is configured correctly | Required configuration cannot be read |
| OpenClaw-7-1 | Effective log level and log-file object type and permissions | Logging is enabled and log-file permissions are protected | The log path is generated at runtime and cannot be located |
| OpenClaw-7-2 | Deep security audit, loop detection, and local monitoring configuration

references/evidence-rules.md

# Evidence and Status Rules

## Status Vocabulary

- `PASS`: Every required read-only subcheck was performed and affirmative machine evidence was obtained.
- `WARN`: Evidence is available, but the setting is weak, ambiguous, or depends on an operator-controlled exception.
- `FAIL`: Evidence shows that a required control is missing or the configuration is clearly insecure.
- `NOT_TESTED`: The target is not running or required read-only evidence cannot be obtained.
- `ERROR`: Evidence collection, parsing, or version compatibility failed.
- `NOT_APPLICABLE`: Evidence proves that the relevant component is absent from the current host, for example when no IM Channel is enabled.

Aggregate severity in this order:

```text
ERROR > FAIL > NOT_TESTED > WARN > PASS > NOT_APPLICABLE
```

Use `NOT_APPLICABLE` only when effective configuration proves that the component is absent. Missing configuration or collection failure does not prove absence.

## Required Evidence

Every observation must contain, either directly or through report metadata:

- Check ID.
- Method: `static` or `runtime`.
- Timestamp.
- Sanitized fact or command result.
- Source command, file metadata source, or OpenClaw audit finding ID.

Do not store:

- Tokens, passwords, API keys, cookies, or SecretRef values.
- Raw private messages or model transcripts.
- Complete environment-variable dumps.
- Approval socket tokens.
- Any secret or sensitive sample created to validate a control.

## PASS Threshold

- A check may receive `PASS` when read-only configuration and runtime state are sufficient to prove the control defined in the check matrix.
- Current-host CLI output, process/listener facts, and file metadata collected through targeted OpenClaw Agent review are machine evidence, but they must be written to the manual-review file in the sanitized structure defined by `references/manual-review-evidence.md` and pass report-script validation.
- Source-code contracts and Agent reasoning may explain current-host machine evidence but cannot produce `PASS` by themselves.
- `PASS` means only that the observed configuration and state comply. It does not mean that penetration testing or behavioral bypass testing was performed.
- OpenClaw exec `mode=auto` means automatic review, not evidence of human approval.
- An enabled allowlist containing `*` is open access and cannot receive an allowlist `PASS`.
- A disabled Channel ignores inbound traffic. Wildcard entries left under a disabled policy do not make it open.
- When an environment variable overrides a configuration value, evaluate the effective value.
- POSIX permissions must verify the expected object type and exact mode. On Windows, ACL evidence is required; otherwise return `NOT_TESTED`.
- Do not infer runtime facts from configuration when the target process, listener, or log file cannot be found.

## Read-Only Constraints

- Do not create canaries, test sessions, test users, or temporary Agents.
- Do not perform anonymous Gateway requests, unauth

Sponsored

Ads related to Claw Security Self-Check and adjacent AI workflows.