Scan Report
5 /100
agent-config-validator
OpenClaw Agent配置验证器 — 验证 openclaw.json 与 agent 目录结构的一致性,检测过时引用,生成诊断报告并支持安全自动修复
The agent-config-validator skill is a legitimate configuration validation tool for OpenClaw multi-agent systems with well-designed security mechanisms including default read-only mode, whitelist-based auto-repair, protected document safeguards, and automatic backups.
Safe to install
This skill is safe to use. Its filesystem:WRITE permission is fully declared and scoped to openclaw.json auto-repair with a security whitelist. No action required.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Write access not reflected in pi allowed-tools mapping | SKILL.md:1 |
| Info | Hardcoded deleted agent pattern list | src/validator.js:319 |
| Info | Default path 'D:\OpenClaw' used as fallback | src/validator.js:68 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | WRITE | ✓ Aligned | SKILL.md declares read access for config checks; write access for auto-repair is… |
| Network | NONE | NONE | — | No network calls in src/validator.js or test-skill.js |
| Shell | NONE | NONE | — | No shell execution in validator.js; test-skill.js uses execSync only for local n… |
| Environment | NONE | NONE | — | process.env.OPENCLAW_ROOT is read for path detection only; no iteration over env… |
| Clipboard | NONE | NONE | — | No clipboard access |
| Browser | NONE | NONE | — | No browser access |
| Database | NONE | NONE | — | No database access |
1 findings
Info Email 邮箱地址
[email protected] skills/agent-config-validator/package.json:16 File Tree
8 files · 65.0 KB · 2297 lines Markdown 4f · 1312L
JavaScript 2f · 919L
JSON 2f · 66L
├─
▾
skills
│ └─
▾
agent-config-validator
│ ├─
package.json
JSON
│ ├─
README.md
Markdown
│ └─
SKILL.md
Markdown
├─
▾
src
│ └─
validator.js
JavaScript
├─
package.json
JSON
├─
README-en.md
Markdown
├─
SKILL.md
Markdown
└─
test-skill.js
JavaScript
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
none | N/A | package.json | No | No npm dependencies — uses only Node.js built-in modules (fs, path, readline, child_process for test only) |
Security Positives
✓ Default read-only mode — fix=false by default, never modifies anything without explicit opt-in
✓ Security whitelist (SAFE_TO_AUTO_FIX) restricts auto-repair to only 3 safe config paths
✓ Protected documents list (IDENTITY.md, SOUL.md, MEMORY.md, USER.md, HEARTBEAT.md, TOOLS.md) are explicitly protected from any auto-modification
✓ Automatic timestamped backups created before any config write
✓ Interactive confirmation required for sensitive changes (agents.list, models, channels, auth)
✓ No credential harvesting — process.env is used only for OPENCLAW_ROOT path detection
✓ No network calls or external communications of any kind
✓ No eval(), no base64 decoding, no obfuscated code
✓ No remote script execution (no curl|bash or wget|sh patterns)
✓ No dependencies in package.json — zero supply chain risk
✓ Dry-run mode available to preview changes before execution
✓ Comprehensive documentation that accurately reflects implementation