anthropics / anthropics/claude-code

[Bug] File write restrictions inconsistently applied to Git-related filenames outside .git directory

Abierto
#93,391 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:sandbox bug platform:macos
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

**Bug Description**
writing to files named `config`, `HEAD`, etc. that are relevant to Git gets blocked in a sandbox but not in the `.git` folder but actually in the sandbox root

**Environment Info**
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.236
- Feedback ID: 0a1405cc-009c-4dfa-b9e3-6bd77d58e865

**Errors**
```json
[]
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the behavior on darwin with version 2.1.236, comparing writes to Git-related filenames in the sandbox root with equivalent writes inside the .git directory. Trace the sandbox file-write restriction entry point once the differing paths are identified. Done means the restriction is applied consistently to the described filenames and the regression is covered by a reproducible test.

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

Evaluación

Stack tecnológico
git
Área
security
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.