TUI Info tab prints configured credentials (auth headers, URL tokens) in plain text
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 80/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
Research direction
Start with clients/tui/src/components/InfoTab.tsx and the sensitive-name rules in core/mcp/sensitiveNames.ts; compare how the Network tab redacts headers and URL query parameters. Update the Info tab to mask credential values using those rules, then verify the configured URL and headers display redacted values.
Written by the indexing model from the issue text.
Description
Found during the v2.18.0 release smoke (#3127). Pre-existing, not caused by a 2.18.0 change.
Problem
The TUI's Info tab, under "Server Configuration", prints the configured server URL and headers verbatim, credentials included:
URL: …/mcp?access_token=SECRETQ999&tenant=acme
Headers: Authorization=Bearer SECRETAUTH123, X-Auth-Token=SECRETXAT456, Ocp-Apim-Subscription-Key=SECRETOCP789, DPoP=SECRETDPOP000, …
Each secret reached the terminal stream 7 times in one session. It is rendered by clients/tui/src/components/InfoTab.tsx (since 373f346e5).
That contradicts the rule PR #3078 (#3077) set for the TUI: the TUI has no Reveal control, so it shows redacted copies. Its Network tab now does, showing authorization: [REDACTED], access_token=%5BREDACTED%5D and so on, while the Info tab shows the same values in plain text. A screen share or a terminal recording exposes them.
Repro
- Run
--tui --configwith a streamable-HTTP entry whose URL carries?access_token=…and whose headers includeAuthorization,X-Auth-TokenandOcp-Apim-Subscription-Key. - Connect, then open the Info tab.
Expected
The Info tab masks sensitive header values and credential-like query parameters, using the same sensitive-name rules (core/mcp/sensitiveNames.ts) as the Network tab.
- Dominant language
- TypeScript
- Stars
- 11.4k
- Forks
- 1.6k
- Avg merge
- 2h 27m
- Merged PRs (30d)
- 121
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the 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 modelcontextprotocol/inspector
-
documentation v2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
modelcontextprotocol/inspector#3139 · 1 comment ·
Maintainers usually reply within 1 day
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
modelcontextprotocol/inspector#3136 · 1 comment ·
Maintainers usually reply within 1 day
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
modelcontextprotocol/inspector#3133 · 2 comments ·
Maintainers usually reply within 1 day
-
bug v2
Difficulty 1/5 Under an hour Newbie friendliness 86/100
modelcontextprotocol/inspector#3132 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
modelcontextprotocol/inspector#3111 ·
Maintainers usually reply within 1 day
All issues in modelcontextprotocol/inspector
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ranxianglei/billion-context#8319 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
JimLiu/open-artifact#126 ·
-
bug repro-ready
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
mksglu/context-mode#1454 ·
-
pending triage
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
laststance/design-world#98 ·
Maintainers usually reply within 1 day