An open-source implementation of uTools, a high-performance, scalable application launcher and plugin platform | Supports macOS and Windows, 一个高性能、可扩展的应用启动器和插件平台 uTools 的开源实现 | 支持 macOS 和 Windows
This report summarizes scanner evidence for ZToolsCenter/ZTools, a TypeScript project with 4,070 GitHub stars. SynthScan examined 151,337 lines of code across 543 source files, recording 236 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 216 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 216 finding(s).
Which changes need focused human review? 236 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 236 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/preload.js | 263 | function replayPendingPluginEnterIfNeeded() { | CODE |
| LOW | tests/e2e/private-sync.spec.ts | 563 | async function waitForSettingsSelectorHidden( | CODE |
| LOW | tests/e2e/private-sync.spec.ts | 584 | async function waitForSettingsDialogStable(electronApp: ElectronApplication): Promise<void> { | CODE |
| LOW | tests/e2e/internal-api-permissions.spec.ts | 902 | async function waitForSettingsSelectorHidden( | CODE |
| LOW | …ugins/setting/src/composables/useNotificationCenter.ts | 288 | async function isOfficialAccountLoggedIn(): Promise<boolean> { | CODE |
| LOW | …al-plugins/setting/src/composables/useZToolsAccount.ts | 48 | export async function promptDefaultDataImportAfterLogin( | CODE |
| LOW | …ins/setting/src/composables/usePluginCommandActions.ts | 294 | function buildPluginAliasDraftTarget( | CODE |
| LOW | internal-plugins/setting/src/utils/pluginUpgrade.ts | 37 | export async function upgradeInstalledPluginFromMarket( | CODE |
| LOW | …ting/src/components/common/HotkeyInput/HotkeyInput.vue | 177 | function handleEscapeWhileRecording(_event: KeyboardEvent): boolean { | CODE |
| LOW | …ing/src/components/common/shared/useOverlayPosition.ts | 184 | export function resolveAutoAdjustedPlacement( | CODE |
| LOW | …rc/components/common/ShortcutEditor/ShortcutEditor.vue | 136 | function resolveShortcutTargetOption( | CODE |
| LOW | …lugins/setting/src/components/common/Select/Select.vue | 479 | function handleDocumentPointerDown(event: PointerEvent): void { | CODE |
| LOW | …n/MatchCommandDetailDialog/MatchCommandDetailDialog.ts | 115 | async function toggleSelectedMatchCommandDisabled(): Promise<void> { | CODE |
| LOW | …lugins/setting/src/events/codeEvent/ZtoolsCodeEvent.ts | 91 | export function addZtoolsCodeEventListener( | CODE |
| LOW | …lugins/setting/src/events/codeEvent/ZtoolsCodeEvent.ts | 106 | export function initZtoolsBaseEventHandler(options: InitBaseEventHandlerOptions = {}): void { | CODE |
| LOW | …g/src/views/PluginMarketSetting/PluginMarketSetting.ts | 25 | export function jumpFunctionPluginMarketSetting(config: PluginMarketSettingJumpFunction): void { | CODE |
| LOW | …-plugins/setting/src/views/SyncSetting/SyncSetting.vue | 188 | async function handleDeploymentModeChange(mode: DeploymentMode): Promise<void> { | CODE |
| LOW | …-plugins/setting/src/views/SyncSetting/SyncSetting.vue | 259 | async function handlePrivateConnectionTest(): Promise<void> { | CODE |
| LOW | …-plugins/setting/src/views/SyncSetting/SyncSetting.vue | 394 | async function refreshVisibleConflictPanel(): Promise<void> { | CODE |
| LOW | …/setting/src/views/PluginInstaller/PluginInstaller.vue | 67 | function handleSecurityDialogEscape(_event: KeyboardEvent): boolean { | CODE |
| LOW | …s/setting/src/views/PluginInstaller/PluginInstaller.ts | 14 | export function jumpFunctionPluginInstaller(config: PluginInstallerJumpFunction): void { | CODE |
| LOW | …lugins/setting/src/views/AboutSetting/AboutSetting.vue | 98 | async function handleAutoCheckUpdateChange(): Promise<void> { | CODE |
| LOW | …lugins/setting/src/views/AboutSetting/AboutSetting.vue | 134 | function handleUpdateOptionsKeydown(event: KeyboardEvent): void { | CODE |
| LOW | …lugins/setting/src/views/AboutSetting/AboutSetting.vue | 144 | async function handleReceiveBetaUpdatesChange(): Promise<void> { | CODE |
| LOW | …etting/src/views/ShortcutsSetting/ShortcutsSetting.vue | 270 | function handleAliasDialogAfterEnter(): void { | CODE |
| LOW | …etting/src/views/ShortcutsSetting/ShortcutsSetting.vue | 368 | async function loadBuiltInShortcutSettings(): Promise<void> { | CODE |
| LOW | …etting/src/views/ShortcutsSetting/ShortcutsSetting.vue | 568 | async function handleToggleBuiltInShortcut( | CODE |
| LOW | …etting/src/views/ShortcutsSetting/ShortcutsSetting.vue | 589 | function handleBuiltInToggleChange(key: BuiltInShortcutKey, event: Event): void { | CODE |
| LOW | …setting/src/views/ShortcutsSetting/ShortcutsSetting.ts | 11 | export function normalizeShortcutTargetValue(value: string): string { | CODE |
| LOW | …setting/src/views/ShortcutsSetting/ShortcutsSetting.ts | 43 | export function buildShortcutTargetCandidates(target: { | CODE |
| LOW | …setting/src/views/ShortcutsSetting/ShortcutsSetting.ts | 134 | export function jumpFunctionShortcutsSetting(config: ShortcutsSettingJumpFunction): void { | CODE |
| LOW | …ins/setting/src/views/PluginsSetting/PluginsSetting.ts | 17 | export function jumpFunctionPluginsSetting(config: PluginsSettingJumpFunction): void { | CODE |
| LOW | …ns/setting/src/views/PluginsSetting/PluginsSetting.vue | 264 | function handleUpgradeDownloadProgress( | CODE |
| LOW | …ns/setting/src/views/PluginsSetting/PluginsSetting.vue | 452 | async function handleUninstallFromDetail( | CODE |
| LOW | …ns/setting/src/views/PluginsSetting/PluginsSetting.vue | 601 | async function handleTogglePluginDisabled(plugin: any, disabled: boolean): Promise<void> { | CODE |
| LOW | …-plugins/setting/src/views/DataSetting/DataSetting.vue | 269 | async function handleAccountStorageChanged(): Promise<void> { | CODE |
| LOW | …ng/src/views/NotificationCenter/NotificationCenter.vue | 92 | async function executeNotificationAction(item: NotificationItem): Promise<void> { | CODE |
| LOW | …ing/src/views/LocalLaunchSetting/LocalLaunchSetting.ts | 11 | export function jumpLocalLaunchSettingJumpFunction(config: LocalLaunchSettingJumpFunction): void { | CODE |
| LOW | …/setting/src/views/AiModelsSetting/AiModelsSetting.vue | 285 | function officialModelSupportsModality(model: OfficialAiModel, modality: AiInputModality): boolean { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 281 | function temperatureCapabilityMode(modelId: string): TemperatureCapabilityMode { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 303 | function setTemperatureCapabilityMode(modelId: string, mode: TemperatureCapabilityMode): void { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 379 | function setReasoningCapabilityMode(modelId: string, mode: ReasoningCapabilityMode): void { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 405 | function supportedReasoningEfforts(modelId: string): AiReasoningEffort[] { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 429 | function setReasoningResponseField(modelId: string, responseField: AiReasoningResponseField): void { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 440 | function setDefaultReasoningEffort(modelId: string, effort: AiReasoningEffort): void { | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 454 | function toggleSupportedReasoningEffort( | CODE |
| LOW | …delsSetting/components/AiModelEditor/AiModelEditor.vue | 530 | function validateTemperatureConfigs(): string { | CODE |
| LOW | …ng/src/views/AllCommandsSetting/AllCommandsSetting.vue | 139 | function isDirectAppCommandDisabled(cmd: Command): boolean { | CODE |
| LOW | …ng/src/views/AllCommandsSetting/AllCommandsSetting.vue | 145 | async function toggleDirectAppCommandDisabled(cmd: Command): Promise<void> { | CODE |
| LOW | …ng/src/views/AllCommandsSetting/AllCommandsSetting.vue | 348 | function getFilteredSystemCommandsForSource(source: Source): Command[] { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 378 | function handleQuickActionsClickOutside(): void { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 411 | async function handleCompactMainWindowHeaderChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 427 | async function handleWindowDefaultHeightChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 455 | async function handleClipboardRetentionDaysChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 472 | async function resetClipboardRetentionDays(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 570 | async function handleAutoBackToSearchChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 589 | async function handleHideMainWindowOnPluginEscChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 608 | async function handleWindowPositionStrategyChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 630 | async function handleShowRecentInSearchChange(): Promise<void> { | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 642 | async function handleShowMatchRecommendationChange(): Promise<void> { | CODE |
| 146 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/main/core/zbrowser/zbrowserExecutor.ts | 174 | // ─────────────────── 操作方法 ─────────────────── | COMMENT |
| MEDIUM | src/main/core/zbrowser/zbrowserExecutor.ts | 952 | // ─────────────────── Cookie 操作 ─────────────────── | COMMENT |
| MEDIUM | src/main/core/zbrowser/zbrowserExecutor.ts | 1035 | // ─────────────────── 运行入口 ─────────────────── | COMMENT |
| MEDIUM | src/main/core/zbrowser/zbrowserExecutor.ts | 1129 | // ─────────────────── 私有方法 ─────────────────── | COMMENT |
| MEDIUM | src/main/api/renderer/pluginInstaller.ts | 61 | // ━━━ Types ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | src/main/api/renderer/pluginInstaller.ts | 88 | // ━━━ PluginInstallerAPI ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | src/main/api/renderer/pluginInstaller.ts | 665 | // ━━━ Private ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | src/main/api/renderer/pluginMarket.ts | 11 | // ━━━ Types ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | src/main/api/renderer/pluginMarket.ts | 190 | // ━━━ Constants ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | src/main/api/renderer/pluginMarket.ts | 201 | // ━━━ PluginMarketAPI ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/main/windowManagerMacActivation.test.ts | 293 | mainWindow.webContents.send.mock.calls.filter( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/sync-api-types.js | 72 | // Step 1: 克隆或更新 uTools 仓库 | COMMENT |
| LOW⚡ | scripts/sync-api-types.js | 89 | // Step 2: 创建目标目录 | COMMENT |
| LOW⚡ | scripts/sync-api-types.js | 94 | // Step 3: 复制并转换文件 | COMMENT |
| LOW | scripts/sync-api-types.js | 126 | // Step 4: 创建/更新 ZTools 特定文件 | COMMENT |
| LOW | scripts/sync-api-types.js | 255 | // Step 5: 完成 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/sync-api-types.js | 72 | // Step 1: 克隆或更新 uTools 仓库 | COMMENT |
| LOW⚡ | scripts/sync-api-types.js | 89 | // Step 2: 创建目标目录 | COMMENT |
| LOW⚡ | scripts/sync-api-types.js | 94 | // Step 3: 复制并转换文件 | COMMENT |
| LOW | scripts/sync-api-types.js | 126 | // Step 4: 创建/更新 ZTools 特定文件 | COMMENT |
| LOW | scripts/sync-api-types.js | 255 | // Step 5: 完成 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/main/storage3.test.ts | 134 | manager.switchAccount('user@example.com') | CODE |
| LOW | tests/main/storage3.test.ts | 137 | expect(fs.existsSync(path.join(layout.accountsRoot, hashAccountId('user@example.com')))).toBe( | CODE |
| LOW | …ns/setting/src/views/GeneralSetting/GeneralSetting.vue | 1835 | v-model="placeholder" | CODE |
| LOW | src/main/core/afdianPayment.ts | 110 | input.getAttribute('placeholder') || '' | CODE |
| LOW | src/main/core/afdianPayment.ts | 188 | /验证码|verification code/i.test(input.getAttribute('placeholder') || '') | CODE |
| LOW | src/main/core/afdianPayment.ts | 243 | /验证码|verification code/i.test(input.getAttribute('placeholder') || '') | CODE |
| LOW | src/main/core/afdianPayment.ts | 270 | input.getAttribute('placeholder') || '' | CODE |
| LOW | src/main/core/afdianPayment.ts | 319 | input.getAttribute('placeholder') || '' | CODE |
| LOW | src/main/core/afdianPayment.ts | 323 | /验证码|verification code/i.test(input.getAttribute('placeholder') || '') || visibleInputs.indexOf(input) === 1 | CODE |