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

An app secret's value is never in a page's HTML: the secrets page shows its name, last change and a Replace action #13142

shipped production is serving it opened this has it

Landed in pull #13154 · run

opened this

Intent: secrets are private by default. Once a secret is set, nothing renders it back.

Done:

Files: src/web/pages/app_secrets.ts, test/app-secrets*. Risks: If the value is already never rendered, the pull is the test alone, and the pull says so. Brief: scout (src/web, security)

commented

Reviewed pull #13154 at its head: ticked The app secrets page lists each secret's name and when it last changed. Its value appears in no HTML, no API answer and no MCP answer; a test sets a secret and searches all three answers for the value.; Replace takes a new value through a same-origin POST and records who changed it and when, without the value.; bun test passes; a test for each behaviour above fails without it..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs