AI Slop Code Risk Monitor

KuekHaoYang/KVideo

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

一个基于 Next.js 16 构建的现代化视频聚合播放平台。采用独特的 "Liquid Glass" 设计语言,提供流畅的视觉体验和强大的视频搜索功能。

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for KuekHaoYang/KVideo, a TypeScript project with 4,232 GitHub stars. SynthScan examined 64,584 lines of code across 383 source files, recording 52 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-08-16
Last Push
4.2K
Stars
TypeScript
Language
64.6K
Lines of Code
383
Files
52
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 5.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 3.3/100 · LOW

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

PR Review Velocity Impact 4.2/100 · LOW

Which changes need focused human review? 52 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 2LOW 50

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 52 distinct pattern matches across 5 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 Identifiers42 hits · 44 pts
SeverityFileLineSnippetContext
LOWcomponents/home/hooks/usePersonalizedRecommendations.ts44export function usePersonalizedRecommendations(isPremium = false) {CODE
LOW⚡components/player/DanmakuCanvas.tsx66function getDanmakuSettingsSnapshot(): string {CODE
LOW⚡components/player/DanmakuCanvas.tsx71function subscribeToDanmakuSettings(listener: () => void): () => void {CODE
LOW⚡components/player/DanmakuCanvas.tsx75function parseDanmakuSettingsSnapshot(snapshot: string): DanmakuSettingsSnapshot {CODE
LOWcomponents/player/hooks/usePlayerSettings.ts34function getPlayerSettingsSnapshot(isPremium: boolean, mediaProxyEnabled: boolean): PlayerSettingsSnapshot {CODE
LOW…mponents/player/hooks/desktop/useFullscreenControls.ts70async function waitForWindowFullscreenLayout(): Promise<void> {CODE
LOWcomponents/player/hooks/desktop/android-pip-utils.ts20export function createAndroidPiPTransitionPlan(fullscreenMode: FullscreenMode): AndroidPiPTransitionPlan {CODE
LOWcomponents/player/hooks/desktop/android-pip-utils.ts29export function shouldRestoreInlineAfterAndroidPiP(CODE
LOWcomponents/player/hooks/desktop/android-pip-utils.ts40export function shouldRollbackTemporaryWindowFullscreen(session: AndroidPiPSessionState | null): boolean {CODE
LOWlib/app-release.ts74export function getDefaultRepositoryBranch(CODE
LOWlib/config/lan-access.ts29function normalizeAllowedOriginHost(rawOrigin: string): string | null {CODE
LOWlib/config/lan-access.ts49export function parseLanAllowedDevOrigins(value: string | undefined | null): string[] {CODE
LOWlib/config/deployment.ts17export function shouldEnableVercelAnalytics(env: EnvLike = process.env): boolean {CODE
LOWlib/server/api-responses.ts3export function authenticationRequiredResponse(): NextResponse {CODE
LOWlib/server/auth-helpers.ts68export function shouldUseSecureSessionCookie(request?: SessionCookieProtocolRequest): boolean {CODE
LOWlib/server/auth-helpers.ts181export function isBootstrapAdminCredential(CODE
LOWlib/server/douban-image.ts10export function buildDoubanImageCandidates(rawUrl: string): string[] {CODE
LOWlib/server/auth.ts90function getEffectiveAdminPassword(): string {CODE
LOWlib/server/auth.ts187async function ensureManagedAccountsBootstrapped(): Promise<StoredAccountRecord[]> {CODE
LOWlib/server/auth.ts247function buildLegacyProfileIdInput(password: string): ArrayBuffer {CODE
LOWlib/server/auth.ts273function sessionPayloadToServerSession(payload: SessionPayload): ServerAuthSession {CODE
LOWlib/server/auth.ts440async function authenticateManagedAdminCredential(username: string, password: string): Promise<boolean> {CODE
LOWlib/server/auth.ts445async function authenticateLegacyAdminCredential(password: string): Promise<boolean> {CODE
LOWlib/server/auth.ts506export async function createSessionStatusResponse(request: NextRequest): Promise<NextResponse> {CODE
LOWlib/utils/video.ts51export function extractNumericResolutionLabel(CODE
LOWlib/utils/video.ts67export function extractPlaybackQualityLabel(CODE
LOWlib/utils/floating-button-position.ts26export function clampFloatingButtonPosition(CODE
LOWlib/utils/floating-button-position.ts46export function getDefaultFloatingButtonPosition(CODE
LOWlib/utils/floating-button-position.ts87export function getPositionFromFloatingButtonRatios(CODE
LOWlib/utils/m3u8-ad-signatures.ts3export function findDuplicateSignatureBlockIndices(blocks: Block[]): Set<number> {CODE
LOWlib/utils/m3u8-utils.ts66function isAuxiliaryAdMetadataLine(trimmedLine: string, normalizedKeywords: string[]): boolean {CODE
LOWlib/utils/m3u8-duration-grid.ts45export function isSmallIntegerDurationBlock(samples: DurationSample[]): boolean {CODE
LOWlib/utils/m3u-parser.ts67function looksLikeRelativeMediaPath(value: string): boolean {CODE
LOWlib/utils/m3u-parser.ts239export function extractPlaylistReferences(content: string, baseUrl?: string): PlaylistReference[] {CODE
LOWlib/hooks/useFloatingButtonPosition.ts53export function useFloatingButtonPosition({CODE
LOWlib/store/search-history-store.ts123export function useSearchHistoryStoreSelector(isPremium = false) {CODE
LOWlib/player/resolution-cache.ts42export function shouldReuseCachedResolution(CODE
LOWlib/player/resolution-probe-utils.ts104export function parseResolutionFromManifest(content: string, baseUrl?: string): ResolutionProbeLabel | null {CODE
LOWlib/player/resolution-probe-utils.ts145export function extractVariantPlaylistUrls(content: string, baseUrl: string): string[] {CODE
LOWlib/player/danmaku-canvas-utils.ts37export function resolveDanmakuCanvasMetrics(CODE
LOWlib/player/danmaku-canvas-utils.ts68export function haveDanmakuCanvasMetricsChanged(CODE
LOWlib/player/source-list-utils.ts15export function shouldExpandForCurrentSource(CODE
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcomponents/player/hooks/useDanmaku.ts72 // Step 1: Search for the animeCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts87 // Step 2: Match titleCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts95 // Step 3: Match episodeCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts103 // Step 4: Fetch commentsCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcomponents/player/hooks/useDanmaku.ts72 // Step 1: Search for the animeCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts87 // Step 2: Match titleCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts95 // Step 3: Match episodeCOMMENT
LOW⚡components/player/hooks/useDanmaku.ts103 // Step 4: Fetch commentsCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMwrangler.toml2# This file provides compatibility settings for Cloudflare Pages deployment.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapp/player/page.tsx542 // Preserve playback position for seamless source switchCOMMENT