AI Slop Code Risk Monitor

sveltejs/kit

SlopCodeMonitor badge for sveltejs/kit Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

web development, streamlined

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for sveltejs/kit, a JavaScript project with 20,887 GitHub stars. SynthScan examined 156,966 lines of code across 2855 source files, recording 25 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
20.9K
Stars
JavaScript
Language
157.0K
Lines of Code
2.9K
Files
25
Pattern Hits
2026-10-31
Scan Date
0.00
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 0.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 2.2/100 · LOW

Which changes need focused human review? 25 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 3HIGH 3MEDIUM 2LOW 17

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

Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…pps/async/src/routes/remote/form/snapshot/+page.svelte23 live = form.fields.a.b.c.value();CODE
CRITICAL…pps/async/src/routes/remote/form/snapshot/+page.svelte26 <input {...update.fields.a.b.c.as('text')} />CODE
CRITICALpackages/kit/src/exports/vite/dev/index.js332 vite_dev_server.config.server.fs.allow.some((dir) => file.startsWith(dir));CODE
Cross-Language Confusion (JS/TS)3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH⚡packages/kit/src/core/postbuild/prerender.js328 print('\x1B[1A'); // move cursor to start of progress updateCODE
HIGH⚡packages/kit/src/core/postbuild/prerender.js329 print('\x1B[2K'); // clear current lineCODE
HIGH⚡packages/kit/src/core/postbuild/prerender.js336 print(`crawling ${path}\n`);CODE
Fake / Example Data7 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡…mentation/docs/20-core-concepts/60-remote-functions.md702 content: 'Lorem ipsum dolor sit amet...'CODE
LOW⚡…mentation/docs/20-core-concepts/60-remote-functions.md702 content: 'Lorem ipsum dolor sit amet...'CODE
LOW⚡…mentation/docs/20-core-concepts/60-remote-functions.md707 createPost.fields.content.set('Lorem ipsum dolor sit amet');CODE
LOW⚡…mentation/docs/20-core-concepts/60-remote-functions.md707 createPost.fields.content.set('Lorem ipsum dolor sit amet');CODE
LOWdocumentation/docs/20-core-concepts/10-routing.md93 content: 'Welcome to our blog. Lorem ipsum dolor sit amet...'CODE
LOWdocumentation/docs/20-core-concepts/10-routing.md93 content: 'Welcome to our blog. Lorem ipsum dolor sit amet...'CODE
LOW…src/core/sync/write_types/test/actions/+page.server.js20 username: 'John Doe',CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/enhanced-img/src/index.js61/**COMMENT
LOWpackages/kit/types/index.d.ts2221 // in the Software without restriction, including without limitation the rightsCOMMENT
LOW…apps/options/source/pages/inline-style/+page.server.js1// test that the server-client stylesheet map is constructed correctly whenCOMMENT
LOWpackages/kit/src/types/private.d.ts41// in the Software without restriction, including without limitation the rightsCOMMENT
LOWpackages/kit/src/runtime/form-utils.spec.js821 // index 5: (unused)COMMENT
LOWpackages/kit/src/runtime/form-utils.spec.js861 // Simulates the vulnerability: many files all pointing to the same data region.COMMENT
LOWpackages/kit/src/runtime/server/page/csp.js101 const effective_script_src = d['script-src'] || d['default-src'];COMMENT
LOWpackages/kit/src/exports/vite/index.js441 // Without this, the tests will still pass but `pnpm dev` will fail in projects that link `@sveltejs/kit`.COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackages/kit/types/index.d.ts4089 // These are all functions so that we can leverage function overloads to get the correct type.COMMENT
MEDIUMpackages/kit/src/types/ambient.d.ts126 // These are all functions so that we can leverage function overloads to get the correct type.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpnpm-workspace.yaml95 # if you want to introduce an override, make sure to add it to all of them tooCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…es/kit/test/apps/basics/test/playwright/client.test.js2749 async function measureInteractionToPaint(selector) {CODE