-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: exec-approvals: ask: off and security: full in exec-approvals.json not respected on Windows #59708
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingregressionBehavior that previously worked and now failsBehavior that previously worked and now failssecuritySecurity documentationSecurity documentation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Setting ask: off / security: full in exec-approvals.json has no effect on Windows; every exec call returns exec denied: allowlist miss even after gateway restart.
Steps to reproduce
- Edit
~/.openclaw/exec-approvals.json, add"ask": "off"and"security": "full"underagents.main - Run
openclaw gateway restart - Agent exec call returns
exec denied: allowlist miss - Tried
openclaw approvals set --file <new-config.json>— config was accepted (Defaults: security=full, ask=off shown in output), but exec still denied
Expected behavior
Setting security: full and ask: off should bypass all exec approval checks. Agent should be able to run commands without approval prompts.
Actual behavior
Every exec call returns exec denied: allowlist miss regardless of ask or security settings in exec-approvals.json. The allowlist uses command hashes (=command:<hash>) that change with every slight variation, making allow-always effectively useless on Windows.
OpenClaw version
2026.4.1 (da64a97)
Operating system
Windows 11
Install method
npm global
Model
kimi
Provider / routing chain
openclaw -> kimi
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingregressionBehavior that previously worked and now failsBehavior that previously worked and now failssecuritySecurity documentationSecurity documentation
Type
Fields
Give feedbackNo fields configured for issues without a type.