Sandbox bypass prompt for explicitly writable skills directory

Abierto
#5,601 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, python
Área
cli, security

Línea de trabajo

Start by tracing how GitHub Copilot CLI resolves sandbox.userPolicy.filesystem.readwritePaths when editing a skill through the ~/.copilot/skills symlink, and compare that path with the behavior when launched from the skill directory. Check how conflicting grants are handled and add or locate a regression test for this reproduction. Done means an explicitly granted writable skills directory no longer triggers a sandbox-bypass prompt.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:permissions
Describe the bug

Editing a skill requests sandbox-bypass approval despite an explicit read-write grant for the skills directory.

Affected version

GitHub Copilot CLI 1.0.117

Steps to reproduce the behavior
  1. Enable sandboxing and add the skills directory to sandbox.userPolicy.filesystem.readwritePaths.
  2. From the repository root, ask Copilot to edit a skill.
  3. Copilot requests sandbox-bypass approval.
Expected behavior

The explicit read-write grant permits the edit without a bypass prompt.

Additional context
  • macOS 27.2.1, ARM64.
  • ~/.copilot/skills is a symlink to the skills directory of a shared repo in our setup.
  • Changing the working directory to the skill's directory before requesting the edit avoids the prompt.
  • The documentation does not explain precedence for conflicting grants on the same path.
Lenguaje dominante
Python
Estrellas
11.5k
Forks
2k
Merge medio
6 h 34 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/copilot-cli

Todos los issues de github/copilot-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.