AI Slop Code Risk Monitor

hanydd/BilibiliSponsorBlock

SlopCodeMonitor badge for hanydd/BilibiliSponsorBlock Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hanydd/BilibiliSponsorBlock. SynthScan examined 81,911 lines of code across 397 source files, recording 106 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
81.9K
Lines of Code
397
Files
106
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.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 6.1/100 · LOW

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

PR Review Velocity Impact 6.6/100 · LOW

Which changes need focused human review? 106 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 3LOW 103

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 106 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 Identifiers100 hits · 103 pts
SeverityFileLineSnippetContext
LOWe2e/highlight.real.spec.ts91async function findDifferentVisibleVideoLink(page: Page): Promise<Locator> {CODE
LOWe2e/support/submissionNotice.ts9export async function waitForBilibiliContentScript(CODE
LOWe2e/support/submissionNotice.ts17export async function openSubmissionNoticeWithImportedSegment(CODE
LOWe2e/support/submissionNotice.ts39export async function assertSubmissionNoticeActionTypeSwitching(page: Page): Promise<void> {CODE
LOWe2e/support/noticeLayout.ts4export async function expectNoticeContentColumn(card: Locator): Promise<void> {CODE
LOWe2e/support/localSponsorBlockServer.ts33export async function assertLocalSponsorBlockServerReady(): Promise<void> {CODE
LOWe2e/support/bilibiliPage.ts30function createMockBilibiliVideoPageHtml(options: MockBilibiliPageOptions): string {CODE
LOWe2e/support/bilibiliPage.ts209export async function routeMockBilibiliVideoPage(CODE
LOWe2e/support/bilibiliHomePage.ts85export async function routeMockBilibiliHomePage(CODE
LOWe2e/support/bilibiliHomePage.ts98export async function replaceNativeHomeContainer(page: Page, bvid: string): Promise<void> {CODE
LOWsrc/content.ts251function setCategoryColorCSSVariables() {CODE
LOWsrc/background.ts144async function registerFirefoxContentScript(options: Registration) {CODE
LOWsrc/background.ts192async function unregisterFirefoxContentScript(id: string) {CODE
LOWsrc/background.ts209function setupBackgroundRequestProxy() {CODE
LOWsrc/config.ts381function getKnownSponsorAlternatives(): Set<string> {CODE
LOWsrc/options.ts478function optionsConfigUpdateListener(changes: StorageChangesObject) {CODE
LOWsrc/options.ts537function optionsLocalConfigUpdateListener(changes: StorageChangesObject) {CODE
LOWsrc/options.ts572function activatePrivateTextChange(element: HTMLElement) {CODE
LOWsrc/options.ts721function getServerPermissionPattern(address: string): string | null {CODE
LOWsrc/options.ts822function checkPrimaryServerAddress(CODE
LOW⚡src/options.ts1020function isPrimaryServerAddressChanged(input: HTMLInputElement): boolean {CODE
LOW⚡src/options.ts1024function updatePrimaryServerSaveButton(input: HTMLInputElement, button: HTMLButtonElement): void {CODE
LOW⚡src/options.ts1028function setPrimaryServerDisplayState(state: ServerNodeDisplayState | null, active: boolean): void {CODE
LOWsrc/options.ts1061function copyDebugOutputToClipboard() {CODE
LOWsrc/thumbnail-utils/thumbnailManagement.ts53export function checkPageForNewThumbnails(invalidateLabels = false): void {CODE
LOWsrc/thumbnail-utils/thumbnailManagement.ts65function refreshThumbnailContainers(invalidateLabels = false): void {CODE
LOWsrc/thumbnail-utils/thumbnailManagement.ts126async function resolveThumbnailContainer(CODE
LOWsrc/thumbnail-utils/thumbnail-selectors.ts200export function getThumbnailContainerElements(pageType: PageType): { containerType: string; selector: string }[] {CODE
LOWsrc/popup/app.tsx99 function getSegmentsFromContentScript(updating: boolean): void {CODE
LOWsrc/popup/app.tsx142 function displayDownloadedSponsorTimes(sponsorTimes: SponsorTime[], time: number) {CODE
LOWsrc/popup/app.tsx158 function updateUnsubmittedSegments() {CODE
LOWsrc/popup/app.tsx226 function contentConfigUpdateListener(changes: StorageChangesObject) {CODE
LOWsrc/config/categoryColors.ts41export function decodeDynamicSponsorColors(value: unknown, defaults: RuntimeColors): RuntimeColors {CODE
LOWsrc/config/categoryColors.ts53export function encodeDynamicSponsorColors(value: RuntimeColors): Record<string, { color: string }> {CODE
LOWsrc/config/categoryConfig.ts15export function migrateCategorySelections(config: { categorySelections: CategorySelection[]; paddingCategoryMigrated: boCODE
LOW⚡src/config/sponsorRegexOTA.ts50export function getDefaultSponsorRegexRules(): DynamicSponsorRegexRule[] {CODE
LOW⚡src/config/sponsorRegexOTA.ts54export function getBuiltinSponsorRegexRule(ruleId: string): DynamicSponsorRegexRule | undefined {CODE
LOW⚡src/config/sponsorRegexOTA.ts58export function getLatestDefaultUpdateDate(): string | undefined {CODE
LOWsrc/config/sponsorRegexOTA.ts78export function getEffectiveSponsorRegexRules(): DynamicSponsorRegexRule[] {CODE
LOWsrc/config/serverConfig.ts33export function removeMirrorServerAddress(addresses: string[], address: string): string[] {CODE
LOWsrc/config/officialServers.ts30export function normalizeServerPreferences(preferences: ServerPreferences): ServerPreferences {CODE
LOWsrc/render/DynamicAndCommentSponsorBlock.tsx293function isDynamicSponsorSuspicionSponsor(element: HTMLElement) {CODE
LOWsrc/content/state.ts47function buildContentStateSnapshot(): ContentAppState {CODE
LOWsrc/content/playerUi.ts39export function capturePlayerUiReadySnapshot(): PlayerUIReadySnapshot {CODE
LOWsrc/content/playerUi.ts54export function summarizePlayerUiSnapshot(snapshot: PlayerUIReadySnapshot): Record<string, unknown> {CODE
LOWsrc/content/playerUi.ts86export function registerPlayerUiLifecycle(): void {CODE
LOWsrc/content/messageHandler.ts240function contentConfigUpdateListener(changes: StorageChangesObject) {CODE
LOWsrc/content/hotkeyHandler.ts129export function seekFrameByKeyPressListener(key) {CODE
LOWsrc/content/skipScheduler.ts168function emitSkipButtonStateChanged(enabled: boolean, segment: SponsorTime | null, duration: number | undefined, source:CODE
LOWsrc/content/skipScheduler.ts354function setSwitchingVideosFinished(): void {CODE
LOWsrc/content/skipScheduler.ts359function shouldRefreshPlaybackSchedule(video: HTMLVideoElement): boolean {CODE
LOWsrc/content/skipScheduler.ts783export function isSegmentMarkedNearCurrentTime(currentTime: number, range: number = 5): boolean {CODE
LOWsrc/content/skipScheduler.ts1086export function startSkipScheduleCheckingForStartSponsors(): void {CODE
LOWsrc/content/skipScheduler.ts1131function updatePoiSkipButtonForCurrentTime(): void {CODE
LOWsrc/content/skipUIManager.ts19function setupSkipButtonControlBar(snapshot?: PlayerUIReadySnapshot): void {CODE
LOWsrc/content/skipUIManager.ts67function closeSkipNoticesForSegments(segments: SponsorTime[]): void {CODE
LOWsrc/content/previewBarManager.ts60export function registerPreviewBarManager(): void {CODE
LOWsrc/content/speedUpManager.ts66export function isRecentProgrammaticRateChange(): boolean {CODE
LOWsrc/content/speedUpManager.ts628function scheduleManualCancelCooldown(segments: SponsorTime[]): void {CODE
LOWsrc/content/segmentSubmission.ts111function persistSubmittingSegments(videoID: NewVideoID | null, segments: SponsorTime[]): void {CODE
40 more matches not shown…
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMe2e/playback-pages.real.spec.ts25 const video = document.querySelector<HTMLVideoElement>("#bilibili-player video:not(.bpx-player-seamless-replacemCODE
MEDIUMe2e/native-timeline.real.spec.ts19 const video = document.querySelector<HTMLVideoElement>("#bilibili-player video:not(.bpx-player-seamless-replacemCODE
MEDIUMe2e/skip-rules.spec.ts611// Match Bilibili's native seamless handoff: prepend a preparing element,COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/config.ts507 * Don't forget to add the new keybind to the checks in "KeybindDialogComponent.isKeybindAvailable()" and in "migratCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/serverPreferences.test.ts165 { ...remote(), nodes: [{ id: "bad", address: "https://user:pass@example.org", kind: "mirror" }] },CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/workflows/release.yml61 run: cd ./dist ; zip -r ../builds/ChromeExtension.zip *COMMENT