anthropics / anthropics/claude-code
[Bug] File write restrictions inconsistently applied to Git-related filenames outside .git directory
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
**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
[]
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git
- 領域
- security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100