You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
All policy presets and default telegram/discord policies return 403 due to missing binaries section #676
All 9 policy presets and the default policy entries for telegram and discord in openclaw-sandbox.yaml are missing binaries sections, causing OpenShell's proxy to return 403 Forbidden for every request — even when the endpoints match.
This is the same root cause as #19 (which only identified pypi and npm), but the bug affects all presets: discord, docker, huggingface, jira, npm, outlook, pypi, slack, and telegram.
Root cause
OpenShell's OPA rego policy (sandbox-policy.rego) requires bothendpoint_allowed AND binary_allowed to match for a network request to be permitted:
network_policy_for_request if {
some name
data.network_policies[name]
endpoint_allowed(data.network_policies[name], input.network)
binary_allowed(data.network_policies[name], input.exec)
}
When binaries is empty or absent, the binary_allowed rule iterates over zero candidates and always returns false — so the proxy denies every request regardless of endpoint matching.
Reproduction
nemoclaw onboard --non-interactive
# Apply any preset, e.g. pypi:
nemoclaw my-assistant policy-add # select pypi# Connect and test:
nemoclaw my-assistant connect
pip install requests
# -> 403 Forbidden
Verbose curl from inside sandbox confirms endpoint matches but proxy blocks:
Applying a preset should allow the declared traffic. Each preset needs a binaries section listing the executables that legitimately access those endpoints (e.g., python3*/pip* for pypi, node*/npm* for npm, openclaw/node*/python3*/curl for API presets).
Thanks for reporting this issue, it seems like the policy presets and default policies are missing a binaries section, which could be a bug in the OpenClaw plugin.
Thanks for reporting this issue, it seems like the policy presets and default policies are missing a binaries section, which could be a bug in the OpenClaw plugin.
Fixed — binaries wildcards were added to the permissive policy entries (dc8d4e1c), which was exactly the root cause documented here. Additional policy cleanup followed including dropping deprecated TLS termination from messaging presets and restricting npm/PyPI presets to GET-only. Closing as resolved.
Activity
fix: add missing binaries to all policy presets and default telegram/…
wscurran commentedon Mar 23, 2026
Thanks for reporting this issue, it seems like the policy presets and default policies are missing a binaries section, which could be a bug in the OpenClaw plugin.
wscurran commentedon Mar 23, 2026
Thanks for reporting this issue, it seems like the policy presets and default policies are missing a binaries section, which could be a bug in the OpenClaw plugin.
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: correct issue reference in local-inference preset test (NVIDIA#693…
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
fix: add missing binaries section to all policy presets (NVIDIA#676)
wscurran commentedon Apr 13, 2026
Fixed —
binarieswildcards were added to the permissive policy entries (dc8d4e1c), which was exactly the root cause documented here. Additional policy cleanup followed including dropping deprecated TLS termination from messaging presets and restricting npm/PyPI presets to GET-only. Closing as resolved.fix(cli): add config-io module for safe config file I/O and preset va…
chore(fabric): pin Fabric release/0.7 with the OpenClaw anthropic and…
chore(fabric): pin Fabric release/0.7 at 0dfdb254 with the OpenClaw s…