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