AI Slop Code Risk Monitor

slidevjs/slidev

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

Presentation Slides for Developers

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for slidevjs/slidev, a TypeScript project with 49,306 GitHub stars. SynthScan examined 79,658 lines of code across 694 source files, recording 87 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
49.3K
Stars
TypeScript
Language
79.7K
Lines of Code
694
Files
87
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 7.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 2.0/100 · LOW

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

PR Review Velocity Impact 5.3/100 · LOW

Which changes need focused human review? 87 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 0MEDIUM 0LOW 87

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 87 distinct pattern matches across 4 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.

Structural Annotation Overuse45 hits · 80 pts
SeverityFileLineSnippetContext
LOW⚡plans/018-server-side-remote-auth.md113### Step 1: Confirm the design (STOP-gated)COMMENT
LOW⚡plans/018-server-side-remote-auth.md119### Step 2: Mint and expose a session tokenCOMMENT
LOW⚡plans/018-server-side-remote-auth.md126### Step 3: Enforce on the HTTP middlewareCOMMENT
LOW⚡plans/018-server-side-remote-auth.md132### Step 4: Enforce on the ws sinksCOMMENT
LOW⚡plans/018-server-side-remote-auth.md137### Step 5: Update the client callersCOMMENT
LOW⚡plans/018-server-side-remote-auth.md142### Step 6: Unit-test the verifierCOMMENT
LOWplans/017-ws-origin-validation.md82### Step 1: Add an origin allow-list helperCOMMENT
LOWplans/017-ws-origin-validation.md104### Step 2: Gate the Monaco write handlerCOMMENT
LOWplans/017-ws-origin-validation.md126### Step 3: Gate server-ref persistence if applicableCOMMENT
LOWplans/017-ws-origin-validation.md136### Step 4: Unit test the helperCOMMENT
LOWplans/013-build-temp-server-port.md95### Step 1: Import `getPort`COMMENT
LOWplans/013-build-temp-server-port.md102### Step 2: og-image block — free port + try/finallyCOMMENT
LOWplans/013-build-temp-server-port.md141### Step 4: Build / typecheck / lintCOMMENT
LOWplans/020-getslide-lookup-map.md72### Step 1: Extract a pure lookup builderCOMMENT
LOWplans/020-getslide-lookup-map.md89### Step 2: Memoize it and route `getSlide` through itCOMMENT
LOWplans/020-getslide-lookup-map.md108### Step 3: Unit-test the builderCOMMENT
LOWplans/019-getroots-cache-per-entry.md87### Step 1: Replace the single-slot cache with a per-entry Map + last-roots pointerCOMMENT
LOWplans/019-getroots-cache-per-entry.md124### Step 2: Run the resolver testsCOMMENT
LOWplans/005-agents-md.md76### Step 1: Write `AGENTS.md`COMMENT
LOWplans/021-consolidate-toc-tree.md98### Step 1: Decide the canonical nesting ruleCOMMENT
LOWplans/021-consolidate-toc-tree.md105### Step 2: Add a pure, node-agnostic `buildTocTree`COMMENT
LOW⚡plans/021-consolidate-toc-tree.md134### Step 3: Adapt the client to use itCOMMENT
LOW⚡plans/021-consolidate-toc-tree.md141### Step 4: Adapt export to use itCOMMENT
LOW⚡plans/021-consolidate-toc-tree.md148### Step 5: Test the builderCOMMENT
LOWplans/022-export-pipeline-tests.md78### Step 1: Make the pure helpers importableCOMMENT
LOWplans/022-export-pipeline-tests.md84### Step 2: Write characterization testsCOMMENT
LOWplans/009-parserangestring-bounds.md90### Step 1: Tighten the final filterCOMMENT
LOWplans/009-parserangestring-bounds.md102### Step 2: Add a colocated testCOMMENT
LOWplans/025-skills-docs-drift-guard.md73### Step 1: Add a machine-readable provenance markerCOMMENT
LOWplans/025-skills-docs-drift-guard.md83### Step 2: Write `scripts/check-skills-drift.mjs`COMMENT
LOWplans/025-skills-docs-drift-guard.md100### Step 3: Wire it into CICOMMENT
LOWplans/010-getslidepath-guard.md86### Step 1: Replace the assertion with a guarded fallbackCOMMENT
LOWplans/010-getslidepath-guard.md115### Step 2: TypecheckCOMMENT
LOWplans/023-decompose-god-functions.md86### Step 1: Introduce an explicit export contextCOMMENT
LOWplans/023-decompose-god-functions.md95### Step 2: Extract per-format exportersCOMMENT
LOW⚡plans/024-incremental-hmr-parse-cache.md85### Step 1: Measure the baseline (STOP-gated by data)COMMENT
LOW⚡plans/024-incremental-hmr-parse-cache.md93### Step 2: Add a content-keyed per-file parse cacheCOMMENT
LOW⚡plans/024-incremental-hmr-parse-cache.md102### Step 3: Make feature detection incrementalCOMMENT
LOW⚡plans/024-incremental-hmr-parse-cache.md108### Step 4: Verify correctness across editsCOMMENT
LOWplans/016-confine-export-output-path.md74### Step 1: Add a filename sanitizerCOMMENT
LOW⚡plans/016-confine-export-output-path.md87### Step 2: Apply to the deck-config fallback in `getExportOptions`COMMENT
LOW⚡plans/016-confine-export-output-path.md97### Step 3: Apply to `build.ts --download`COMMENT
LOW⚡plans/016-confine-export-output-path.md106### Step 4: Unit testCOMMENT
LOWplans/012-hmr-utils-refresh.md76### Step 1: Await the refreshCOMMENT
LOWplans/012-hmr-utils-refresh.md87### Step 2: Build / typecheck / lintCOMMENT
Hyper-Verbose Identifiers31 hits · 32 pts
SeverityFileLineSnippetContext
LOWtest/__snapshots__/tsnapi/@slidev/parser/fs.snapshot.js8export function injectPreparserExtensionLoader(_) {}CODE
LOW…t/__snapshots__/tsnapi/@slidev/parser/fs.snapshot.d.ts36export declare function injectPreparserExtensionLoader(_: PreparserExtensionLoader): void;CODE
LOWpackages/parser/src/fs.ts37export function injectPreparserExtensionLoader(fn: PreparserExtensionLoader) {CODE
LOWpackages/parser/src/core.ts114function normalizeMarkdownImageTarget(target: string) {CODE
LOWpackages/vscode/src/views/previewWebview.ts48 function updateOverviewInitialSlideNo() {CODE
LOWpackages/vscode/src/views/previewWebview.ts71 function cancelPendingOverviewScroll() {CODE
LOWpackages/vscode/src/views/annotations.ts100function updateCodeBlockLineNumbers(editor: ReturnType<typeof useActiveTextEditor>['value'], docText: string) {CODE
LOWpackages/slidev/node/resolver.ts42export function findInvocationNodeModulesPath(argv1: string | undefined): string | undefined {CODE
LOWpackages/slidev/node/resolver.ts92export function computeInvocationSearchPaths(ownNodeModules: string | undefined): string[] {CODE
LOWpackages/slidev/node/resolver.ts215export async function promptForOptionalInstallation(pkgName: string, purpose: string): Promise<void> {CODE
LOW⚡packages/slidev/node/utils.ts144function getImportGlobRelativePath(from: string, to: string) {CODE
LOW⚡packages/slidev/node/utils.ts154function resolveImportGlobProxyModule(proxyBase: string, content: string) {CODE
LOW⚡packages/slidev/node/utils.ts159export function createMakeAbsoluteImportGlob(baseRoot: string) {CODE
LOWpackages/slidev/node/utils.ts183function makeAbsoluteImportGlobExpression(CODE
LOWpackages/slidev/node/vite/patchMonacoSourceMap.ts12export function createPatchMonacoSourceMapPlugin(CODE
LOWpackages/slidev/node/vite/layoutWrapper.ts9export function createLayoutWrapperPlugin(CODE
LOWpackages/slidev/node/vite/pwa.ts75function createPWARegisterStubPlugin(): Plugin {CODE
LOWpackages/slidev/node/vite/importGuard.ts20export function createSlideImportGuardPlugin(): Plugin {CODE
LOWpackages/slidev/node/vite/contextInjection.ts10export function createContextInjectionPlugin(): Plugin {CODE
LOWpackages/slidev/node/vite/compilerFlagsVue.ts10export function createVueCompilerFlagsPlugin(CODE
LOWpackages/slidev/node/syntax/escape-code.ts5export default function MarkdownItEscapeInlineCode(md: MarkdownExit) {CODE
LOWpackages/slidev/node/syntax/shiki.ts47function transformerTwoslashConditional(): ShikiTransformer {CODE
LOWpackages/slidev/node/syntax/codeblock/magic-move.ts19function resolveMagicMoveSnippetImports(code: string, userRoot: string, slide: SlideInfo, watchFiles: Record<string, SetCODE
LOWpackages/client/composables/useTocTree.ts24function getTreeWithActiveStatuses(CODE
LOWpackages/client/state/storage.ts99export function increasePresenterFontSize() {CODE
LOWpackages/client/state/storage.ts103export function decreasePresenterFontSize() {CODE
LOWpackages/client/internals/DrawingControls.vue34function showStrokeWidthDropdownForPointer(event: PointerEvent) {CODE
LOWpackages/client/pages/presenter.vue129function updateNotesWidthFromPointer(clientX: number) {CODE
LOWpackages/client/pages/presenter.vue161function updateNotesRowSizeFromPointer(clientY: number) {CODE
LOWpackages/client/pages/presenter.vue192function updateBottomSectionHeight() {CODE
LOWpackages/client/builtin/katex-lines.ts4export function collectKatexEquationLines(el: Element): Element[][] {CODE
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocs/.vitepress/showcases.ts61 // datetime: '2021-06-12',COMMENT
LOWdocs/custom/index.md161# override the title level for the <TitleRenderer> and <Toc> componentsCOMMENT
LOWpackages/slidev/node/commands/pptx/normalize.ts741 //COMMENT
LOWpackages/slidev/node/commands/pptx/normalize.ts801 returnCOMMENT
LOWpackages/client/internals/TimerBar.vue1<script setup lang="ts">COMMENT
LOW.github/workflows/smoke.yml161COMMENT
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWdemo/starter/slides.md202 name: 'John Doe',CODE
LOWdemo/starter/slides.md217 name: 'John Doe',CODE
LOWdemo/starter/slides.md234 name: 'John Doe',CODE
LOWdemo/starter/slides.md251 name: 'John Doe',CODE
LOWpackages/client/internals/NoteEditable.vue137 :placeholder="placeholder"CODE