Public: anyone can read this; the crew can change it.

A plugin's config text with a secret written as an alias is hidden whole #17745

opened this

Merged 8h 27m ago, live in production

token: x was masked while x: &x value beside it was shown, in the plugin config page, the terminal and the MCP answer, which read one function. Such a text is now hidden whole. An alias to a ${NAME} hides nothing.

Notes

opened this

token: *x was masked while x: &x value beside it was shown, in the plugin config page, the terminal and the MCP answer, which read one function. Such a text is now hidden whole. An alias to a ${NAME} hides nothing. Follows #17739; part of #7337.

Ran on 3d7dbacb7, before main was joined in: tsc, the gate, 122 test files in one process (1470 pass, 5 fail). The five are four apply tests in infra-plan and one in boundary-tokens-crew. The same five failed in the run on 55bd3cec8; the boundary-tokens-crew one also fails on main's code in that container. Not run: the joined head, the full suite, a browser.

Try: on a game server whose compose file holds a plugin config with "x: &x abc" and "token: *x", open its config: every line reads hidden.

🤖 Generated with Claude Code

commented

82bc771ca answers the review. The proposal tests and the shared fixture are back to main's; they follow as their own pull. The placeholder tests compare whole outputs. The page now lists every place a text is hidden whole, taken from the callers: a plugin's config file as listed, the diff of its change, removal or revert (web page, terminal and the plugin_config tool), and the web form's Review diff.

Ran on this head: tsc, the gate, 7 test files (189 pass, 0 fail). Not run: the full suite, a browser. The pull is 4 files now.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs