anthropics / anthropics/claude-code
[Feature Request] Add /nuke command to delete client and server session copies on key compromise
- 主要語言
- Python
- 星號
- 145k
- 分支
- 23.1k
- PR 合併指標
- PR 指標待擷取
描述
**Bug Description**
i'd like a /nuke command that will delete both client and server copies of a session (and restart the current session) for use in situations like key leaks into sessions. claude has accidently read private keys due to script errors many times. I'd feel better about this if i could know that i have killed all the session data that has the key in it. Even if i roll the key being able to remove any copy of it is good policy.
**Environment Info**
- Platform: darwin
- Terminal: vscode
- Version: 2.1.263
- Feedback ID: b578d4fd-6f09-40b8-8d99-2a15d5d48fbe
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by finding how Claude Code handles slash commands and where client and server session data are stored. The requested outcome is a /nuke command that deletes both copies of the current session and restarts it after possible key compromise. This likely needs maintainer guidance on server-side deletion semantics and safety before implementation.
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, security
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100