feat: v0.8.2 安全纵深补全 · 协议保真 · 断链修复 — 图片SSRF/根MEMORY.md保护根治 · Anthropic thinking回传+pause_turn续传 · 2523 用例全量回归 + E2E 扩充
CI / 类型检查 + Lint + 单元测试 (push) Failing after 9m45s
CI / 全量测试 (Electron ABI) (push) Failing after 6m28s
CI / 产物编译验证 (push) Successful in 11m18s

This commit is contained in:
2026-09-08 14:30:27 +08:00
parent 69776e447f
commit 4cd6e997b5
86 changed files with 4303 additions and 956 deletions
+6 -1
View File
@@ -60,7 +60,9 @@ export function resetEncryptionUsableForTests(): void {
encryptionUsable = null;
}
/** 敏感配置 key 匹配模式(与 IPC 层审计脱敏规则保持一致) */
/** 敏感配置 key 匹配模式(与 IPC 层审计脱敏规则保持一致)
* v0.8.2 P1-5: 补 authorization / authkey / credential —— 审计 args 深度脱敏
* 复用本表,HTTP 标准鉴权头(Authorization)此前不命中导致明文入库 */
const SENSITIVE_KEY_PATTERNS = [
'apikey',
'api_key',
@@ -69,6 +71,9 @@ const SENSITIVE_KEY_PATTERNS = [
'secret',
'password',
'auth_key',
'authkey',
'authorization',
'credential',
];
/**