feat(security): 敏感清单补齐 design/11 §4 的 7 类(写数据/对外发消息/访问密钥/改配置,结构化判据)
This commit is contained in:
1 parent
509dc412eb
commit
85abb90067
6 files changed
+813
-18
No files matched your search
@@ -40,7 +40,8 @@ type ApprovalEvent struct {
|
||||
Actor string
|
||||
// Tool 是敏感工具名(如 terminal)。
|
||||
Tool string
|
||||
// Op 是敏感操作类别(执行命令 / 修改文件 / 网络访问)。
|
||||
// Op 是敏感操作类别(design/11 §4 的 7 类:执行命令 / 修改文件 / 写数据 /
|
||||
// 对外发消息 / 访问密钥与隐私 / 改配置与权限 / 网络访问)。
|
||||
Op SensitiveOp
|
||||
// Detail 是动作摘要(工具 + 关键参数,已截断)。
|
||||
Detail string
|
||||
|
||||
Reference in new issue
Block a user