Repository navigation
clawrouter update no longer puts your wallet key on a command line
To print your wallet address, clawrouter update passed the private key into a
node -e command (once while backing up the wallet, once in the closing summary).
That put the key in the process's command line. On Linux, other local accounts can
read command lines from /proc, and exec-auditing tools record them.
- Fix: node now reads
~/.openclaw/blockrun/wallet.keydirectly, so the key
never appears in a command line or in program text. The address and fallback
messages are unchanged. - Regression test: runs the real shell function under macOS
/bin/bash3.2
with anodethat records its arguments, and checks the key never shows up. - Curl installer:
blockrun.ai/ClawRouter-updateserves its own copy of
update.sh, which is updated separately. The npm package carries the fixed
script from this release on.
Advisory GHSA-27x5-82hg-xwr6. Thanks to @0xLittleDream
for the report.