← 返回
未分类 中文

Fix Exec Allowlist Miss

Hybrid reload mode auto-restarts for gateway/plugins changes. Config patching requires baseHash from config.get first. Minimax cron auth uses system-level to...
混合重载模式在网关/插件更改时自动重启。配置修补需要先从 config.get 获取 baseHash。Minimax cron 认证使用系统级...
rabbykst rabbykst 来源
未分类 clawhub v1.0.0 1 版本 99470.9 Key: 无需
★ 0
Stars
📥 188
下载
💾 0
安装
1
版本
#latest

概述

Diagnosing exec deny:

  1. Check tools.exec.security and tools.profile in config
  2. If profile=coding and security=full still denied → profile baseline missing exec
  3. Use gateway tool: gateway('config.patch', {raw: '{tools:{profile:"full"}}'})
  4. Hot-reload applies automatically in hybrid mode; explicit restart via gateway restart if needed
  5. Verify: gateway('config.get', {}) → confirm profile=full

Config patch workflow (atomic, hash-verified):

  1. gateway('config.get', {}) → capture payload.hash
  2. gateway('config.patch', {raw: '...', baseHash: ''})
  3. Rate limit: 3 req/60s per deviceId+clientIp. Restart coalesces with 30s cooldown.

Hot-apply vs restart fields (hybrid mode):

Hot-apply (no restart): channels, agent, models, routing, hooks, cron, session, messages, tools, browser, skills, mcp, audio, talk, ui, logging, identity, bindings

Restart required: gateway.* (port, bind, auth, TLS, HTTP), discovery, plugins

gateway.reload and gateway.remote changes do NOT trigger restart.

Minimax OAuth failure (ConnectionRefused / 401):

  • Cron jobs use system-level auth, not current session OAuth → isolated session
  • If minimax portal token expired: gateway('update.run', {continuationMessage: '...'}) attempts re-auth on restart
  • Fallback: openclaw config set models.providers.minimax-portal.apiKey ''

Workflow

Config patch protected paths:

  • Cannot patch channel-specific configs (e.g., whatsapp:8801322964987)
  • Raw must be object, not string — wrong: gateway('config.patch', {raw: '{...}'})

Right: gateway('config.patch', {raw: {channels: {...}}})

  • Protected paths raise error: gateway config.patch cannot change protected config paths:

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-29 21:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,690
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,228 📥 268,095
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,083 📥 812,994