AI Slop Code RIsk Monitor

LibreTranslate/LibreTranslate

Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.

11.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for LibreTranslate/LibreTranslate, a Python project with 17,029 GitHub stars. SynthScan examined 5,811 lines of code across 126 source files, recording 53 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 11.4 (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.

11.4
Adjusted Signal
11.4
Raw Pattern Score
100%
Time Factor
2026-09-28
Last Push
17.0K
Stars
Python
Language
5.8K
Lines of Code
126
Files
53
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 29 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.8/100 · LOW

Are imports declared and package/API names verified? 7 finding(s).

Agent Over-Engineering Ratio 29.7/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 29 finding(s).

PR Review Velocity Impact 45.7/100 · MEDIUM

Which changes need focused human review? 53 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 2MEDIUM 4LOW 47

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 53 distinct pattern matches across 9 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.

Excessive Try-Catch Wrapping15 hits · 19 pts
SeverityFileLineSnippetContext
LOWlibretranslate/suggestions.py16 except Exception as e:CODE
LOWlibretranslate/cache.py35 except Exception as e:CODE
LOWlibretranslate/cache.py47 except Exception as e:CODE
MEDIUMlibretranslate/cache.py40def cache(self, cache_key, content):CODE
LOWlibretranslate/language.py88 except Exception as e:CODE
LOWlibretranslate/locales.py26 except Exception as e:CODE
LOWlibretranslate/app.py65 except Exception:CODE
LOWlibretranslate/app.py877 except Exception as e:CODE
LOWlibretranslate/app.py1026 except Exception as e:CODE
MEDIUMlibretranslate/app.py55def get_version():CODE
LOWlibretranslate/api_keys.py20 except Exception as e:CODE
LOWlibretranslate/api_keys.py100 except Exception as e:CODE
LOWlibretranslate/init.py14 except Exception as e:CODE
MEDIUMlibretranslate/init.py8def boot(load_only=None, update_models=False, install_models=False):CODE
MEDIUMscripts/update_locales.py25 print("Error: English model not found. You need it to run this script.")CODE
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippetContext
LOWlibretranslate/secret.py25CODE
LOWlibretranslate/language.py70CODE
LOWlibretranslate/language.py128CODE
LOWlibretranslate/locales.py11CODE
LOWlibretranslate/locales.py77CODE
LOWlibretranslate/app.py124CODE
LOWlibretranslate/app.py186CODE
LOWlibretranslate/app.py333CODE
LOWlibretranslate/app.py577CODE
LOWlibretranslate/app.py335CODE
LOWlibretranslate/manage.py8CODE
LOWlibretranslate/init.py18CODE
LOWscripts/gunicorn_conf.py10CODE
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWlibretranslate/language.py50def get_language_with_fallback(lang_code, languages):CODE
LOWlibretranslate/language.py128def improve_translation_formatting(source, translation, improve_punctuation=True, remove_single_word_duplicates=True):CODE
LOWlibretranslate/locales.py39def get_available_locale_codes(only_reviewed=True):CODE
LOWlibretranslate/locales.py43def get_alternate_locale_links():CODE
LOWlibretranslate/tests/test_api/test_api_translate.py35def test_api_translate_unsupported_language(client):CODE
LOWlibretranslate/tests/test_api/test_api_translate.py50def test_api_translate_missing_parameter(client):CODE
LOW…translate/tests/test_api/test_api_frontend_settings.py1def test_api_get_frontend_settings(client):CODE
LOWlibretranslate/tests/test_api/test_api_health.py8def test_api_health_must_fail_bad_request_type(client):CODE
LOWlibretranslate/tests/test_api/test_api_get_languages.py13def test_api_get_languages_must_fail_bad_request_type(client):CODE
LOWlibretranslate/tests/test_api/test_api_spec.py7def test_api_get_spec_must_fail_bad_request_type(client):CODE
LOW…retranslate/tests/test_api/test_api_detect_language.py15def test_api_detect_language_must_fail_without_parameters(client):CODE
LOW…retranslate/tests/test_api/test_api_detect_language.py23def test_api_detect_language_must_fail_bad_request_type(client):CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHlibretranslate/app.py59except OSError:CODE
HIGHlibretranslate/app.py65except Exception:CODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWlibretranslate/__init__.py1CODE
LOWlibretranslate/__init__.py2CODE
LOWlibretranslate/__init__.py3CODE
LOWlibretranslate/app.py8CODE
LOWlibretranslate/main.py4CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocker-compose.cuda.yml21 reservations:COMMENT
LOWdocker-compose.yml21 # - LT_API_KEYS=trueCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlibretranslate/static/js/materialize.min.js6var _get=function t(e,i,n){null===e&&(e=Function.prototype);var s=Object.getOwnPropertyDescriptor(e,i);if(void 0===s){vaCODE
LOWlibretranslate/static/js/vue@2.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlibretranslate/language.py113 # otherwise just add it to the temporary listCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/entrypoint.sh51# Set ARGOS_CHUNK_TYPE to MINISBD if not already definedCOMMENT