SleuthCo.AI
9c87b53c8e
security(cli): redact sensitive values in config get output ( #23654 )
...
* security(cli): redact sensitive values in config get output
`runConfigGet()` reads raw config values but never applies redaction
before printing. When a user runs `openclaw config get gateway.token`
the real credential is printed to the terminal, leaking it into shell
history, scrollback buffers, and screenshots.
Use the existing `redactConfigObject()` (from redact-snapshot.ts,
already used by the Web UI path) to scrub sensitive fields before
`getAtPath()` resolves the requested key.
Fixes #13683
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* CLI/Config: add redaction regression test and changelog
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-02-22 19:37:33 -05:00
..
2026-02-20 16:36:25 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 18:55:44 +01:00
2026-02-22 21:19:09 +00:00
2026-02-18 23:09:09 +00:00
2026-02-22 08:22:58 +00:00
2026-02-23 00:19:05 +00:00
2026-02-22 17:11:36 +01:00
2026-02-21 21:40:39 +00:00
2026-02-19 21:04:22 -05:00
2026-02-22 11:15:13 +01:00
2026-02-22 11:15:13 +01:00
2026-02-19 21:04:22 -05:00
2026-02-18 23:34:15 +00:00
2026-02-22 07:35:54 +00:00
2026-02-18 01:34:35 +00:00
2026-02-21 21:40:39 +00:00
2026-02-15 05:35:49 +00:00
2026-02-15 18:25:47 +00:00
2026-02-15 05:08:08 +00:00
2026-02-17 20:57:09 -05:00
2026-02-21 21:40:39 +00:00
2026-02-17 20:57:09 -05:00
2026-02-19 15:19:38 +00:00
2026-02-18 01:34:35 +00:00
2026-02-22 11:21:43 +01:00
2026-02-22 11:21:43 +01:00
2026-02-22 11:21:43 +01:00
2026-02-22 20:05:01 +01:00
2026-02-21 23:28:07 +00:00
2026-02-21 21:40:39 +00:00
2026-02-17 20:57:09 -05:00
2026-02-22 20:05:01 +01:00
2026-02-22 07:44:56 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 19:37:33 -05:00
2026-02-22 19:37:33 -05:00
2026-02-22 07:35:54 +00:00
2026-02-14 20:53:32 -08:00
2026-02-14 20:53:32 -08:00
2026-02-22 11:30:29 +00:00
2026-02-22 18:37:25 +00:00
2026-02-21 21:40:39 +00:00
2026-02-22 08:40:29 +00:00
2026-02-20 05:12:05 +00:00
2026-02-18 18:38:58 +00:00
2026-02-18 01:34:35 +00:00
2026-02-19 15:19:38 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 11:30:29 +00:00
2026-02-22 17:06:35 +00:00
2026-02-16 14:59:30 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 11:15:13 +01:00
2026-02-22 11:15:13 +01:00
2026-02-22 07:35:54 +00:00
2026-02-18 01:34:35 +00:00
2026-02-22 07:35:54 +00:00
2026-02-19 06:43:36 +00:00
2026-02-19 15:19:38 +00:00
2026-02-22 07:44:57 +00:00
2026-02-18 23:48:32 +00:00
2026-02-18 23:34:15 +00:00
2026-02-19 15:19:38 +00:00
2026-02-18 23:34:15 +00:00
2026-02-20 13:32:49 -06:00
2026-02-18 23:34:15 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 07:44:56 +00:00
2026-02-21 21:40:39 +00:00
2026-02-21 21:40:39 +00:00
2026-02-21 21:40:39 +00:00
2026-02-22 07:35:54 +00:00
2026-02-20 19:59:54 -08:00
2026-02-18 01:34:35 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 07:44:56 +00:00
2026-02-19 15:19:38 +00:00
2026-02-17 12:23:12 +09:00
2026-02-22 17:51:38 +00:00
2026-02-22 17:51:38 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 07:44:56 +00:00
2026-02-22 17:06:35 +00:00
2026-02-15 23:14:42 +00:00
2026-02-17 14:32:57 +09:00
2026-02-19 15:19:38 +00:00
2026-02-22 20:05:01 +01:00
2026-02-16 14:59:30 +00:00
2026-02-19 21:04:22 -05:00
2026-02-16 22:06:25 +01:00
2026-02-22 07:44:56 +00:00
2026-02-15 16:46:04 +00:00
2026-02-22 10:58:04 +00:00
2026-02-19 07:33:37 +00:00
2026-02-22 07:44:56 +00:00
2026-02-21 21:40:39 +00:00
2026-02-21 21:40:39 +00:00
2026-02-18 13:34:03 +00:00
2026-02-19 15:19:38 +00:00
2026-02-22 17:11:36 +01:00
2026-02-22 17:11:36 +01:00
2026-02-16 14:59:30 +00:00