From 5c499d3105d3dde3a1c1c108f0b055caa7405ef3 Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Sun, 10 May 2026 13:14:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=9B=E4=B8=80=E6=AD=A5=E8=84=B1?= =?UTF-8?q?=E6=95=8F=20probe-subscription-endpoints=20=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20orgUUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 orgUUID 截断长度从 8 字符缩减到 4 字符,消除 CodeQL js/clear-text-logging 对 oauthAccount 敏感数据的告警。 Co-Authored-By: glm-5-turbo --- scripts/probe-subscription-endpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/probe-subscription-endpoints.ts b/scripts/probe-subscription-endpoints.ts index cfab5277d..8bb647517 100644 --- a/scripts/probe-subscription-endpoints.ts +++ b/scripts/probe-subscription-endpoints.ts @@ -119,7 +119,7 @@ async function main(): Promise { const baseUrl = getOauthConfig().BASE_API_URL const { origin: baseOrigin } = new URL(baseUrl) console.log(`base: ${baseOrigin}`) - console.log(`orgUUID: ${orgUUID.slice(0, 8)}…\n`) + console.log(`orgUUID: ${orgUUID.slice(0, 4)}…\n`) console.log( ' STATUS PATH BETA HEADER RESPONSE PREVIEW', )