AI Slop Code Risk Monitor

47ng/nuqs

SlopCodeMonitor badge for 47ng/nuqs Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for 47ng/nuqs, a TypeScript project with 10,899 GitHub stars. SynthScan examined 92,430 lines of code across 1465 source files, recording 124 pattern matches distributed across 6 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-29
Last Push
10.9K
Stars
TypeScript
Language
92.4K
Lines of Code
1.5K
Files
124
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 6.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 6.8/100 · LOW

Which changes need focused human review? 124 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 1MEDIUM 1LOW 122

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 124 distinct pattern matches across 6 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.

Over-Commented Block57 hits · 57 pts
SeverityFileLineSnippetContext
LOWpackages/docs/src/app/banners.tsx41// <LinkCOMMENT
LOWpackages/docs/src/app/banners.tsx61// >COMMENT
LOWpackages/docs/src/app/banners.tsx81// </span>{' '}COMMENT
LOWpackages/docs/src/app/banners.tsx101// </p>COMMENT
LOWpackages/docs/src/app/banners.tsx121// <spanCOMMENT
LOWpackages/docs/src/app/banners.tsx141// fallback={COMMENT
LOWpackages/docs/src/app/banners.tsx161// return (COMMENT
LOWpackages/docs/src/app/banners.tsx181// expiredMessage={COMMENT
LOWpackages/docs/src/app/banners.tsx261)COMMENT
LOWpackages/docs/src/app/banners.tsx281// <p className="text-sm sm:text-base">COMMENT
LOWpackages/docs/src/app/banners.tsx301// •COMMENT
LOWpackages/docs/src/app/banners.tsx321// }COMMENT
LOWpackages/docs/src/app/banners.tsx341// </p>COMMENT
LOWpackages/docs/src/app/(pages)/stats/lib/versions.ts141 return accCOMMENT
LOWpackages/docs/src/app/(pages)/stats/lib/versions.ts181 }))COMMENT
LOWpackages/docs/src/app/(pages)/stats/lib/versions.ts201// }COMMENT
LOWpackages/docs/src/app/(pages)/stats/lib/versions.ts221// const datesArray = Object.keys(dates)COMMENT
LOWpackages/nuqs/testing.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/server.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/tanstack-router.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/testing.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/react-router.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/remix.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/next.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/react.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/custom.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/next/app.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/next/pages.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/react-router/v6.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/react-router/v7.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/adapters/react-router/v8.d.ts1// This file is needed for projects that have `moduleResolution` set to `node`COMMENT
LOWpackages/nuqs/src/debug.ts1import { isDebugFlagSet, setDebugSink } from './lib/debug'COMMENT
LOWpackages/nuqs/src/useQueryStates.ts121 Object.fromEntries(COMMENT
LOWpackages/nuqs/src/useQueryStates.ts201 // detached while a subtree is hidden under `<Activity>` and only re-run afterCOMMENT
LOWpackages/nuqs/src/api.test.ts41 runtime.set(`./${path}`, code)COMMENT
LOWpackages/nuqs/src/adapters/tanstack-router.ts41 // navigation, while `resolvedLocation` stays on the committed route untilCOMMENT
LOWpackages/nuqs/src/adapters/react-router/v8.ts1// React Router v8 uses the same `react-router` package and hooks as v7, so thisCOMMENT
LOWpackages/scripts/release-finalize.ts41COMMENT
LOWpackages/scripts/release-finalize.ts81COMMENT
LOWpackages/scripts/release-finalize.ts101//COMMENT
LOWpackages/scripts/release-finalize.ts181// numeric HTTP `.status`;COMMENT
LOWpackages/scripts/lib/changelog-dto.ts1// Shared changelog codec — the single source of truth for the machine-readableCOMMENT
LOWpackages/scripts/lib/changelog-dto.ts21COMMENT
LOWpackages/scripts/lib/commit-graph.ts1// Shared commit-graph discovery engine.COMMENT
LOWpackages/scripts/lib/commit-graph.ts241 .map(record => record.trim())COMMENT
LOWpackages/scripts/lib/commit-graph.ts481// range, uniform across every commit. `type`/`breaking`/`description` come fromCOMMENT
LOWpackages/scripts/verify-release/verify.production.ts1#!/usr/bin/env -S node --no-warningsCOMMENT
LOWpackages/scripts/verify-release/verify.staged.ts1#!/usr/bin/env -S node --no-warningsCOMMENT
LOWpackages/scripts/verify-release/verify.lib.ts1//COMMENT
LOWpackages/scripts/verify-release/run2.diff-contents.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/scripts/verify-release/run1.reproduce.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/e2e/next/next-env.d.ts1/// <reference types="next" />COMMENT
LOWpackages/e2e/shared/specs/popstate-queue-reset.spec.ts141 await expect(page).toHaveURL(url => !url.search.includes('b='))COMMENT
LOW.github/workflows/backlog-cleaner.yml1name: Backlog CleanerCOMMENT
LOW.github/workflows/release-edited.yml81 # which is fatal). The changelog page reads each release's embedded DTOCOMMENT
LOW.github/workflows/release-finalize.yml1name: Finalize ReleaseCOMMENT
LOW.github/workflows/release-finalize.yml101 - name: Bust the docs ISR cache tagsCOMMENT
Hyper-Verbose Identifiers51 hits · 53 pts
SeverityFileLineSnippetContext
LOW…nt/docs/parsers/community/tanstack-table.generator.tsx66export function usePaginationSearchParams() {CODE
LOW…ges/docs/content/blog/open-source-pledge-recipient.tsx6export function OpenSourcePledgeRecipient({CODE
LOW…c/app/playground/_demos/server-side-parsing/client.tsx11export function ServerSideParsingDemoClient({CODE
LOWpackages/docs/src/app/(pages)/stats/lib/versions.ts184// async function getVersionsPublicationDates() {COMMENT
LOWpackages/docs/src/app/(pages)/stats/lib/npm.ts103export function getDownloadsNDaysBeforeLatest(CODE
LOWpackages/docs/src/app/(pages)/stats/lib/npm.ts328export function getPartialPreviousWeekDownloads(data: Datum[]) {CODE
LOWpackages/docs/src/components/theme-toggle-menu.tsx30function subscribeThemeSwitcherSettings(onChange: () => void) {CODE
LOW…ges/docs/src/components/release-contribution-graph.tsx20function ReleaseContributionGraphSkeleton() {CODE
LOW…ges/docs/src/components/release-contribution-graph.tsx50async function ReleaseContributionGraphLoader({CODE
LOWpackages/docs/src/components/feature-support-matrix.tsx34export function parseFeatureSupportMatrixProps(CODE
LOWpackages/docs/src/components/feature-support-matrix.tsx66export function renderFeatureSupportMatrixText(CODE
LOWpackages/docs/src/components/feature-support-matrix.tsx291function getSupportedFrameworksText(CODE
LOWpackages/docs/src/components/feature-support-matrix.tsx304function getUnsupportedFrameworksText(notSupportedIn: readonly Frameworks[]) {CODE
LOW…s/src/components/release-contribution-graph.client.tsx33export function ReleaseContributionGraphClient({CODE
LOWpackages/docs/src/components/ui/chart.tsx335function getPayloadConfigFromPayload(CODE
LOW…/docs/src/components/changelog/contributors-footer.tsx17export function formatContributorsSummary(CODE
LOWpackages/docs/src/lib/get-llm-text.ts84function stripFeatureSupportMatrix(CODE
LOWpackages/docs/src/lib/theme-switcher-key.ts13export function resolveThemeSwitcherSettings(CODE
LOWpackages/docs/src/lib/theme-switcher-key.ts24export function readThemeSwitcherSettings(CODE
LOWpackages/docs/src/lib/theme-switcher-key.ts57export function writeThemeSwitcherEnabled(CODE
LOWpackages/docs/src/lib/theme-switcher-key.ts121export function isAssignableThemeSwitcherKey(key: string) {CODE
LOWpackages/nuqs/src/adapters/testing.ts65function renderInitialSearchParams(CODE
LOWpackages/nuqs/src/adapters/testing.ts166 return function NuqsTestingAdapterWrapper({CODE
LOWpackages/nuqs/src/adapters/tanstack-router.ts25function useNuqsTanstackRouterAdapter(watchKeys: string[]): AdapterInterface {CODE
LOWpackages/nuqs/src/adapters/next/impl.pages.ts40function onNavigationWithoutSubscribers() {CODE
LOWpackages/nuqs/src/adapters/next/impl.pages.ts54export function useNuqsNextPagesRouterAdapter(): AdapterInterface {CODE
LOWpackages/nuqs/src/adapters/next/impl.app.ts110export function useNuqsNextAppRouterAdapter(): AdapterInterface {CODE
LOWpackages/nuqs/src/adapters/lib/react-router.ts42export function createReactRouterBasedAdapter({CODE
LOWpackages/nuqs/src/adapters/lib/react-router.ts51 function useNuqsReactRouterBasedAdapter(CODE
LOWpackages/nuqs/src/adapters/lib/react-router.ts113 function useOptimisticSearchParams(CODE
LOWpackages/nuqs/src/lib/queues/throttle.ts29export function getSearchParamsSnapshotFromLocation(): URLSearchParams {CODE
LOWpackages/nuqs/src/lib/queues/throttle.test.ts261 async function createQueueAwaitingAcknowledgement() {CODE
LOWpackages/e2e/next/scripts/cache-components-codemod.ts5function grepFilesWithDynamicExport(dir: string): Promise<string[]> {CODE
LOWpackages/e2e/next/scripts/cache-components-codemod.ts30async function commentDynamicExportInFile(filePath: string) {CODE
LOW…ext/src/app/app/(shared)/popstate-queue-reset/page.tsx7function PopstateQueueResetWrapper() {CODE
LOWpackages/e2e/shared/specs/life-and-death.tsx19function LifeAndDeathUseQueryState() {CODE
LOWpackages/e2e/shared/specs/life-and-death.tsx31function ChildComponentUseQueryState() {CODE
LOWpackages/e2e/shared/specs/life-and-death.tsx46function LifeAndDeathUseQueryStates() {CODE
LOWpackages/e2e/shared/specs/life-and-death.tsx58function ChildComponentUseQueryStates() {CODE
LOWpackages/e2e/shared/specs/referential-stability.tsx6export function ReferentialStabilityUseQueryState() {CODE
LOWpackages/e2e/shared/specs/referential-stability.tsx18export function ReferentialStabilityUseQueryStates() {CODE
LOW⚡packages/e2e/shared/specs/key-isolation.tsx7export function KeyIsolationUseQueryState() {CODE
LOW⚡packages/e2e/shared/specs/key-isolation.tsx16export function KeyIsolationUseQueryStates() {CODE
LOW⚡packages/e2e/shared/specs/key-isolation.tsx25function TestComponentUseQueryState({ id }: TestComponentProps) {CODE
LOWpackages/e2e/shared/specs/key-isolation.tsx38function TestComponentUseQueryStates({ id }: TestComponentProps) {CODE
LOWpackages/e2e/shared/specs/conditional-rendering.tsx24function TestComponentUseQueryState() {CODE
LOWpackages/e2e/shared/specs/conditional-rendering.tsx37function TestComponentUseQueryStates() {CODE
LOWpackages/e2e/shared/specs/conditional-rendering.tsx57export function ConditionalRenderingUseQueryState() {CODE
LOWpackages/e2e/shared/specs/conditional-rendering.tsx61export function ConditionalRenderingUseQueryStates() {CODE
LOWpackages/e2e/shared/specs/flush-after-navigate.tsx10export function FlushAfterNavigateUseQueryStateStart({CODE
LOWpackages/e2e/shared/specs/flush-after-navigate.tsx45export function FlushAfterNavigateUseQueryStatesStart({CODE
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ocs/content/docs/parsers/community/zod-codecs.demo.tsx17 name: 'John Doe',CODE
LOW…ocs/content/docs/parsers/community/zod-codecs.demo.tsx24 name: 'John Doe',CODE
LOW…s/docs/src/app/playground/_demos/throttling/client.tsx8const autoFillMessage = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsuCODE
LOW…s/docs/src/app/playground/_demos/throttling/client.tsx8const autoFillMessage = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsuCODE
LOWpackages/examples/next-app/src/data.ts4 name: 'John Doe'CODE
LOWpackages/examples/next-app/src/data.ts8 name: 'Jane Doe'CODE
LOWpackages/nuqs/src/lib/url-encoding.browser.test.ts119 search.set('name', 'John Doe')CODE
LOWpackages/scripts/release-notes-automation.test.ts307 author: 'Jane Doe',CODE
LOWpackages/scripts/release-notes-automation.test.ts320 author: 'Jane Doe',CODE
LOWpackages/scripts/lib/changelog-dto.test.ts333 author: 'Jane Doe'CODE
LOWpackages/scripts/lib/commit-graph.test.ts44 author: 'Jane Doe',CODE
LOWpackages/scripts/lib/commit-graph.test.ts937 author: author ?? 'Jane Doe',CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpackages/docs/src/components/quote.tsx2 * This code was generated by v0 by Vercel.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/e2e/shared/specs/json.tsx13// Normally we'd use Zod for a schema, but we can leverageCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpackages/examples/trpc/app/routes/api/trpc.ts13function handleRequest(args: LoaderFunctionArgs | ActionFunctionArgs) {CODE
LOWpackages/e2e/remix/app/entry.server.tsx17export default function handleRequest(CODE