anthropics / anthropics/claude-code

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

Aperta
#93,391 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:sandbox bug platform:macos
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

**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
[]
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git
Ambito
security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.