GitHub 汉化插件,GitHub 中文化界面。 (GitHub Translation To Chinese)
This report summarizes scanner evidence for maboloshi/github-chinese, a JavaScript project with 35,030 GitHub stars. SynthScan examined 12,645 lines of code across 29 source files, recording 121 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 11.7 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 96 finding(s).
Are imports declared and package/API names verified? 12 finding(s).
Are wrappers, guards, and repeated structures necessary? 104 finding(s).
Which changes need focused human review? 121 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 121 distinct pattern matches across 7 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⚡ | main(greasyfork).user.js | 120 | function isReactGlobalNavSearchActive() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 126 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW⚡ | main(greasyfork).user.js | 133 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 170 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 174 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 178 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 183 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 190 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 200 | function translateReactGlobalNavAttributes(element) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 210 | function translateReactGlobalNavTextNode(node) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 217 | function translateReactGlobalNavSurface(surface) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 294 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main(greasyfork).user.js | 299 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main(greasyfork).user.js | 305 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main(greasyfork).user.js | 33 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main(greasyfork).user.js | 84 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main(greasyfork).user.js | 246 | function translateReactGlobalNavHeader() { | CODE |
| LOW | main(greasyfork).user.js | 261 | function isReactGlobalNavSearchPortal(surface) { | CODE |
| LOW | main(greasyfork).user.js | 266 | function translateReactGlobalNavPortals() { | CODE |
| LOW | main(greasyfork).user.js | 283 | function translateReactGlobalNavLabels(options = { requireSettledHeader: true }) { | CODE |
| LOW | main(greasyfork).user.js | 339 | function startReactGlobalNavTranslation() { | CODE |
| LOW | main(greasyfork).user.js | 364 | function getIgnoreMutationSelectors() { | CODE |
| LOW⚡ | main.user.js | 612 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main.user.js | 617 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main.user.js | 621 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main.user.js | 630 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main.user.js | 640 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main.user.js | 847 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main.user.js | 855 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main.user.js | 865 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main.user.js | 436 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main.user.js | 487 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main.user.js | 542 | function isReactGlobalNavSearchActive() { | CODE |
| LOW | main.user.js | 552 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW | main.user.js | 563 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW | main.user.js | 652 | function translateReactGlobalNavAttributes(element) { | CODE |
| LOW | main.user.js | 665 | function translateReactGlobalNavTextNode(node) { | CODE |
| LOW | main.user.js | 677 | function translateReactGlobalNavSurface(surface) { | CODE |
| LOW | main.user.js | 711 | function translateReactGlobalNavHeader() { | CODE |
| LOW | main.user.js | 730 | function isReactGlobalNavSearchPortal(surface) { | CODE |
| LOW | main.user.js | 739 | function translateReactGlobalNavPortals() { | CODE |
| LOW | main.user.js | 759 | function translateReactGlobalNavSearchButton() { | CODE |
| LOW | main.user.js | 767 | function collectSearchPlaceholderNodes(node) { | CODE |
| LOW | main.user.js | 808 | function translateReactGlobalNavSearchDialog() { | CODE |
| LOW | main.user.js | 830 | function translateReactGlobalNavLabels(options = { requireSettledHeader: true }) { | CODE |
| LOW | main.user.js | 903 | function startReactGlobalNavTranslation() { | CODE |
| LOW⚡ | main(nju.edu).user.js | 612 | function resolveReactGlobalNavLabel(source) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 617 | function normalizeReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 621 | function translateReactGlobalNavText(text) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 630 | function translateReactGlobalNavElement(element, source) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 640 | function shouldSkipReactGlobalNavNode(node) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 847 | function scheduleReactGlobalNavTranslation(delay = 800, options = {}) { | CODE |
| LOW⚡ | main(nju.edu).user.js | 855 | function scheduleReactGlobalNavSeries() { | CODE |
| LOW⚡ | main(nju.edu).user.js | 865 | function recordReactGlobalNavMutation(surface) { | CODE |
| LOW | main(nju.edu).user.js | 436 | function isReactGlobalNavPortalNode(node) { | CODE |
| LOW | main(nju.edu).user.js | 487 | function setupReactGlobalNavTranslation() { | CODE |
| LOW | main(nju.edu).user.js | 542 | function isReactGlobalNavSearchActive() { | CODE |
| LOW | main(nju.edu).user.js | 552 | function isReactGlobalNavSurfaceIdle(surfaceType = 'header') { | CODE |
| LOW | main(nju.edu).user.js | 563 | function canTranslateReactGlobalNavHeader() { | CODE |
| LOW | main(nju.edu).user.js | 652 | function translateReactGlobalNavAttributes(element) { | CODE |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README_zh-TW.md | 353 | <a href="https://github.com/heicks" title="create new ██████╗ ██╔══██╗ ██████╔╝ ██╔══██╗ ██████╔╝ ╚═════╝ ██╗ ██╗ | CODE |
| MEDIUM | README_zh-TW.md | 354 | <img src="https://avatars.githubusercontent.com/u/12287943?v=4" width="42;" alt="create new ██████╗ ██╔══██╗ ██████╔╝ | CODE |
| MEDIUM | README.md | 369 | <a href="https://github.com/heicks" title="create new ██████╗ ██╔══██╗ ██████╔╝ ██╔══██╗ ██████╔╝ ╚═════╝ ██╗ ██╗ | CODE |
| MEDIUM | vscode-extension/src/extension.ts | 85 | // ─── browser API 检测 ──────────────────────────────────────── | COMMENT |
| MEDIUM | vscode-extension/src/extension.ts | 94 | // ─── 注入源码构建 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | vscode-extension/src/extension.ts | 161 | // ─── CDP 注入 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | vscode-extension/src/extension.ts | 257 | // ─── 状态栏 / 命令 ─────────────────────────────────────────── | COMMENT |
| MEDIUM | vscode-extension/src/extension.ts | 267 | // ─── 激活 ──────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main(greasyfork).user.js | 111 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main(greasyfork).user.js | 448 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'], // 仅观察特定属性变化 | CODE |
| LOW | main(greasyfork).user.js | 487 | transElement(node, 'placeholder'); | CODE |
| LOW | main.user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main.user.js | 524 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main.user.js | 1099 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| LOW | main(nju.edu).user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main(nju.edu).user.js | 524 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main(nju.edu).user.js | 1099 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| LOW⚡ | main_zh-TW.user.js | 505 | const translatableAttributeNames = ['title', 'aria-label', 'data-visible-text', 'placeholder']; | CODE |
| LOW | main_zh-TW.user.js | 50 | attributeFilter: ['value', 'placeholder', 'aria-label', 'data-confirm'] | CODE |
| LOW | main_zh-TW.user.js | 927 | transElementAttrs(node, 'placeholder'); // 占位符 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | script/ai_review.py | 77 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/ai_review.py | 35 | except Exception as e: # noqa: BLE001 - 网络层异常统一重试 | CODE |
| LOW | script/ai_review.py | 57 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | script/ai_review.py | 65 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | script/ai_review.py | 77 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main(greasyfork).user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main.user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main(nju.edu).user.js | 1 | // ==UserScript== | COMMENT |
| LOW | main_zh-TW.user.js | 1 | // ==UserScript== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/rd.py | 3 | CODE |