Scan Report
15 /100
openclaw-config-master
Edit and validate OpenClaw Gateway config (openclaw.json / JSON5)
OpenClaw 配置管理技能,代码质量高,文档示例中的危险命令已标注用途,无实际恶意行为。
Safe to install
可安全使用。建议将 references/common-errors.md 中的 curl|sh 命令示例替换为更安全的安装方式。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Medium | 文档示例包含危险命令 | references/common-errors.md:462 |
| Low | Python3/jq 依赖未声明 | scripts/validate-config.sh:1 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | backup-config.sh/restore-config.sh: 读写配置文件 |
| Shell | WRITE | WRITE | ✓ Aligned | SKILL.md 使用 openclaw CLI 命令(doctor, config set 等),scripts/*.sh 执行脚本 |
| Network | READ | READ | ✓ Aligned | SKILL.md 引用外部文档链接,仅用于参考 |
1 Critical 29 findings
Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://get.openclaw.dev | sh references/common-errors.md:462 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/configuration SKILL.md:60 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/configuration-reference SKILL.md:61 Medium External URL 外部 URL
https://docs.openclaw.ai/cli/config SKILL.md:62 Medium External URL 外部 URL
https://docs.openclaw.ai/cli/update SKILL.md:63 Medium External URL 外部 URL
https://docs.openclaw.ai/cli/channels SKILL.md:64 Medium External URL 外部 URL
https://docs.openclaw.ai/cli/skills SKILL.md:65 Medium External URL 外部 URL
https://docs.openclaw.ai/cli/security SKILL.md:66 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/models SKILL.md:67 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/agents SKILL.md:68 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/tools SKILL.md:69 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/plugins SKILL.md:70 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/cron SKILL.md:71 Medium External URL 外部 URL
https://docs.openclaw.ai/gateway/session SKILL.md:72 Medium External URL 外部 URL
https://get.openclaw.dev references/common-errors.md:462 Medium External URL 外部 URL
https://api.yourprovider.com/v1 references/complex-operations.md:87 Medium External URL 外部 URL
https://t.me/BotFather references/complex-operations.md:206 Medium External URL 外部 URL
https://t.me/userinfobot references/complex-operations.md:245 Medium External URL 外部 URL
https://open.feishu.cn/ references/complex-operations.md:288 Medium External URL 外部 URL
https://discord.com/developers/applications references/complex-operations.md:494 Medium External URL 外部 URL
https://api.slack.com/apps references/complex-operations.md:525 Medium External URL 外部 URL
https://api.search.brave.com references/complex-operations.md:645 Medium External URL 外部 URL
https://api.firecrawl.dev references/complex-operations.md:650 Medium External URL 外部 URL
https://api.perplexity.ai references/complex-operations.md:654 Medium External URL 外部 URL
https://push.example.com references/complex-operations.md:906 Medium External URL 外部 URL
https://api.x.ai references/openclaw-config-fields.md:431 Medium External URL 外部 URL
https://api.moonshot.cn references/openclaw-config-fields.md:437 Medium External URL 外部 URL
https://api.minimaxi.com/anthropic references/openclaw-config-fields.md:1314 Info Email 邮箱地址
[email protected] references/openclaw-config-fields.md:768 File Tree
14 files · 202.4 KB · 7842 lines Markdown 7f · 6548L
Shell 5f · 1286L
JSON 1f · 5L
YAML 1f · 3L
├─
▾
agents
│ └─
openai.yaml
YAML
├─
▾
references
│ ├─
channels-config.md
Markdown
│ ├─
common-errors.md
Markdown
│ ├─
complex-operations.md
Markdown
│ ├─
openclaw-config-fields.md
Markdown
│ ├─
schema-sources.md
Markdown
│ └─
version-migration.md
Markdown
├─
▾
scripts
│ ├─
backup-config.sh
Shell
│ ├─
openclaw-config-check.sh
Shell
│ ├─
restore-config.sh
Shell
│ ├─
validate-config.sh
Shell
│ └─
validate-migration.sh
Shell
├─
_meta.json
JSON
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
python3 | any | system | No | 用于 JSON 验证,非核心依赖 |
jq | any | system | No | JSON 输出格式,非核心依赖 |
Security Positives
✓ 代码质量高,结构清晰,有完整错误处理
✓ 所有文件操作仅限于 ~/.openclaw/ 目录,符合声明范围
✓ 无凭证收割、远程执行或数据外泄行为
✓ 备份/恢复脚本有权限控制(chmod 600)
✓ 配置文件验证采用安全方式(python3 json.tool)
✓ 无 .env 或敏感文件泄露
✓ 脚本使用 set -euo pipefail 防止意外执行