Install
openclaw skills install @xiaoyiyi23/claw-security-self-checkPerform 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.
openclaw skills install @xiaoyiyi23/claw-security-self-checkAssess 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.
PASS without the machine evidence required by references/evidence-rules.md.NOT_TESTED or ERROR when required read-only evidence cannot be obtained. Never guess PASS.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.PASS by themselves. PASS requires reviewable machine evidence from the current target host.reviewId already present in the current baseline. It must not override a check that has no pending evidence gap.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.
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 formal report. This is the default mode.report-only: Read an existing baseline JSON file and optionally merge an existing manual-review JSON file. Do not run OpenClaw or host assessment commands.There is no active-validation mode. Do not create temporary files or elevate privileges to supplement dynamic evidence.
Confirm that the target is the current OpenClaw host and state which OpenClaw profile or state directory will be assessed.
Run:
node {baseDir}/scripts/host-baseline.mjs --json --output <baseline.json>
Add --openclaw-bin <path>, --openclaw-arg <arg>, --state-dir <path>, or --config-path <path> only in non-default runtime environments.
Generate the initial report and manual-review template:
node {baseDir}/scripts/report-merge.mjs \
--baseline <baseline.json> \
--review-template-out <manual-review.json> \
--json-out <report.json> \
--markdown-out <report.md>
Inspect fatal, ERROR, FAIL, WARN, every NOT_TESTED observation, and manualReview. Do not hide unavailable evidence.
When manualReview.required=true, read references/manual-review-evidence.md and perform each requiredAction:
observation for the corresponding reviewId in <manual-review.json>.NOT_TESTED and record the read-only checks performed and the specific blocker.If the actual log file can be located, let the baseline script collect file-permission evidence directly:
node {baseDir}/scripts/host-baseline.mjs \
--json \
--log-path <actual-log-file> \
--output <baseline.json>
Regenerate the manual-review template after the baseline changes. The report script must reject an old template that no longer matches the new baseline.
Merge the OpenClaw Agent's structured review evidence and generate the final outputs:
node {baseDir}/scripts/report-merge.mjs \
--baseline <baseline.json> \
--manual-review <manual-review.json> \
--json-out <report.json> \
--markdown-out <report.md>
Inspect agentReview and the remaining manualReview. Retain NOT_TESTED only for items that still lack machine evidence.
Do not run any OpenClaw or host assessment commands.
Read the baseline JSON supplied by the user. If the user also supplies a manual-review JSON file, merge only that file and do not independently perform its host-review actions.
Run:
node {baseDir}/scripts/report-merge.mjs \
--baseline <baseline.json> \
--json-out <report.json> \
--markdown-out <report.md>
Add the following when merging existing structured review evidence:
--manual-review <manual-review.json>
Return ERROR for invalid report input. Do not invent missing evidence.
If the report still contains manualReview, clearly tell the user to return to the target OpenClaw host and perform the listed read-only reviews. report-only must not run those commands itself.
Return:
FAIL, ERROR, WARN, and NOT_TESTED item with concise evidence.agentReview, pending manualReview, and remaining evidence blocker.Do not automatically remediate findings. If the user requests remediation, provide a separate, staged remediation plan and wait for explicit authorization.