360 Secure SkillHub
360 安全技能中心

Setup Validator

针对 OpenClaw 安装环境做安全配置校验的 Skill:检查权限过大、不可信或存在漏洞的插件、沙箱缺失以及依赖过期等问题,运行校验脚本生成告警与修复建议,可手动执行或按周期调度运行。

分类:安全
marcusy2k
marcusy2k
热度 26.76
最近更新 2026-05-11 17:39:59

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add marcusy2k/setup-validator
兼容性
OpenClaw 专属
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
setup-validator
description
Validate OpenClaw installation safety by checking for common security misconfigurations and setup issues. Use this skill during initial setup, periodic heartbeats, or whenever security validation is required. Checks include: excessive permissions, unsafe plugins, missing sandboxing, outdated dependencies, and more. Provides actionable warnings with fixes and clear documentation for resolving issues.

Setup Validator

Overview

This skill validates OpenClaw installations for security misconfigurations and setup issues. It runs during initial setup and periodically (e.g., via heartbeats or cron) to ensure ongoing safety.

Checks

The validator checks for the following issues:

Check Description Reference
Excessive Permissions Ensures OpenClaw and plugins have only necessary permissions. CHECKS.md
Unsafe Plugins Identifies plugins from untrusted sources or with known vulnerabilities. CHECKS.md
Missing Sandboxing Validates that sandboxing is properly configured. CHECKS.md
Outdated Dependencies Checks for outdated or vulnerable dependencies. CHECKS.md

See CHECKS.md for detailed descriptions of each check.

Setup

Make Scripts Executable

Before using the scripts, ensure they have executable permissions:

chmod +x ~/.openclaw/skills/setup-validator/scripts/*.py

Usage

Run Validation

Execute the validation script to check for misconfigurations:

python scripts/validate_setup.py

Generate Actionable Warnings

If issues are detected, generate actionable warnings with fixes:

python scripts/generate_warnings.py

Example Output

[WARNING] Excessive permissions detected for OpenClaw.
- Fix: Run `chmod 750 ~/.openclaw` to restrict permissions.

[WARNING] Unsafe plugin detected: example-plugin.
- Fix: Remove the plugin with `openclaw plugin remove example-plugin`.

Documentation

Periodic Validation

To run this skill periodically (e.g., via cron or heartbeats), add the following to your cron jobs:

0 * * * * python ~/.openclaw/skills/setup-validator/scripts/validate_setup.py