AI Slop Code Risk Monitor

Pagefind/pagefind

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

Static low-bandwidth search at scale

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Pagefind/pagefind, a Rust project with 5,542 GitHub stars. SynthScan examined 94,293 lines of code across 764 source files, recording 140 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.3 (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.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
5.5K
Stars
Rust
Language
94.3K
Lines of Code
764
Files
140
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.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

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

Agent Over-Engineering Ratio 6.3/100 · LOW

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

PR Review Velocity Impact 10.9/100 · LOW

Which changes need focused human review? 140 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 39LOW 101

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 140 distinct pattern matches across 8 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.

Decorative Section Separators39 hits · 117 pts
SeverityFileLineSnippetContext
MEDIUM…ind/integration_tests/base/stable-output.toolproof.yml23 # -----------------------------------------COMMENT
MEDIUM…ind/integration_tests/base/stable-output.toolproof.yml25 # -----------------------------------------COMMENT
MEDIUM⚡…ind/integration_tests/base/stable-output.toolproof.yml42 # -----------------------------------------COMMENT
MEDIUM⚡…ind/integration_tests/base/stable-output.toolproof.yml44 # -----------------------------------------COMMENT
MEDIUM⚡…ind/integration_tests/base/stable-output.toolproof.yml49 # -----------------------------------------COMMENT
MEDIUM⚡…ind/integration_tests/base/stable-output.toolproof.yml51 # -----------------------------------------COMMENT
MEDIUM.github/dependabot.yml6 # ── Cargo (Rust) ──────────────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml30 # ── npm: pagefind_web_js ──────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml55 # ── npm: Svelte UIs (default + modular) ──────────────────────────────COMMENT
MEDIUM.github/dependabot.yml86 # ── npm: component UI ────────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml110 # ── npm: playground ──────────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml134 # ── npm: Node wrapper ────────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml158 # ── npm: docs ────────────────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml179 # ── pip: Python wrapper ──────────────────────────────────────────────COMMENT
MEDIUM.github/dependabot.yml200 # ── GitHub Actions ───────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml38 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml40 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml62 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml64 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml350 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml352 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml426 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml428 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml485 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml487 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml524 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml526 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml590 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml592 # ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml617 # ── Setup ────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml640 # ── Changelog ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml679 # ── Tag ──────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml713 # ── Draft GitHub Release ─────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml735 # ── NPM ──────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml764 # ── NPM UI ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml784 # ── Crate ────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml870 # ── PyPI ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml892 # ── Deploy Docs ──────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml917 # ── Publish Release ──────────────────────────────────COMMENT
Fake / Example Data82 hits · 82 pts
SeverityFileLineSnippetContext
LOWpagefind_ui/component/components/pagefind-results.ts291 'script[type="text/pagefind-template"][data-template="placeholder"]',CODE
LOWpagefind_ui/component/components/pagefind-input.ts11 return ["placeholder", "debounce", "autofocus"];CODE
LOWpagefind_ui/component/components/pagefind-input.ts27 if (this.hasAttribute("placeholder")) {CODE
LOWpagefind_ui/component/components/pagefind-input.ts28 this.placeholder = this.getAttribute("placeholder") || "";CODE
LOWpagefind_ui/component/components/pagefind-input.ts53 this.placeholder || this.instance?.translate("placeholder") || "Search";CODE
LOWpagefind_ui/component/components/pagefind-input.ts79 this.inputEl.setAttribute("placeholder", placeholderText);CODE
LOW…find_ui/component/components/pagefind-modal-trigger.ts17 return ["placeholder", "shortcut", "hide-shortcut", "compact"];CODE
LOW…find_ui/component/components/pagefind-modal-trigger.ts52 if (this.hasAttribute("placeholder")) {CODE
LOW…find_ui/component/components/pagefind-modal-trigger.ts53 this._userPlaceholder = this.getAttribute("placeholder");CODE
LOWpagefind_ui/component/components/pagefind-searchbox.ts217 "placeholder",CODE
LOWpagefind_ui/component/components/pagefind-searchbox.ts276 this.instance?.translate("placeholder") ||CODE
LOWpagefind_ui/component/components/pagefind-searchbox.ts287 if (this.hasAttribute("placeholder")) {CODE
LOWpagefind_ui/component/components/pagefind-searchbox.ts288 this._userPlaceholder = this.getAttribute("placeholder");CODE
LOWpagefind_ui/component/components/pagefind-searchbox.ts339 'script[type="text/pagefind-template"][data-template="placeholder"]',CODE
LOWpagefind_ui/default/svelte/ui.svelte283 "placeholder",CODE
LOWpagefind_ui/default/svelte/ui.svelte288 "placeholder",CODE
LOWpagefind_ui/translations/zh.json6 "placeholder": "搜索",CODE
LOWpagefind_ui/translations/tr.json6 "placeholder": "Araştır",CODE
LOWpagefind_ui/translations/mk.json6 "placeholder": "Пребарај",CODE
LOWpagefind_ui/translations/hu.json6 "placeholder": "Keresés",CODE
LOWpagefind_ui/translations/bn.json6 "placeholder": "অনুসন্ধান করুন",CODE
LOWpagefind_ui/translations/nl.json6 "placeholder": "Zoeken",CODE
LOWpagefind_ui/translations/ja.json6 "placeholder": "検索",CODE
LOWpagefind_ui/translations/de.json6 "placeholder": "Suchen",CODE
LOWpagefind_ui/translations/ru.json6 "placeholder": "Поиск",CODE
LOWpagefind_ui/translations/pl.json6 "placeholder": "Szukaj",CODE
LOWpagefind_ui/translations/uk.json6 "placeholder": "Пошук",CODE
LOWpagefind_ui/translations/fi.json6 "placeholder": "Haku",CODE
LOWpagefind_ui/translations/ta.json6 "placeholder": "தேடுக",CODE
LOWpagefind_ui/translations/zh-cn.json6 "placeholder": "搜索",CODE
LOWpagefind_ui/translations/pt.json6 "placeholder": "Pesquisar",CODE
LOWpagefind_ui/translations/en.json6 "placeholder": "Search",CODE
LOWpagefind_ui/translations/my.json6 "placeholder": "ရှာရန်",CODE
LOWpagefind_ui/translations/it.json6 "placeholder": "Cerca",CODE
LOWpagefind_ui/translations/sr.json6 "placeholder": "Претрага",CODE
LOWpagefind_ui/translations/hr.json6 "placeholder": "Traži",CODE
LOWpagefind_ui/translations/fr.json6 "placeholder": "Rechercher",CODE
LOWpagefind_ui/translations/el.json6 "placeholder": "Αναζήτηση",CODE
LOWpagefind_ui/translations/bg.json6 "placeholder": "Търсене",CODE
LOWpagefind_ui/translations/ro.json6 "placeholder": "Căutare",CODE
LOWpagefind_ui/translations/hi.json6 "placeholder": "खोजें",CODE
LOWpagefind_ui/translations/ca.json6 "placeholder": "Cerca",CODE
LOWpagefind_ui/translations/ko.json6 "placeholder": "검색어",CODE
LOWpagefind_ui/translations/eu.json6 "placeholder": "Bilatu",CODE
LOWpagefind_ui/translations/gl.json6 "placeholder": "Buscar",CODE
LOWpagefind_ui/translations/he.json6 "placeholder": "חיפוש",CODE
LOWpagefind_ui/translations/zh-tw.json6 "placeholder": "搜尋",CODE
LOWpagefind_ui/translations/mi.json6 "placeholder": "Rapu",CODE
LOWpagefind_ui/translations/vi.json6 "placeholder": "Tìm kiếm",CODE
LOWpagefind_ui/translations/fa.json6 "placeholder": "جست‌و‌جو",CODE
LOWpagefind_ui/translations/cs.json6 "placeholder": "Hledat",CODE
LOWpagefind_ui/translations/id.json6 "placeholder": "Cari",CODE
LOWpagefind_ui/translations/no.json6 "placeholder": "Søk",CODE
LOWpagefind_ui/translations/af.json6 "placeholder": "Soek",CODE
LOWpagefind_ui/translations/sw.json6 "placeholder": "Tafuta",CODE
LOWpagefind_ui/translations/da.json6 "placeholder": "Søg",CODE
LOWpagefind_ui/translations/th.json6 "placeholder": "ค้นหา",CODE
LOWpagefind_ui/translations/sv.json6 "placeholder": "Sök",CODE
LOWpagefind_ui/translations/nn.json6 "placeholder": "Søk",CODE
LOWpagefind_ui/translations/es.json6 "placeholder": "Buscar",CODE
22 more matches not shown…
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWwrappers/python/src/pagefind/__init__.py1#!/usr/bin/env python3COMMENT
LOWpagefind_web/src/lib.rs61COMMENT
LOWpagefind_web/src/lib.rs81 /// Controls how much ranking uses term frequency versus raw term count.COMMENT
LOW…ind/integration_tests/base/stable-output.toolproof.yml21 - step: stdout should contain "Running Pagefind"COMMENT
LOW…ind/integration_tests/base/stable-output.toolproof.yml41 # ╎wasm.unknown.pagefindCOMMENT
LOWpagefind/src/options.rs21//COMMENT
LOWpagefind/src/options.rs181/// Must be constructed through the `PagefindServiceConfigBuilder` interface.COMMENT
LOWpagefind/src/service/api.rs1//! The programmatic service interface for integrating Pagefind into another Rust project.COMMENT
LOWpagefind/src/service/api.rs21//! )COMMENT
LOWpagefind/src/service/api.rs201 /// Build the search index for this instance and write the files to disk.COMMENT
LOWpagefind_stem/src/snowball/snowball_env.rs161 // The minimum and maximum code points are 99 and 116,COMMENT
LOWpagefind_stem/src/snowball/algorithms/mod.rs141COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWwrappers/python/src/pagefind_python_bin/__init__.py8__all__ = ["get_executable", "cli"]CODE
LOWwrappers/python/src/pagefind/service/__init__.py29__all__ = ["PagefindService", "get_executable"]CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpagefind_ui/component/core/focus-utils.ts24export function findNextComponentInTabOrder(CODE
LOWpagefind_ui/component/core/focus-utils.ts56export function findPreviousComponentInTabOrder(CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwrappers/python/src/pagefind/service/__init__.py24CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwrappers/python/src/pagefind/service/__init__.py145CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ts/python_api/py-pagefind-error-handling.toolproof.yml30 except Exception as e:CODE