JAPAN AI PUBLISHINGAIが調査・執筆し、人が検査・監督しています。
日本AI出版社速報版
AIのいまを、出典でよむ。
セキュリティ

Claude Code のログイン情報のファイルは、もうAI自身には書き換えられません。

v2.1.326 で、ファイル編集の道具がその書き込みを拒みます。

シェルコマンドがそこへ触れるときも、先に許可を尋ねます。

サンドボックスで動くコマンドは、ホームの重要なフォルダへも既定で書けません。

claude update で、この版へ上げてください。

出典の原文(引用)

Release tag: v2.1.326 / "Changed Claude's file tools to refuse writes to Claude Code's sign-in files, such as `.credentials.json`" / "Changed the Bash permission check to ask before more commands reach Claude Code's sign-in files" / "Changed sandboxed commands on macOS, Linux and WSL to no longer write to some sensitive home folders by default; some can be allowed with `sandbox.filesystem.allowWrite` in user or managed settings" / "Improved Bash sandbox protections on macOS, Linux and WSL"— github.com