AI Slop Code Risk Monitor

lingodotdev/lingo.dev

SlopCodeMonitor badge for lingodotdev/lingo.dev Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open-source localization engineering tools. Connects to Lingo.dev localization engineering platform for consistent, quality translations.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for lingodotdev/lingo.dev, a TypeScript project with 5,399 GitHub stars. SynthScan examined 121,285 lines of code across 774 source files, recording 148 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.0 (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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
5.4K
Stars
TypeScript
Language
121.3K
Lines of Code
774
Files
148
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 6.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

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

Agent Over-Engineering Ratio 2.9/100 · LOW

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

PR Review Velocity Impact 7.7/100 · LOW

Which changes need focused human review? 148 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 8MEDIUM 3LOW 137

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 148 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.

Hyper-Verbose Identifiers72 hits · 72 pts
SeverityFileLineSnippetContext
LOWscripts/docs/src/utils.ts83export async function createOrUpdateGitHubComment(CODE
LOWscripts/docs/src/generate-cli-docs.ts114function createBracketAwareTextNodes(text: string): PhrasingContent[] {CODE
LOWscripts/docs/src/json-schema/markdown-renderer.ts96export function makeAllowedKeysBulletNode(CODE
LOWscripts/docs/src/json-schema/markdown-renderer.ts171export function renderPropertiesToMarkdown(CODE
LOWpackages/new-compiler/tests/helpers/setup-fixture.ts420export async function findTranslationServerPort(): Promise<number | null> {CODE
LOW…es/new-compiler/src/translators/lingo/model-factory.ts176export function validateAndGetApiKeys(CODE
LOWpackages/new-compiler/src/plugin/cleanup.ts1export function registerCleanupOnCurrentProcess({CODE
LOWpackages/new-compiler/src/plugin/build-translator.ts322function formatCacheValidationError(CODE
LOW…ages/new-compiler/src/plugin/transform/process-file.ts102function shouldSkipTranslationForElement(CODE
LOWpackages/new-compiler/src/plugin/transform/utils.ts266export function constructServerTranslationHookCall({CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts67function isTranslatableMetadataField(fieldPath: string): boolean {CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts83function isNextGenerateMetadataFunction(path: NodePath<t.FunctionDeclaration>) {CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts93function getNextMetadataObjectOrNull(CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts203function transformMetadataFunction(CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts252export function processNextStaticMetadata(CODE
LOWpackages/new-compiler/src/plugin/transform/metadata.ts294export function processNextDynamicMetadata(CODE
LOW…es/new-compiler/src/plugin/transform/parse-override.ts203export function processOverrideAttributes(CODE
LOWpackages/new-compiler/src/utils/tracking-events.ts13export function sanitizeConfigForTracking(config: LingoConfig) {CODE
LOWpackages/new-compiler/src/virtual/code-generator.ts30export function generateServerLocaleModule(config: LingoConfig): string {CODE
LOWpackages/new-compiler/src/virtual/code-generator.ts41export function generateClientLocaleModule(config: LingoConfig): string {CODE
LOW…-compiler/src/translation-server/translation-server.ts840export async function startOrGetTranslationServer(CODE
LOW…/new-compiler/src/react/next/cookie-locale-resolver.ts39export function createNextCookieLocaleResolver(CODE
LOW…ges/new-compiler/src/react/server-only/translations.ts104export async function fetchTranslationsOnServer(CODE
LOWpackages/cli/src/cli/cmd/run/execute.ts127function createWorkerStatusMessage(args: {CODE
LOWpackages/cli/src/cli/cmd/run/execute.ts142function createExecutionProgressMessage(ctx: CmdRunContext) {CODE
LOWpackages/cli/src/cli/utils/errors.ts160export function createPreviousErrorContext(errorDetails: ErrorDetail[]) {CODE
LOWpackages/cli/src/cli/utils/cloudflare-status.ts23export function formatCloudflareStatusMessage(CODE
LOWpackages/cli/src/cli/utils/buckets.ts395function buildLocalePlaceholderSegment(CODE
LOWpackages/cli/src/cli/utils/find-locale-paths.ts35function findLocaleFilesWithExtension(ext: string) {CODE
LOWpackages/cli/src/cli/utils/find-locale-paths.ts91function findLocaleFilesForFilename(fileName: string) {CODE
LOWpackages/cli/src/cli/utils/exit-gracefully.ts20function checkForPendingOperations(): boolean {CODE
LOWpackages/cli/src/cli/localizer/lingodotdev.ts8export default function createLingoDotDevLocalizer(CODE
LOWpackages/cli/src/cli/loaders/xcode-stringsdict.ts14export default function createXcodeStringsdictLoader(): ILoader<CODE
LOWpackages/cli/src/cli/loaders/locked-patterns.ts64export default function createLockedPatternsLoader(CODE
LOWpackages/cli/src/cli/loaders/index.spec.ts4523function mockFileOperationsForPaths(input: Record<string, string>) {CODE
LOWpackages/cli/src/cli/loaders/ensure-key-order.ts5export default function createEnsureKeyOrderLoader(): ILoader<CODE
LOWpackages/cli/src/cli/loaders/json-dictionary.ts7export default function createJsonDictionaryLoader(): ILoader<CODE
LOWpackages/cli/src/cli/loaders/android.ts847function createResourceNodeFromValue(CODE
LOWpackages/cli/src/cli/loaders/android.ts1048function cloneResourceNodeFromLookup(CODE
LOWpackages/cli/src/cli/loaders/android.ts1427function appendSegmentToNearestResource(CODE
LOWpackages/cli/src/cli/loaders/preserved-keys.ts6export default function createPreservedKeysLoader(CODE
LOWpackages/cli/src/cli/loaders/xcode-xcstrings-v2.ts22function getRequiredPluralCategories(locale: string): string[] {CODE
LOWpackages/cli/src/cli/loaders/unlocalizable.ts9export default function createUnlocalizableLoader(CODE
LOWpackages/cli/src/cli/loaders/plutil-json-loader.ts5export default function createPlutilJsonTextLoader(): ILoader<string, string> {CODE
LOWpackages/cli/src/cli/loaders/xcode-xcstrings.ts5export default function createXcodeXcstringsLoader(CODE
LOWpackages/cli/src/cli/loaders/ejs.ts122function reconstructEjsWithTranslation(CODE
LOWpackages/cli/src/cli/loaders/mdx.ts75export function createDoubleSerializationLoader(): ILoader<string, string> {CODE
LOWpackages/cli/src/cli/loaders/variable/index.ts101function getFormatSpecifierPattern(type: VariableLoaderParams["type"]): RegExp {CODE
LOWpackages/cli/src/cli/loaders/typescript/index.ts64function extractStringsFromDefaultExport(ast: t.File): Record<string, any> {CODE
LOWpackages/cli/src/cli/loaders/typescript/index.ts193function updateStringsInDefaultExport(CODE
LOWpackages/cli/src/cli/loaders/typescript/index.ts220function updateStringsInObjectExpression(CODE
LOWpackages/cli/src/cli/loaders/typescript/index.ts276function updateStringsInArrayExpression(CODE
LOWpackages/cli/src/cli/loaders/typescript/index.ts320function updateStringsInExportedIdentifier(CODE
LOWpackages/cli/src/cli/loaders/formatters/_base.ts11export function createBaseFormatterLoader(CODE
LOWpackages/cli/src/cli/loaders/mdx2/frontmatter-split.ts6export default function createMdxFrontmatterSplitLoader(): ILoader<string, RawMdx> {CODE
LOW…kages/cli/src/cli/loaders/mdx2/localizable-document.ts5export default function createLocalizableMdxDocumentLoader(): ILoader<CODE
LOWpackages/cli/src/cli/loaders/mdx2/section-split.ts87export default function createMdxSectionSplitLoader(): ILoader<CODE
LOWpackages/cli/src/cli/loaders/mdx2/section-split.ts450function createSectionsFromBoundaries(CODE
LOWpackages/cli/src/cli/loaders/mdx2/code-placeholder.ts35function ensureSurroundingImageNewlines(_content: string) {CODE
LOWpackages/cli/src/cli/loaders/mdx2/code-placeholder.ts66function ensureTrailingFenceNewline(_content: string) {CODE
12 more matches not shown…
Magic Placeholder Names8 hits · 55 pts
SeverityFileLineSnippetContext
HIGH⚡packages/compiler/src/index.ts458 } <your-api-key>CODE
HIGH⚡packages/compiler/src/index.ts461 }=<your-api-key> to .env file in every project that uses Lingo.dev Localization CompilerCODE
HIGH⚡packages/compiler/src/index.ts464 }=<your-api-key> in your terminal before running the compiler to set the API key for the current sessionCODE
HIGHpackages/compiler/src/lib/lcp/api/index.ts460 • Session-wide: export ${details.apiKeyEnvVar}=<your-api-key>CODE
HIGHpackages/compiler/src/lib/lcp/api/index.ts461 • Project-wide / CI: add ${details.apiKeyEnvVar}=<your-api-key> to your pipeline environment variablesCODE
HIGH⚡packages/compiler/src/lib/lcp/api/index.ts503 1. User-wide: Run npx lingo.dev@latest config set ${details.apiKeyConfigKey} <your-api-key>CODE
HIGH⚡packages/compiler/src/lib/lcp/api/index.ts504 2. Project-wide: Add ${details.apiKeyEnvVar}=<your-api-key> to .env file in every project that uses Lingo.dev LoCODE
HIGH⚡packages/compiler/src/lib/lcp/api/index.ts505 3 Session-wide: Run export ${details.apiKeyEnvVar}=<your-api-key> in your terminal before running the compiler tCODE
Structural Annotation Overuse20 hits · 41 pts
SeverityFileLineSnippetContext
LOW⚡.claude/commands/create-bucket-docs.md24### Step 1: Install Lingo.dev CLICOMMENT
LOW⚡.claude/commands/create-bucket-docs.md34### Step 2: AuthenticateCOMMENT
LOW⚡.claude/commands/create-bucket-docs.md44### Step 3: Initialize ProjectCOMMENT
LOW⚡.claude/commands/create-bucket-docs.md54### Step 4: Configure [BUCKET_TYPE] BucketCOMMENT
LOW.claude/commands/create-bucket-docs.md77### Step 5: Create File StructureCOMMENT
LOW.claude/commands/create-bucket-docs.md101### Step 6: Run TranslationCOMMENT
LOW.claude/commands/create-bucket-docs.md119### Step 7: Verify ResultsCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts160 // Step 1: Determine which hashes we need to work withCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts167 // Step 2: Check cache first (same for all locales, including source)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts170 // Step 3: Determine what needs translation/pluralizationCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts197 // Step 4: Filter metadata to only uncached entriesCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts204 // Step 5: Process pluralization for filtered entriesCOMMENT
LOW…es/new-compiler/src/translators/translation-service.ts216 // Step 6: Separate overridden entries from entries that need translationCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts239 // Step 7: Prepare entries for translation (excluding overridden ones)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts245 // Step 8: Translate or return source textCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts302 // Step 5: Update cache with successful translations (skip for pseudo)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts312 // Step 6: Merge and returnCOMMENT
LOW…/new-compiler/src/translators/pluralization/service.ts271 // Step 1: Detect plural candidates using pattern matchingCOMMENT
LOW⚡…/new-compiler/src/translators/pluralization/service.ts294 // Step 2: Generate ICU formats with batchingCOMMENT
LOW⚡…/new-compiler/src/translators/pluralization/service.ts298 // Step 3: Validate and update metadata entriesCOMMENT
Fake / Example Data27 hits · 29 pts
SeverityFileLineSnippetContext
LOWintegrations/directus/docker-compose.yml14 ADMIN_EMAIL: "admin@example.com"CODE
LOW…es/new-compiler/src/plugin/transform/transform.test.ts1579 expect(entry.context.attributeName).toBe("placeholder");CODE
LOW…es/new-compiler/src/plugin/transform/transform.test.ts1679 expect(attributeNames).toContain("placeholder");CODE
LOW…es/new-compiler/src/plugin/transform/transform.test.ts1804 expect(entry.context.attributeName).toBe("placeholder");CODE
LOW…ages/new-compiler/src/plugin/transform/process-file.ts91 "placeholder",CODE
LOWpackages/cli/demo/json/es/example.json11 "name": "John Doe"CODE
LOWpackages/cli/demo/json/en/example.json11 "name": "John Doe"CODE
LOWpackages/cli/demo/yaml/es/example.yml5 display_name: "John Doe"CODE
LOWpackages/cli/demo/yaml/en/example.yml5 display_name: "John Doe"CODE
LOWpackages/cli/src/cli/utils/element-extraction.ts138 input: ["placeholder", "title"],CODE
LOWpackages/cli/src/cli/utils/element-extraction.ts139 textarea: ["placeholder", "title"],CODE
LOWpackages/cli/src/cli/loaders/markdoc.spec.ts504 expect(output["fm-attr-author"]).toBe("John Doe");CODE
LOWpackages/cli/src/cli/loaders/twig.ts19 input: ["placeholder", "title", "aria-label"],CODE
LOWpackages/cli/src/cli/loaders/twig.ts20 textarea: ["placeholder", "title", "aria-label"],CODE
LOWpackages/cli/src/cli/loaders/po/index.spec.ts163"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWpackages/cli/src/cli/loaders/po/index.spec.ts163"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡packages/cli/src/cli/loaders/po/index.spec.ts178"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡packages/cli/src/cli/loaders/po/index.spec.ts178"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡packages/cli/src/cli/loaders/po/index.spec.ts185msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOW⚡packages/cli/src/cli/loaders/po/index.spec.ts185msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOWpackages/sdk/src/index.spec.ts358 json: async () => ({ id: "usr_abc", email: "user@example.com" }),CODE
LOWpackages/sdk/src/index.spec.ts371 expect(result).toEqual({ id: "usr_abc", email: "user@example.com" });CODE
LOWpackages/sdk/src/index.ts704 input: ["placeholder"],CODE
LOWpackages/react/src/core/component.spec.tsx119 const formatName = () => "John Doe";CODE
LOWpackages/compiler/src/jsx-attribute.spec.ts16 Lorem ipsum <a href="https://example.com" title="Dolor link">dolor</a> sit amet.CODE
LOWpackages/compiler/src/jsx-attribute.spec.ts21 Lorem ipsumCODE
LOWpackages/compiler/src/utils/jsx-attribute-scope.ts37 "placeholder",CODE
Verbosity Indicators13 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡…es/new-compiler/src/translators/translation-service.ts160 // Step 1: Determine which hashes we need to work withCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts167 // Step 2: Check cache first (same for all locales, including source)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts170 // Step 3: Determine what needs translation/pluralizationCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts197 // Step 4: Filter metadata to only uncached entriesCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts204 // Step 5: Process pluralization for filtered entriesCOMMENT
LOW…es/new-compiler/src/translators/translation-service.ts216 // Step 6: Separate overridden entries from entries that need translationCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts239 // Step 7: Prepare entries for translation (excluding overridden ones)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts245 // Step 8: Translate or return source textCOMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts302 // Step 5: Update cache with successful translations (skip for pseudo)COMMENT
LOW⚡…es/new-compiler/src/translators/translation-service.ts312 // Step 6: Merge and returnCOMMENT
LOW…/new-compiler/src/translators/pluralization/service.ts271 // Step 1: Detect plural candidates using pattern matchingCOMMENT
LOW⚡…/new-compiler/src/translators/pluralization/service.ts294 // Step 2: Generate ICU formats with batchingCOMMENT
LOW⚡…/new-compiler/src/translators/pluralization/service.ts298 // Step 3: Validate and update metadata entriesCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cli/src/cli/cmd/i18n.ts528 // Use robust error type detectionCOMMENT
MEDIUMpackages/cli/src/cli/utils/errors.ts101// Type guard functions for robust error detectionCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ckages/new-compiler/src/plugin/transform/utils.test.ts161 // return Inner;COMMENT
LOWpackages/cli/src/cli/utils/exec.spec.ts1import { describe, it, expect, vi } from "vitest";COMMENT
LOWpackages/cli/src/cli/loaders/mdx2/code-placeholder.ts1import { ILoader } from "../_types";COMMENT
LOWpackages/compiler/src/jsx-attribute-scope-inject.ts61 t.stringLiteral(key),COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cli/src/cli/loaders/po/index.spec.ts83 # This file is distributed under the same license as the PACKAGE package.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdemo/new-compiler-vite-react-spa/analyze-bundle.sh13# Check if build existsCOMMENT