AI Slop Code Risk Monitor

notionnext-org/NotionNext

SlopCodeMonitor badge for notionnext-org/NotionNext Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Turn your Notion workspace into a fast, customizable website. Built with Next.js + Notion API, with multi-platform deployment and no self-hosted server required.

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for notionnext-org/NotionNext, a JavaScript project with 11,895 GitHub stars. SynthScan examined 186,608 lines of code across 1730 source files, recording 104 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
11.9K
Stars
JavaScript
Language
186.6K
Lines of Code
1.7K
Files
104
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 2.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 3.0/100 · LOW

Which changes need focused human review? 104 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 4LOW 100

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 104 distinct pattern matches across 9 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.

Hyper-Verbose Identifiers50 hits · 52 pts
SeverityFileLineSnippetContext
LOWnext.config.js133function isVersionedPageBlockCacheKey(key) {CODE
LOWnext.config.js138function pruneTransientNotionDataCache(dataDir) {CODE
LOWtools/notionnext-content-mcp/server.js847function buildPropertiesFromSchema(draft, dataSource) {CODE
LOWtools/notionnext-content-mcp/server.js1118function getPageParentDataSourceId(page) {CODE
LOWtools/notionnext-content-mcp/server.js1122function assertPageInsideAllowedDataSource(page) {CODE
LOWdocs/developer/themes/CLAUDE.md648function getOrCreateTerminalSession() {CODE
LOWdocs/developer/themes/CLAUDE.md648function getOrCreateTerminalSession() {CODE
LOWcomponents/GoogleAdsense.js40function getNodesWithAdsByGoogleClass(node) {CODE
LOW__tests__/lib/cache/file_lock.test.js13async function loadFileLockWithTempCache() {CODE
LOWscripts/final-validation.js29function validateOptimizationTasks() {CODE
LOWlib/middleware/security.js254export function securityHeadersMiddleware() {CODE
LOW⚡lib/cache/cache_manager.js59export async function getOrSetDataWithCache(key, getDataFunction, ...getDataArgs) {CODE
LOW⚡lib/cache/cache_manager.js63export async function getOrSetDataWithCustomCache(CODE
LOW⚡lib/cache/cache_manager.js63export async function getOrSetDataWithCustomCache(CODE
LOWlib/config/env-validation.js121export function validateEnvironmentVariables() {CODE
LOWlib/server/revalidation.js8export function normalizeRevalidationPath(value) {CODE
LOWlib/utils/rss.js14export function shouldGenerateRssForLocale({CODE
LOWlib/utils/articleCopyright.js1export function resolveArticleCopyrightText({ post, locale, mode }) {CODE
LOWlib/utils/post.js92export function checkSlugHasMorThanTwoSlash(row) {CODE
LOWlib/utils/post.js205async function getOriginalityProofManifest(post, siteUrl) {CODE
LOWlib/utils/index.js68export function convertUrlStartWithOneSlash(str) {CODE
LOWlib/utils/originalityProof.js18export function isOriginalityProofEnabled(globalEnabled, post = {}) {CODE
LOWlib/utils/originalityProof.js92export function applyOriginalityProofRecord(proof, record) {CODE
LOWlib/utils/originalityProof.js104export function formatOriginalityProofText(proof = {}) {CODE
LOWlib/utils/pinnedPosts.js23export function sortPinnedPostsByLatestUpdate(posts, topTag) {CODE
LOWlib/utils/stripTransientUrlParams.js8export function stripTransientQueryParamsFromUrl(fullUrl) {CODE
LOWlib/utils/stripTransientUrlParams.js36export function stripTransientQueryParamsFromAsPath(asPath) {CODE
LOWlib/utils/originalityProofManifest.js7export function isOriginalityProofAutoManifestEnabled(value) {CODE
LOWlib/utils/originalityProofManifest.js42export function createOriginalityProofManifest(proofs = []) {CODE
LOWlib/utils/originalityProofManifest.js69export function findOriginalityProofManifestRecord(CODE
LOWlib/utils/originalityProofManifest.js84export function recordOriginalityProofManifest(CODE
LOWlib/notion/galleryVisibilityClassName.js1export function galleryVisibilityClassName(collectionView) {CODE
LOWlib/site/typedCollections.js15export function sortTypedPagesByPublishDate(items) {CODE
LOWlib/db/SiteDataApi.js286function pruneUnusedCollectionRecords(blockMap) {CODE
LOWlib/db/notion/memberDataSource.js117export async function fetchMembersFromOfficialAPI({CODE
LOWlib/db/notion/getPageProperties.js259function shouldUseMappedCategorySlug(properties, NOTION_CONFIG) {CODE
LOWlib/db/notion/getPostBlocks.js30export function normalizePageBlockCacheVersion(cacheVersion) {CODE
LOWlib/db/notion/getPostBlocks.js223export function preferStablePdfSignedUrls(recordMap) {CODE
LOWlib/db/notion/getPostBlocks.js279async function addHtmlArtifactSignedUrls(recordMap) {CODE
LOWlib/db/notion/filterCollectionViewData.js54function normalizeCollectionQueryResults(collectionQuery) {CODE
LOWlib/db/notion/filterCollectionViewData.js68function getInheritedCollectionViewFilters(blockMap) {CODE
LOWlib/db/notion/normalizeExternalMediaBlock.js1export function normalizeExternalMediaBlock(blockValue) {CODE
LOWlib/db/notion/getNotionConfig.js21export async function getConfigMapFromConfigPage(allPages) {CODE
LOWthemes/fuwari/utils/commentEnabled.js9export function isCommentServiceConfigured() {CODE
LOWthemes/endspace/components/searchHighlight.js10export default async function replaceEndspaceSearchResult({ doms, search, target }) {CODE
LOWthemes/claude/components/NavBar.js39function getOrCreateTerminalSession() {CODE
LOWthemes/claude/components/NavBar.js39function getOrCreateTerminalSession() {CODE
LOWthemes/heo/components/InfoCard.js11export function normalizeInfoCardGreetings(value) {CODE
LOWthemes/heo/components/InfoCard.js41export function shouldUseInfoCardBlurAvatar(isSlugPage, avatarBlurEnabled) {CODE
LOWthemes/gitbook/components/NavPostList.js152function getDefaultOpenIndexByPath(categoryFolders, path) {CODE
Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippetContext
LOWnext.config.js361 // key: 'Strict-Transport-Security',COMMENT
LOWnext.config.js381 // { key: 'Access-Control-Allow-Credentials', value: 'false' },COMMENT
LOWnext-env.d.ts1/// <reference types="next" />COMMENT
LOWtypes/index.ts241// export * from './notion'COMMENT
LOWcomponents/ValineComponent.js41 // newComments.name = new Date()COMMENT
LOWcomponents/PWA.js61 })COMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml61COMMENT
LOWlib/themeConsoleStyle.js61 #${rootId} [class~="hover:bg-primary"]:hover,COMMENT
LOWlib/themeConsoleStyle.js81 #${rootId} [class*="hover:text-indigo-"]:hover,COMMENT
LOWlib/plugins/busuanzi.js1/* eslint-disable */COMMENT
LOWlib/plugins/mhchem.js101 //COMMENT
LOWlib/plugins/mhchem.js121 // buffer.rdt == arrow, script above, typeCOMMENT
LOWlib/plugins/mhchem.js181 //COMMENT
LOWlib/db/SiteDataApi.js581 // const limit = pLimit(10)COMMENT
LOWthemes/proxio/components/Header.js41 // // eslint-disable-next-line camelcaseCOMMENT
LOWthemes/endspace/style.js301 #theme-endspace #notion-article .notion,COMMENT
LOWthemes/endspace/style.js321 #theme-endspace #notion-article .notion-property-title,COMMENT
LOWthemes/endspace/config.js61COMMENT
LOWthemes/claude/style.js2241 #theme-claude pre[class*='language-'] .token.cdata,COMMENT
LOWthemes/claude/style.js2261 #theme-claude pre[class*='language-'] .token.class-name,COMMENT
LOWthemes/claude/style.js2281 color: var(--claude-code-token-css-string) !important;COMMENT
LOWthemes/claude/style.js2301 #theme-claude pre[class*='language-'] .token.operator,COMMENT
LOWthemes/xuhome/style.js121 background-color: var(--xuhome-console-bg) !important;COMMENT
LOWthemes/nav/components/SearchInput.js21 if (keyword) {COMMENT
Fake / Example Data12 hits · 14 pts
SeverityFileLineSnippetContext
LOWpublic/themes/claude/github-markdown-css/index.html1069<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,CODE
LOWpublic/themes/claude/github-markdown-css/index.html1069<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,CODE
LOWpublic/themes/claude/github-markdown-css/index.html1080<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,CODE
LOWpublic/themes/claude/github-markdown-css/index.html1080<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,CODE
LOW⚡public/themes/claude/github-markdown-css/index.html1188<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.CODE
LOW⚡public/themes/claude/github-markdown-css/index.html1188<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.CODE
LOW⚡public/themes/claude/github-markdown-css/index.html1197<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.CODE
LOW⚡public/themes/claude/github-markdown-css/index.html1197<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.CODE
LOWpublic/themes/claude/github-markdown-css/index.html1238<pre><code>1. This is a list item with two paragraphs. Lorem ipsum dolorCODE
LOWpublic/themes/claude/github-markdown-css/index.html1256only required to indent the first line. Lorem ipsum dolorCODE
LOW__tests__/lib/requestSecurity.test.js91 'user@example.com',CODE
LOW__tests__/lib/utils/validation.test.js9 'user+tag@example.org',CODE
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡__tests__/components/PWAInstaller.test.js40 // Step 1: render with PWA disabled — triggers getRegistration()COMMENT
LOW⚡__tests__/components/PWAInstaller.test.js46 // Step 2: switch to enabled before getRegistration resolvesCOMMENT
LOW⚡__tests__/components/PWAInstaller.test.js53 // Step 3: resolve the pending getRegistration promiseCOMMENT
LOW⚡.github/workflows/sync.yaml16 # Step 1: run a standard checkout actionCOMMENT
LOW⚡.github/workflows/sync.yaml20 # Step 2: run the sync actionCOMMENT
Structural Annotation Overuse5 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡__tests__/components/PWAInstaller.test.js40 // Step 1: render with PWA disabled — triggers getRegistration()COMMENT
LOW⚡__tests__/components/PWAInstaller.test.js46 // Step 2: switch to enabled before getRegistration resolvesCOMMENT
LOW⚡__tests__/components/PWAInstaller.test.js53 // Step 3: resolve the pending getRegistration promiseCOMMENT
LOW⚡.github/workflows/sync.yaml16 # Step 1: run a standard checkout actionCOMMENT
LOW⚡.github/workflows/sync.yaml20 # Step 2: run the sync actionCOMMENT
Excessive Try-Catch Wrapping4 hits · 6 pts
SeverityFileLineSnippetContext
LOWpushUrl.py45 except Exception as e:CODE
MEDIUMpushUrl.py46 print("An error occurred:", e)CODE
LOWpushUrl.py64 except Exception as e:CODE
MEDIUMpushUrl.py65 print("An error occurred:", e)CODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlib/db/SiteDataApi.js788// ─── 工具函数 ─────────────────────────────────────────────────────────────────COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpublic/themes/claude/github-markdown-css/index.html1279<p>It's worth noting that it's possible to trigger an ordered list byCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/notionnext-content-mcp/server.js1763async function handleRequest(message) {CODE