Rejected channel save keeps the submitted secret in the banner
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
Research direction
Start in PatchConfigDetailedAsync, where SanitizeErrorForLog runs before ex.Message is stored in ConfigPatchResult.Error, then check how the Channels and Config pages copy Error into the banner. The named tests SanitizeErrorForLog_RedactsChannelSecretsTheBannerWouldShow and SanitizeErrorForLog_KeepsAStaleBaseHashSignal define done. A fix already appears to exist on the linked branch, so confirm with the author before starting.
Written by the indexing model from the issue text.
Description
What Problem
A rejected channel or config save put the gateway's raw config.patch error on screen. That error can echo the bot token, signing secret, or webhook URL that was just submitted. The tray log already scrubbed those values. The save banner, and a later refresh of that banner, did not.
Why
PatchConfigDetailedAsync logged SanitizeErrorForLog and then stored ex.Message in ConfigPatchResult.Error. The Channels page and the Config page copy Error into the status banner.
User Impact
A failed Telegram, Discord, Slack, Google Chat, Nostr, or Config page save no longer keeps the submitted secret in the banner. The failure reason stays, with those field values replaced by <redacted>. A stale base hash is still recognized after the scrub.
Evidence
SanitizeErrorForLog_RedactsChannelSecretsTheBannerWouldShow rejects a message that contains a bot token, a signing secret, and a webhook URL. SanitizeErrorForLog_KeepsAStaleBaseHashSignal still marks that error as a stale base hash.
Real behavior proof
The banner text is ConfigPatchResult.Error. Both pages assign that string and do not read the raw exception. The unit test feeds the same scrubber a gateway-shaped validation error and checks the secret strings are gone. The Channels page and the Config page were not opened.
Validation
./build.ps1 passed. Shared tests: 4317 passed, 34 skipped. Tray tests: 4083 passed.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 321
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 175
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openclaw/openclaw-windows-node
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr clawsweeper:not-repro-on-main impact:ux-release-blocker issue-rating: 🦪 silver shellfish P0
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openclaw/openclaw-windows-node#1843 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
clawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security impact:ux-friction issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openclaw/openclaw-windows-node#1763 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/openclaw-windows-node#1762 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:source-repro impact:ux-release-blocker issue-rating: 🦞 diamond lobster P0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openclaw/openclaw-windows-node#1723 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
impact:ux-friction issue-rating: 🦪 silver shellfish P2
Difficulty 4/5 3-5 days Newbie friendliness 25/100
openclaw/openclaw-windows-node#1871 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in openclaw/openclaw-windows-node
Similar issues
-
fix(testing): HeadlessTerminal disposes services synchronouslyPossibly taken @zidad claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
RazorConsole/RazorConsole#388 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
starlinghq/starling#209 ·
Maintainers usually reply within 1 day
-
affected/v17 area/frontend type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
umbraco/Umbraco-CMS#24323 · 1 comment ·
Maintainers usually reply within 2 days
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
dotnet/roslynator#1859 ·
Maintainers usually reply within 1 day