statementSaid on 2026-11-10
The problem stems from Claude Code writing approved Shell commands into local settings files, which get committed with the project if not ignored by Git.
A statement by post author, said on 2026-11-10. Statements are as reported by the cited publishers — not verified by DecisionGateway.
问题源于 Claude Code 把获准执行的 Shell 命令写入本地设置文件,若未被 Git 忽略就会随项目提交。
Discussion
Related claims
More than 100,000 Claude Code local settings files have been uploaded to public GitHub repositories.Apiiro · investigationMore than 100,000 Claude Code local settings files were uploaded to public repositories, and about 1,100 contained confidential data.post author · statementAfter a user selects "是,且不再询问", command text containing secrets may be written into .claude/settings.local.json and then mistakenly committed to repositories.Apiiro · allegationThe Claude Code team is studying preventive measures and considering changes in Claude Code.Boris Cherny · commitmentTwo additional claims written with the help of Claude appeared on Git: an anonymous one for the six case, and one by Yuan Zhou for the general case.post author · statementTwo of the four CVSS 10.0 flaws enable remote code execution.post title · statement