BD openclaw-security-practice
OpenClaw 极简安全实践指南 - 适用于 AI Agent 拥有 Root 权限的场景。包含事前(行为黑名单/安全审计)、事中(权限收窄/哈希基线/业务风控)、事后(自动巡检/Git灾备)的完整安全体系。Use when: configuring OpenClaw security, reviewing skill installations, performing security audits, or handling sensitive operations.
As a process D 41/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 9
✓ No critical or high findings
Medium and low: 9
-
low Dangerous commands
cmd-cron-mentionREADME.md:29Mentions editing / listing crontab (documentation table row; documentation of a security skill)| **权限持久化** | `crontab -e`(系统级)、`useradd/passwd/visudo` |
tablesecurity skill -
low Dangerous commands
cmd-cron-mentionSKILL.md:50Mentions editing / listing crontab (documentation table row; documentation of a security skill)| **权限持久化** | `crontab -e`(系统级)、`useradd/usermod/passwd/visudo`、`systemctl enable/disable` 新增未知服务、修改 systemd unit 指向外部下载脚本/可疑二进制 |
tablesecurity skill -
low Dangerous commands
cmd-background-processSKILL.md:50Starts a background / autostarted process (documentation table row; documentation of a security skill)| **权限持久化** | `crontab -e`(系统级)、`useradd/usermod/passwd/visudo`、`systemctl enable/disable` 新增未知服务、修改 systemd unit 指向外部下载脚本/可疑二进制 |
tablesecurity skill
A further 6 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 3. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
frontmatter-yamlSKILL.md: the frontmatter is not valid YAML (YAML parse error: Nested mappings are not allowed in compact mappings at line 2, column 14: description: OpenClaw 极简安全实践指南 - 适用于 AI Agent 拥有 Root 权限的场景。包含事前(行为黑名单/安全审计)、事中… ^ ); fields were read line by line. The usual cause is a colon inside an unquoted value - note
frontmatter-keyunknown frontmatter key "triggers" - note
frontmatter-keyunknown frontmatter key "source"
Process rating: all ten parameters 41/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 2 mutating operations with no state check
- 40Consistency. Frontmatter name (openclaw-security-practice) differs from the folder (huamu668-openclaw-security)
- 60Tools and files. Uses tools (bash, web, git, python, node) that frontmatter does not declare
- 100Steps. 46 steps
- 100Execution cost. Instruction body is 1444 tokens
- 100Progress reporting. Reports progress
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -221 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +3Description length 238: enough signal without eating the budget
- +4Structure: 22 headings
- +3Step-by-step instructions: 46 items
- +4Has examples (5 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 70.