CLI: OAuth mcp-remote fallback via \ px -y\ has no integrity pin (supply-chain risk)
Los mantenedores suelen responder en 8 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- node.js, typescript
- Área
- authentication, cli, security
Línea de trabajo
Start from the place in the @continuedev/cli package that spawns npx -y mcp-remote on the OAuth fallback path; the payload does not name the file. Read #13429 first so you don't overlap with its version-selection work. Done means maintainers have picked one of the three options and the invocation is either pinned to a version or documented with a fail-closed warning in interactive mode.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Related
Adjacent to #13429 (no version pin on npx -y mcp-remote after a 401). That issue focuses on reproducible version selection. This one is the supply-chain side of the same code path.
Problem
@continuedev/cli recovers interactive OAuth by spawning roughly:
npx -y mcp-remote <server-url>
-y installs without prompting. Without a version and without an integrity/resolved artifact (npm package dependency, pinned tarball, or npx [email protected] with a lock-known version), a registry compromise or unexpected latest publish is executed with the user's credentials flow. This bridge is the CLI's OAuth path for MCP when static Bearer headers are not enough (#8143).
Expected
Prefer one of:
- depend on a fixed
mcp-remoteversion inside the CLI package and invoke the local bin, or - invoke
npx mcp-remote@<pinned>where<pinned>is reviewed in releases, or - if
npx -ymust stay, document the trust boundary clearly and fail closed in CI/headless (already skipped) while warning in interactive mode
Non-goal
Changing when the 401 fallback triggers — that stays with #13429.
Happy to open a small PR once maintainers pick an option.
- Lenguaje dominante
- TypeScript
- Estrellas
- 36.5k
- Forks
- 5.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni 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 continuedev/continue
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
continuedev/continue#13486 ·
Los mantenedores suelen responder en 8 días
-
Chat panel overflows horizontally when VS Code zoom level is increased (Cmd/Ctrl + +)Posiblemente ocupada @tang-ontheway la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
continuedev/continue#13483 ·
Los mantenedores suelen responder en 8 días
-
Docs: show tool selection for a shared remote MCP endpointPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
continuedev/continue#13464 · 1 comentario ·
Los mantenedores suelen responder en 8 días
-
Inline code becomes unreadable in VS Code high-contrast themesPosiblemente ocupada @aminesayagh la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
continuedev/continue#13424 ·
Los mantenedores suelen responder en 8 días
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON valuePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
continuedev/continue#13363 ·
Los mantenedores suelen responder en 8 días
Todos los issues de continuedev/continue
Issues similares
-
status/need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
google-gemini/gemini-cli#30328 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[hooks] SessionStart injects the knowledge-update frontmatter on a CRLF checkoutPosiblemente ocupada @abhiramshaji-cyber la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
vercel/vercel-plugin#429 ·
Los mantenedores suelen responder en 1 día
-
severity:medium triage:confirmed triage:in-progress triage:reproduced
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Cotal-AI/Cotal#7231 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
boxlite-ai/boxlite#2777 ·
Los mantenedores suelen responder en 1 día