Repository navigation
v0.17.1: Claude Code permission-rule fix, undici update
What's new
Security fix: Claude Code permission rules apply to wrapped commands again
Affects aquaman-coder 0.12.0 through 0.17.0 on Claude Code 2.1.290 and later. Update if you use deny or ask rules for Bash.
Since Claude Code 2.1.290, permission rules are matched against the command a PreToolUse hook returns, and a Bash rule does not look inside sh -c '...'. The aquaman hook rewrites every Bash command in an aquaman project to aquaman-coder exec -- sh -c '...' and answers allow, so a deny or ask rule on the original command, for example Bash(git push *), stopped applying inside those projects. No credential was exposed by this. The effect was that a command you had denied could run.
The rewritten command now ends with exit and then your original command on its own lines:
aquaman-coder exec -- sh -c 'git push origin main'
exit
git push origin main
Claude Code matches its rules against that text, so a rule on the original command fires exactly as it would without aquaman. The shell stops at exit, with the wrapper's exit status, and never runs the last line. You will see the original command a second time in the transcript; that is expected.
Nothing to reconfigure: update the package and the hook picks it up.
npm install -g aquaman-proxy aquaman-coderDependency fix in the OpenClaw plugin
aquaman-plugin exact-pins undici, and the pinned 7.30.0 has open advisories. This release ships 7.30.2. Update the plugin:
openclaw plugins install clawhub:aquaman-pluginaquaman coder doctor checks the Codex sandbox
Codex's sandbox blocks the proxy socket unless a permissions profile allows it. Doctor used to print a line that always passed. It now reads $CODEX_HOME/config.toml and fails, with the snippet to add, unless a default permissions profile enables network access. A missing or unparseable file fails too.
If you use Codex, expect aquaman coder doctor to fail until the profile is in place. The profile was needed before; doctor now tells you. Note that on Codex 0.169 network.enabled = true gives sandboxed commands outbound network access and every Unix socket, not only the proxy socket.
Optional: block the tool call when the hook cannot run
aquaman coder setup claude-code --fail-closed # Claude Code 2.1.295+By default, if the aquaman hook cannot start (binary missing, timeout), Claude Code runs the command anyway, without credentials. With --fail-closed it blocks the call instead. That also means an uninstalled aquaman blocks every tool call until you run aquaman coder setup claude-code --uninstall. --no-fail-closed turns it off again.
Smaller changes
aquaman openclaw doctorexplains the "can't verify where this plugin came from" message that OpenClaw 2026.11 and later prints for the plugin. The plugin still loads and routes traffic.aquaman openclaw doctornotes when a provider API key such asOPENAI_API_KEYis exported in your shell. OpenClaw sends an exported key instead of the proxy token, which puts the key in the agent process and makes model calls fail with 401. Unset it where OpenClaw runs.- The Hermes plugin manifest declares its tool and hook, so
hermes plugins validatepasses on Hermes 0.23. - Docs: Monitor-tool commands in Claude Code are not wrapped; Discord has a process-wide
DISCORD_API_URLoverride in OpenClaw and is still not routed; Docker Sandboxes notes for sbx 0.48 and 0.51. aquaman-codergains one dependency,smol-toml, to read Codex'sconfig.toml.
Tested against Claude Code 2.1.325, Codex 0.169.0, OpenClaw 2026.9.37 and 2026.11.3, and Hermes 0.23.1.
Breaking changes
None. aquaman coder doctor can newly fail for Codex users, as described above.