openclaw - 💡(How to fix) Fix [Bug]: tools.exec.security config setting completely ignored [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59270Fetched 2026-04-08 02:26:41
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×2subscribed ×2renamed ×1unsubscribed ×1

Issue: The `tools.exec.security` configuration setting has no effect on runtime enforcement. Exec remains denied regardless of config value.

Config tested: ```json { "tools": { "exec": { "security": "full" } } } ```

Expected behavior: With `security: "full"`, exec commands should run without approval.

Actual behavior: All exec calls return `exec denied: host=gateway security=deny`

Tested on channels:

  • webchat (TUI)
  • WhatsApp

Troubleshooting performed:

  • ✅ Verified config syntax with `jq .tools`
  • ✅ Confirmed gateway reads correct config file
  • ✅ Restarted gateway multiple times (`openclaw gateway restart`)
  • ✅ Killed all processes and cleared session state
  • ✅ Checked for env var overrides (none found)
  • ✅ Checked systemd service file (no overrides)
  • ✅ Tested `"allowlist"` and `"full"` modes (both denied)
  • ✅ Schema validation confirms valid enum values

Result: Config setting is parsed correctly but has zero effect on runtime enforcement."

Root Cause

Issue: The `tools.exec.security` configuration setting has no effect on runtime enforcement. Exec remains denied regardless of config value.

Config tested: ```json { "tools": { "exec": { "security": "full" } } } ```

Expected behavior: With `security: "full"`, exec commands should run without approval.

Actual behavior: All exec calls return `exec denied: host=gateway security=deny`

Tested on channels:

  • webchat (TUI)
  • WhatsApp

Troubleshooting performed:

  • ✅ Verified config syntax with `jq .tools`
  • ✅ Confirmed gateway reads correct config file
  • ✅ Restarted gateway multiple times (`openclaw gateway restart`)
  • ✅ Killed all processes and cleared session state
  • ✅ Checked for env var overrides (none found)
  • ✅ Checked systemd service file (no overrides)
  • ✅ Tested `"allowlist"` and `"full"` modes (both denied)
  • ✅ Schema validation confirms valid enum values

Result: Config setting is parsed correctly but has zero effect on runtime enforcement."

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Issue: The `tools.exec.security` configuration setting has no effect on runtime enforcement. Exec remains denied regardless of config value.

Config tested: ```json { "tools": { "exec": { "security": "full" } } } ```

Expected behavior: With `security: "full"`, exec commands should run without approval.

Actual behavior: All exec calls return `exec denied: host=gateway security=deny`

Tested on channels:

  • webchat (TUI)
  • WhatsApp

Troubleshooting performed:

  • ✅ Verified config syntax with `jq .tools`
  • ✅ Confirmed gateway reads correct config file
  • ✅ Restarted gateway multiple times (`openclaw gateway restart`)
  • ✅ Killed all processes and cleared session state
  • ✅ Checked for env var overrides (none found)
  • ✅ Checked systemd service file (no overrides)
  • ✅ Tested `"allowlist"` and `"full"` modes (both denied)
  • ✅ Schema validation confirms valid enum values

Result: Config setting is parsed correctly but has zero effect on runtime enforcement."

Steps to reproduce

Use security: full and still can't run commands

Expected behavior

with full it should be able to run commands

Actual behavior

Everything is blocked no matter security setting

OpenClaw version

2026.3.31 (213a704)

Operating system

Ubuntu 24.04

Install method

npm

Model

github-copilot/claude-sonnet-4.5

Provider / routing chain

openclaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The tools.exec.security configuration setting is not being applied correctly, causing exec commands to be denied regardless of the config value.

Guidance

  • Verify that the tools.exec.security setting is being parsed and applied correctly by checking the gateway's runtime configuration.
  • Check for any overrides or default settings that may be causing the security setting to be ignored.
  • Test the tools.exec.security setting with different values (e.g. "allowlist", "none") to see if the issue is specific to the "full" value.
  • Review the OpenClaw documentation to ensure that the tools.exec.security setting is supported in version 2026.3.31.
  • Consider checking the gateway's logging configuration to see if there are any error messages or warnings related to the tools.exec.security setting.

Example

No code snippet is provided as the issue is related to configuration and not code.

Notes

The issue may be related to a bug in the OpenClaw gateway or a misconfiguration. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by checking the OpenClaw documentation for alternative configuration settings or options that can achieve the desired behavior, as the current tools.exec.security setting is not working as expected.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

with full it should be able to run commands

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING