Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
815e2d7
fix(channels): include Slack guard in proxy-env.sh and make gateway l…
ericksoa Apr 25, 2026
2a26f26
fix(channels): add diagnostics to Slack guard installation path
ericksoa Apr 25, 2026
7cbf0a9
fix(channels): read Docker container logs for guard diagnostics
ericksoa Apr 25, 2026
79455ed
fix(channels): dump /tmp contents in guard diagnostic
ericksoa Apr 25, 2026
c97fda7
fix(channels): quote glob in /tmp diagnostic to expand inside sandbox
ericksoa Apr 25, 2026
8d03c40
fix(channels): add entrypoint execution trace to /tmp
ericksoa Apr 25, 2026
2d1c431
fix(channels): skip read-only .bashrc in install_configure_guard
ericksoa Apr 25, 2026
a9bea1a
fix(channels): make lock_rc_files tolerant of Landlock read-only home
ericksoa Apr 25, 2026
5b1b711
fix(channels): update validate_tmp_permissions for 644 gateway.log
ericksoa Apr 25, 2026
5823e23
fix(channels): add finer trace between non-root path entry and guard
ericksoa Apr 25, 2026
0924018
fix(channels): wrap all rc-file writes in || true for Landlock
ericksoa Apr 25, 2026
3591b31
fix(channels): fix non-root gateway.log perms and add crash diagnostic
ericksoa Apr 25, 2026
4694310
fix(sandbox): add ciao/networkInterfaces guard for restricted namespaces
ericksoa Apr 25, 2026
111b760
fix(sandbox): disable OpenClaw channel health monitor in sandbox
ericksoa Apr 25, 2026
d5d2478
fix(sandbox): use per-channel healthMonitor disable instead of global
ericksoa Apr 25, 2026
714c03d
fix(sandbox): add global catch-all safety net for gateway crashes
ericksoa Apr 25, 2026
a3c2a78
fix(sandbox): intercept process.exit during swallowed rejections
ericksoa Apr 25, 2026
4866add
ci: remove cloud-experimental-e2e from nightly workflow
ericksoa Apr 25, 2026
f659eb3
chore: remove diagnostic traces and clean up PR
ericksoa Apr 25, 2026
ae4d5d9
fix(test): apply shfmt formatting and fix nemotron validate_tmp test
ericksoa Apr 25, 2026
ca7f824
Merge branch 'main' into fix/slack-guard-loading
ericksoa Apr 25, 2026
5699ac7
fix(test): fix http-proxy-fix validate_tmp_permissions regex and add …
ericksoa Apr 25, 2026
8cd6259
chore: apply shfmt formatting from pre-commit hooks
ericksoa Apr 25, 2026
d27f0dd
fix(sandbox): address CodeRabbit review feedback
ericksoa Apr 25, 2026
36f3f89
fix(sandbox): accept both 600 and 644 for gateway.log in validator
ericksoa Apr 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scripts/nemoclaw-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,10 @@ PROXYEOF
fi
# Nemotron inference fix for connect sessions. (NemoClaw#1193, #2051)
echo "export NODE_OPTIONS=\"\${NODE_OPTIONS:+\$NODE_OPTIONS }--require $_NEMOTRON_FIX_SCRIPT\""
# Slack channel guard for connect sessions. The guard file is installed later
# by install_slack_channel_guard() — conditional on the file existing at
# source-time so connect sessions started before Slack is configured are safe.
echo "[ -f \"$_SLACK_GUARD_SCRIPT\" ] && export NODE_OPTIONS=\"\${NODE_OPTIONS:+\$NODE_OPTIONS }--require $_SLACK_GUARD_SCRIPT\""
# Tool cache redirects — generated from _TOOL_REDIRECTS (single source of truth)
echo '# Tool cache redirects — /sandbox is Landlock read-only (#804)'
for _redir in "${_TOOL_REDIRECTS[@]}"; do
Expand Down Expand Up @@ -1392,11 +1396,12 @@ if [ ${#NEMOCLAW_CMD[@]} -gt 0 ]; then
exec gosu sandbox "${NEMOCLAW_CMD[@]}"
fi

# SECURITY: Protect gateway log from sandbox user tampering
# Gateway log: owned by gateway user, world-readable for diagnostics.
# The sandbox user can read but not truncate/overwrite (not owner, sticky /tmp).
# TODO(#2277-P2): migrate to shared emit_restricted_log() helper
touch /tmp/gateway.log
chown gateway:gateway /tmp/gateway.log
chmod 600 /tmp/gateway.log
chmod 644 /tmp/gateway.log
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

# Separate log for auto-pair so sandbox user can write to it
# TODO(#2277-P2): migrate to shared emit_restricted_log() helper
Expand Down
Loading