web development, streamlined
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.
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? 12 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 25 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …pps/async/src/routes/remote/form/snapshot/+page.svelte | 23 | live = form.fields.a.b.c.value(); | CODE |
| CRITICAL | …pps/async/src/routes/remote/form/snapshot/+page.svelte | 26 | <input {...update.fields.a.b.c.as('text')} /> | CODE |
| CRITICAL | packages/kit/src/exports/vite/dev/index.js | 332 | vite_dev_server.config.server.fs.allow.some((dir) => file.startsWith(dir)); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | packages/kit/src/core/postbuild/prerender.js | 328 | print('\x1B[1A'); // move cursor to start of progress update | CODE |
| HIGH⚡ | packages/kit/src/core/postbuild/prerender.js | 329 | print('\x1B[2K'); // clear current line | CODE |
| HIGH⚡ | packages/kit/src/core/postbuild/prerender.js | 336 | print(`crawling ${path}\n`); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …mentation/docs/20-core-concepts/60-remote-functions.md | 702 | content: 'Lorem ipsum dolor sit amet...' | CODE |
| LOW⚡ | …mentation/docs/20-core-concepts/60-remote-functions.md | 702 | content: 'Lorem ipsum dolor sit amet...' | CODE |
| LOW⚡ | …mentation/docs/20-core-concepts/60-remote-functions.md | 707 | createPost.fields.content.set('Lorem ipsum dolor sit amet'); | CODE |
| LOW⚡ | …mentation/docs/20-core-concepts/60-remote-functions.md | 707 | createPost.fields.content.set('Lorem ipsum dolor sit amet'); | CODE |
| LOW | documentation/docs/20-core-concepts/10-routing.md | 93 | content: 'Welcome to our blog. Lorem ipsum dolor sit amet...' | CODE |
| LOW | documentation/docs/20-core-concepts/10-routing.md | 93 | content: 'Welcome to our blog. Lorem ipsum dolor sit amet...' | CODE |
| LOW | …src/core/sync/write_types/test/actions/+page.server.js | 20 | username: 'John Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/enhanced-img/src/index.js | 61 | /** | COMMENT |
| LOW | packages/kit/types/index.d.ts | 2221 | // in the Software without restriction, including without limitation the rights | COMMENT |
| LOW | …apps/options/source/pages/inline-style/+page.server.js | 1 | // test that the server-client stylesheet map is constructed correctly when | COMMENT |
| LOW | packages/kit/src/types/private.d.ts | 41 | // in the Software without restriction, including without limitation the rights | COMMENT |
| LOW | packages/kit/src/runtime/form-utils.spec.js | 821 | // index 5: (unused) | COMMENT |
| LOW | packages/kit/src/runtime/form-utils.spec.js | 861 | // Simulates the vulnerability: many files all pointing to the same data region. | COMMENT |
| LOW | packages/kit/src/runtime/server/page/csp.js | 101 | const effective_script_src = d['script-src'] || d['default-src']; | COMMENT |
| LOW | packages/kit/src/exports/vite/index.js | 441 | // Without this, the tests will still pass but `pnpm dev` will fail in projects that link `@sveltejs/kit`. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/kit/types/index.d.ts | 4089 | // These are all functions so that we can leverage function overloads to get the correct type. | COMMENT |
| MEDIUM | packages/kit/src/types/ambient.d.ts | 126 | // These are all functions so that we can leverage function overloads to get the correct type. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pnpm-workspace.yaml | 95 | # if you want to introduce an override, make sure to add it to all of them too | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/kit/test/apps/basics/test/playwright/client.test.js | 2749 | async function measureInteractionToPaint(selector) { | CODE |