Make Zotero effective for us LaTeX holdouts
This report summarizes scanner evidence for retorquere/zotero-better-bibtex, a TypeScript project with 7,256 GitHub stars. SynthScan examined 90,200 lines of code across 320 source files, recording 133 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 2.2 (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? 36 finding(s).
Are imports declared and package/API names verified? 82 finding(s).
Are wrappers, guards, and repeated structures necessary? 22 finding(s).
Which changes need focused human review? 133 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 133 distinct pattern matches across 13 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 | test/features/environment.py | 1 | CODE | |
| LOW | test/features/steps/zotero.py | 2 | CODE | |
| LOW | test/features/steps/zotero.py | 3 | CODE | |
| LOW | test/features/steps/zotero.py | 6 | CODE | |
| LOW | test/features/steps/zotero.py | 11 | CODE | |
| LOW | test/features/steps/zotero.py | 14 | CODE | |
| LOW | test/features/steps/zotero.py | 15 | CODE | |
| LOW | test/features/steps/zotero.py | 15 | CODE | |
| LOW | test/features/steps/zotero.py | 25 | CODE | |
| LOW | test/features/steps/zotero.py | 26 | CODE | |
| LOW | test/features/steps/zotero.py | 28 | CODE | |
| LOW | test/features/steps/zotero.py | 77 | CODE | |
| LOW | test/features/steps/zotero.py | 79 | CODE | |
| LOW | test/features/steps/zotero.py | 80 | CODE | |
| LOW | test/features/steps/citations.py | 3 | CODE | |
| LOW | test/features/steps/citations.py | 3 | CODE | |
| LOW | test/features/steps/steps.py | 4 | CODE | |
| LOW | test/features/steps/steps.py | 6 | CODE | |
| LOW | test/features/steps/steps.py | 18 | CODE | |
| LOW | test/features/steps/steps.py | 19 | CODE | |
| LOW | test/features/steps/steps.py | 20 | CODE | |
| LOW | test/features/steps/steps.py | 22 | CODE | |
| LOW | test/features/steps/steps.py | 26 | CODE | |
| LOW | test/features/steps/library.py | 4 | CODE | |
| LOW | test/features/steps/library.py | 4 | CODE | |
| LOW | test/features/steps/library.py | 5 | CODE | |
| LOW | test/features/steps/utils.py | 10 | CODE | |
| LOW | test/features/steps/utils.py | 12 | CODE | |
| LOW | test/features/steps/utils.py | 14 | CODE | |
| LOW | test/features/steps/utils.py | 15 | CODE | |
| LOW | test/features/steps/utils.py | 16 | CODE | |
| LOW | test/features/steps/environment.py | 7 | CODE | |
| LOW | test/features/steps/environment.py | 8 | CODE | |
| LOW | test/features/steps/environment.py | 9 | CODE | |
| LOW | test/features/steps/environment.py | 11 | CODE | |
| LOW | test/features/steps/environment.py | 12 | CODE | |
| LOW | test/features/steps/environment.py | 17 | CODE | |
| LOW | test/features/steps/rdp.py | 3 | CODE | |
| LOW | util/merge.py | 4 | CODE | |
| LOW | util/mkpatch.py | 3 | CODE | |
| LOW | util/mkpatch.py | 8 | CODE | |
| LOW | util/mkpatch.py | 10 | CODE | |
| LOW | util/changelog.py | 8 | CODE | |
| LOW | util/mkpatch2.py | 3 | CODE | |
| LOW | util/mkpatch2.py | 5 | CODE | |
| LOW | util/mkpatch2.py | 6 | CODE | |
| LOW | util/mkpatch2.py | 8 | CODE | |
| LOW | util/mkpatch2.py | 9 | CODE | |
| LOW | util/mkpatch2.py | 9 | CODE | |
| LOW | util/mkpatch2.py | 10 | CODE | |
| LOW | util/balance.py | 4 | CODE | |
| LOW | util/balance.py | 7 | CODE | |
| LOW | util/balance.py | 9 | CODE | |
| LOW | util/balance.py | 11 | CODE | |
| LOW | util/scrub-profile.py | 6 | CODE | |
| LOW | util/scrub-profile.py | 8 | CODE | |
| LOW | util/publish-debug-bridge.py | 4 | CODE | |
| LOW | util/publish-debug-bridge.py | 5 | CODE | |
| LOW | util/merge-durations.py | 3 | CODE | |
| LOW | util/merge-durations.py | 5 | CODE | |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | translators/bibtex/unicode_translator.ts | 43 | packages: this.translation.collected.preferences.packages.trim().split(/\s*,\s*/), | CODE |
| CRITICAL | translators/bibtex/entry.ts | 925 | const bibtexStrings = this.translation.collected.preferences.exportBibTeXStrings.startsWith('match') | CODE |
| CRITICAL | translators/bibtex/entry.ts | 1066 | if (this.translation.BetterBibTeX && this.translation.collected.preferences.bibtexURL.endsWith('-ish')) { | CODE |
| CRITICAL | translators/csl/csl.ts | 41 | if (this.translation.collected.preferences.postscript.trim()) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/features/steps/zotero.py | 990 | except: | CODE |
| HIGH | test/features/steps/zotero.py | 544 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/features/steps/zotero.py | 553 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/features/steps/zotero.py | 610 | except requests.exceptions.RequestException: | CODE |
| HIGH | test/features/steps/utils.py | 112 | except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess): | CODE |
| HIGH | util/merge.py | 31 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | zotero-plugin.ini | 1 | [profile] | COMMENT |
| LOW | zotero-plugin.ini | 21 | # # extensions.zotero.prosec-linker.title.url.2 | COMMENT |
| LOW | translators/bibtex/entry.ts | 1701 | // 'basque' | COMMENT |
| LOW | translators/bibtex/entry.ts | 1721 | // 'french' | COMMENT |
| LOW | translators/bibtex/entry.ts | 1741 | // 'malayalam' | COMMENT |
| LOW | translators/bibtex/entry.ts | 1761 | // 'syriac' | COMMENT |
| LOW | test/features/steps/zotero.py | 381 | if self.ext in ['.csl.json', '.csl.yml', '.hayagriva.yml']: | COMMENT |
| LOW | util/json-rpc.sh | 1 | #!/bin/bash | COMMENT |
| LOW | util/cayw.sh | 1 | #!/bin/bash | COMMENT |
| LOW | typings/async-indexed-db.d.ts | 21 | // delete(key: IDBValidKey | IDBKeyRange): IDBRequest<void> | COMMENT |
| LOW | setup/babel_languages.py | 21 | return self[name] | COMMENT |
| LOW | setup/babel_languages.py | 41 | # | COMMENT |
| LOW | hooks/_gh_actions_expand.py | 1 | #!/usr/bin/env python3 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/features/steps/zotero.py | 96 | CODE | |
| LOW | test/features/steps/zotero.py | 294 | CODE | |
| LOW | test/features/steps/zotero.py | 568 | CODE | |
| LOW | test/features/steps/zotero.py | 718 | CODE | |
| LOW | test/features/steps/citations.py | 18 | CODE | |
| LOW | test/features/steps/citations.py | 38 | CODE | |
| LOW | test/features/steps/utils.py | 88 | CODE | |
| LOW | test/features/steps/utils.py | 117 | CODE | |
| LOW | test/features/steps/rdp.py | 56 | CODE | |
| LOW | util/rebalance-old.py | 52 | CODE | |
| LOW | setup/item.py | 73 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/features/steps/zotero.py | 624 | except Exception as e: | STRING |
| LOW | test/features/steps/steps.py | 584 | except Exception as e: | STRING |
| MEDIUM | test/features/steps/steps.py | 263 | def parse_json(text): | CODE |
| LOW | util/merge.py | 31 | except Exception: | CODE |
| LOW | util/merge.py | 36 | except Exception as err: | CODE |
| MEDIUM | util/merge.py | 28 | def parse_content(text): | CODE |
| LOW | util/migrate-prefs.py | 36 | except Exception as err: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/features/steps/utils.py | 67 | def expand_scenario_variables(context, filename, star=True): | CODE |
| LOW | test/features/steps/environment.py | 89 | def patch_scenario_with_softfail(scenario): | CODE |
| LOW | test/features/steps/environment.py | 98 | def scenario_run_with_softfail(scenario_run, *args, **kwargs): | CODE |
| LOW | content/better-bibtex.ts | 166 | function parseLibraryKeyFromCitekey(libraryKey) { | CODE |
| LOW | content/menu-helper.ts | 76 | export function selectedItemsHaveCitationKeyInExtra(): boolean { | CODE |
| LOW | content/menu-helper.ts | 83 | export async function applyCitationKeyFromExtra(move: boolean): Promise<void> { | CODE |
| LOW | content/cayw/pick.ts | 241 | function createDefaultDocumentData(documentId: string): string { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | content/text.ts | 442 | // Step 1: Converting to number assuming 0 in number system | COMMENT |
| LOW⚡ | content/text.ts | 449 | // Step 2: Getting rid of 0, as 0 is not part of number system | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | content/text.ts | 442 | // Step 1: Converting to number assuming 0 in number system | COMMENT |
| LOW⚡ | content/text.ts | 449 | // Step 2: Getting rid of 0, as 0 is not part of number system | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/features/steps/zotero.py | 162 | CODE | |
| MEDIUM | test/features/steps/zotero.py | 163 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/features/steps/steps.py | 404 | context.zotero.execute('await Zotero.BetterBibTeX.TestSupport.pinCiteKey(null, action)', action=change) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/features/steps/utils.py | 108 | # Check if process name contains the given name string. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | util/zver.py | 21 | step['attributes']['placeholder'] = versions | CODE |