Warn on non-loopback web binds and document the token's access-control boundary in the README
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 67/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend, documentation, security
Línea de trabajo
Start with the “Hosting on a network” section in clients/web/README.md and the bind resolution in clients/web/server/resolve-bind-host.ts; then trace startup output in the launcher and Docker image. Check the existing tests around bind resolution and add coverage for loopback names and IPs staying silent and other hosts warning. Done when the README and both startup outputs explain the token boundary consistently and the warning tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The web server's API token protects against cross-origin browser requests. It is not access control against anyone who can load the UI: GET / hands the token to whoever can reach the page. docs/docker.md says so, and says that publishing more widely needs a real access-control boundary in front. Two gaps remain:
- The web README's "Hosting on a network" section (
clients/web/README.md) doesn't carry that warning. - A non-loopback bind prints no warning. A wildcard bind requires
DANGEROUSLY_BIND_ALL_INTERFACES, butHOST=<specific LAN or public IP>(clients/web/server/resolve-bind-host.ts) is accepted silently.
Proposed change
- Add the access-control caveat to "Hosting on a network": anyone who can load the page can act as the user, and that includes other local users on a shared host.
- At startup, when the resolved bind host is not loopback, print a one-time warning to the same effect, with a link to the README section. Keep the launcher banner and the Docker image's output consistent; the image binds
0.0.0.0by design. - Tests for the warning's trigger (loopback names and IPs stay silent; anything else warns).
Possible follow-up (not this issue)
A bootstrap that never puts the token in HTML, such as a one-time secret in the URL fragment exchanged for an HttpOnly cookie, would remove the "anyone who loads the page" property. That's a design change across the launcher, the server and the deep-link flow, and it deserves its own issue if we pursue it.
Priority score
Severity 2, Urgency 3, +1 milestone, Total 6 → Medium.
- Lenguaje dominante
- TypeScript
- Estrellas
- 11.1k
- Forks
- 1.6k
- Merge medio
- 5 h 29 min
- PR fusionados (30 d)
- 158
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de modelcontextprotocol/inspector
-
enhancement v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
modelcontextprotocol/inspector#2782 ·
Los mantenedores suelen responder en 1 día
-
CLI tests seed the developer's real ~/.mcp-inspector/mcp.json (cli.test.ts, completion.test.ts)Abiertobug v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
modelcontextprotocol/inspector#2765 ·
Los mantenedores suelen responder en 1 día
-
chore v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
modelcontextprotocol/inspector#2752 ·
Los mantenedores suelen responder en 1 día
-
SSE transport: connection succeeds then marked 'Failed' after first event, works fine with raw curlAbierto
Dificultad 4/5 1-2 días Aptitud para principiantes 53/100
modelcontextprotocol/inspector#2783 ·
Los mantenedores suelen responder en 1 día
-
enhancement v2
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
modelcontextprotocol/inspector#2772 ·
Los mantenedores suelen responder en 1 día
Todos los issues de modelcontextprotocol/inspector
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
openclaw/openclaw#182077 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
aikido high security
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dequelabs/axe-linter-action#161 ·
-
[Feature Request] Update the DimCode agent icon to the 45:32 brand markPosiblemente ocupada @eric8810 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Feature]: 建议导入源后,自动切换到新导入的源Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
lyswhut/lx-music-desktop#3026 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
abhigyanpatwari/GitNexus#3704 ·
Los mantenedores suelen responder en 1 día