360 Secure SkillHub
360 安全技能中心

claw-security-audit

该 Skill 用 Python 脚本对 OpenClaw 安装进行只读安全审计,检查硬编码密钥、网关设置、文件权限、暴露端口、密钥和风险技能;输出控制台摘要及 JSON/HTML 报告,隐藏密钥明文,不自动修改文件。

分类:安全
il190502
il190502
热度 5.51
最近更新 2026-10-31 12:34:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add il190502/claw-security-audit
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
claw-security-audit
description
Read-only security audit of an OpenClaw install - hardcoded secrets, risky gateway settings, file permissions, exposed ports, keys, risky skills. JSON + HTML report, secret values never shown.

OpenClaw Security Audit

Use when the user asks to audit, harden, or security-check their OpenClaw setup.

  1. Run python audit.py (or python3 audit.py) from this skill folder. Needs Python 3.8+ only; no packages.
    • Console only, no report files: python audit.py --no-report
    • One check: python audit.py --check SEC001; list checks: python audit.py --list-checks
    • Scan a git repo for leaked keys: python audit.py --check SEC003 --git-repo <path>
    • Custom paths: copy config.example.json, edit, run python audit.py -c config.json
  2. Read the console summary. Exit code 0 = clean, 1 = failures, 2 = warnings only, 64 = bad arguments.
  3. Explain each FAIL/WARNING with its remediation line. Never print or paste secret values from the user's files; the report already hides them.
  4. Do not change any file automatically. Propose fixes and apply them only after the user agrees.
  5. Remind the user the report lists file paths of their setup: keep it private and do not commit it.