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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 105 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 100 finding(s).
Which changes need focused human review? 106 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | e2e/highlight.real.spec.ts | 91 | async function findDifferentVisibleVideoLink(page: Page): Promise<Locator> { | CODE |
| LOW | e2e/support/submissionNotice.ts | 9 | export async function waitForBilibiliContentScript( | CODE |
| LOW | e2e/support/submissionNotice.ts | 17 | export async function openSubmissionNoticeWithImportedSegment( | CODE |
| LOW | e2e/support/submissionNotice.ts | 39 | export async function assertSubmissionNoticeActionTypeSwitching(page: Page): Promise<void> { | CODE |
| LOW | e2e/support/noticeLayout.ts | 4 | export async function expectNoticeContentColumn(card: Locator): Promise<void> { | CODE |
| LOW | e2e/support/localSponsorBlockServer.ts | 33 | export async function assertLocalSponsorBlockServerReady(): Promise<void> { | CODE |
| LOW | e2e/support/bilibiliPage.ts | 30 | function createMockBilibiliVideoPageHtml(options: MockBilibiliPageOptions): string { | CODE |
| LOW | e2e/support/bilibiliPage.ts | 209 | export async function routeMockBilibiliVideoPage( | CODE |
| LOW | e2e/support/bilibiliHomePage.ts | 85 | export async function routeMockBilibiliHomePage( | CODE |
| LOW | e2e/support/bilibiliHomePage.ts | 98 | export async function replaceNativeHomeContainer(page: Page, bvid: string): Promise<void> { | CODE |
| LOW | src/content.ts | 251 | function setCategoryColorCSSVariables() { | CODE |
| LOW | src/background.ts | 144 | async function registerFirefoxContentScript(options: Registration) { | CODE |
| LOW | src/background.ts | 192 | async function unregisterFirefoxContentScript(id: string) { | CODE |
| LOW | src/background.ts | 209 | function setupBackgroundRequestProxy() { | CODE |
| LOW | src/config.ts | 381 | function getKnownSponsorAlternatives(): Set<string> { | CODE |
| LOW | src/options.ts | 478 | function optionsConfigUpdateListener(changes: StorageChangesObject) { | CODE |
| LOW | src/options.ts | 537 | function optionsLocalConfigUpdateListener(changes: StorageChangesObject) { | CODE |
| LOW | src/options.ts | 572 | function activatePrivateTextChange(element: HTMLElement) { | CODE |
| LOW | src/options.ts | 721 | function getServerPermissionPattern(address: string): string | null { | CODE |
| LOW | src/options.ts | 822 | function checkPrimaryServerAddress( | CODE |
| LOW⚡ | src/options.ts | 1020 | function isPrimaryServerAddressChanged(input: HTMLInputElement): boolean { | CODE |
| LOW⚡ | src/options.ts | 1024 | function updatePrimaryServerSaveButton(input: HTMLInputElement, button: HTMLButtonElement): void { | CODE |
| LOW⚡ | src/options.ts | 1028 | function setPrimaryServerDisplayState(state: ServerNodeDisplayState | null, active: boolean): void { | CODE |
| LOW | src/options.ts | 1061 | function copyDebugOutputToClipboard() { | CODE |
| LOW | src/thumbnail-utils/thumbnailManagement.ts | 53 | export function checkPageForNewThumbnails(invalidateLabels = false): void { | CODE |
| LOW | src/thumbnail-utils/thumbnailManagement.ts | 65 | function refreshThumbnailContainers(invalidateLabels = false): void { | CODE |
| LOW | src/thumbnail-utils/thumbnailManagement.ts | 126 | async function resolveThumbnailContainer( | CODE |
| LOW | src/thumbnail-utils/thumbnail-selectors.ts | 200 | export function getThumbnailContainerElements(pageType: PageType): { containerType: string; selector: string }[] { | CODE |
| LOW | src/popup/app.tsx | 99 | function getSegmentsFromContentScript(updating: boolean): void { | CODE |
| LOW | src/popup/app.tsx | 142 | function displayDownloadedSponsorTimes(sponsorTimes: SponsorTime[], time: number) { | CODE |
| LOW | src/popup/app.tsx | 158 | function updateUnsubmittedSegments() { | CODE |
| LOW | src/popup/app.tsx | 226 | function contentConfigUpdateListener(changes: StorageChangesObject) { | CODE |
| LOW | src/config/categoryColors.ts | 41 | export function decodeDynamicSponsorColors(value: unknown, defaults: RuntimeColors): RuntimeColors { | CODE |
| LOW | src/config/categoryColors.ts | 53 | export function encodeDynamicSponsorColors(value: RuntimeColors): Record<string, { color: string }> { | CODE |
| LOW | src/config/categoryConfig.ts | 15 | export function migrateCategorySelections(config: { categorySelections: CategorySelection[]; paddingCategoryMigrated: bo | CODE |
| LOW⚡ | src/config/sponsorRegexOTA.ts | 50 | export function getDefaultSponsorRegexRules(): DynamicSponsorRegexRule[] { | CODE |
| LOW⚡ | src/config/sponsorRegexOTA.ts | 54 | export function getBuiltinSponsorRegexRule(ruleId: string): DynamicSponsorRegexRule | undefined { | CODE |
| LOW⚡ | src/config/sponsorRegexOTA.ts | 58 | export function getLatestDefaultUpdateDate(): string | undefined { | CODE |
| LOW | src/config/sponsorRegexOTA.ts | 78 | export function getEffectiveSponsorRegexRules(): DynamicSponsorRegexRule[] { | CODE |
| LOW | src/config/serverConfig.ts | 33 | export function removeMirrorServerAddress(addresses: string[], address: string): string[] { | CODE |
| LOW | src/config/officialServers.ts | 30 | export function normalizeServerPreferences(preferences: ServerPreferences): ServerPreferences { | CODE |
| LOW | src/render/DynamicAndCommentSponsorBlock.tsx | 293 | function isDynamicSponsorSuspicionSponsor(element: HTMLElement) { | CODE |
| LOW | src/content/state.ts | 47 | function buildContentStateSnapshot(): ContentAppState { | CODE |
| LOW | src/content/playerUi.ts | 39 | export function capturePlayerUiReadySnapshot(): PlayerUIReadySnapshot { | CODE |
| LOW | src/content/playerUi.ts | 54 | export function summarizePlayerUiSnapshot(snapshot: PlayerUIReadySnapshot): Record<string, unknown> { | CODE |
| LOW | src/content/playerUi.ts | 86 | export function registerPlayerUiLifecycle(): void { | CODE |
| LOW | src/content/messageHandler.ts | 240 | function contentConfigUpdateListener(changes: StorageChangesObject) { | CODE |
| LOW | src/content/hotkeyHandler.ts | 129 | export function seekFrameByKeyPressListener(key) { | CODE |
| LOW | src/content/skipScheduler.ts | 168 | function emitSkipButtonStateChanged(enabled: boolean, segment: SponsorTime | null, duration: number | undefined, source: | CODE |
| LOW | src/content/skipScheduler.ts | 354 | function setSwitchingVideosFinished(): void { | CODE |
| LOW | src/content/skipScheduler.ts | 359 | function shouldRefreshPlaybackSchedule(video: HTMLVideoElement): boolean { | CODE |
| LOW | src/content/skipScheduler.ts | 783 | export function isSegmentMarkedNearCurrentTime(currentTime: number, range: number = 5): boolean { | CODE |
| LOW | src/content/skipScheduler.ts | 1086 | export function startSkipScheduleCheckingForStartSponsors(): void { | CODE |
| LOW | src/content/skipScheduler.ts | 1131 | function updatePoiSkipButtonForCurrentTime(): void { | CODE |
| LOW | src/content/skipUIManager.ts | 19 | function setupSkipButtonControlBar(snapshot?: PlayerUIReadySnapshot): void { | CODE |
| LOW | src/content/skipUIManager.ts | 67 | function closeSkipNoticesForSegments(segments: SponsorTime[]): void { | CODE |
| LOW | src/content/previewBarManager.ts | 60 | export function registerPreviewBarManager(): void { | CODE |
| LOW | src/content/speedUpManager.ts | 66 | export function isRecentProgrammaticRateChange(): boolean { | CODE |
| LOW | src/content/speedUpManager.ts | 628 | function scheduleManualCancelCooldown(segments: SponsorTime[]): void { | CODE |
| LOW | src/content/segmentSubmission.ts | 111 | function persistSubmittingSegments(videoID: NewVideoID | null, segments: SponsorTime[]): void { | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | e2e/playback-pages.real.spec.ts | 25 | const video = document.querySelector<HTMLVideoElement>("#bilibili-player video:not(.bpx-player-seamless-replacem | CODE |
| MEDIUM | e2e/native-timeline.real.spec.ts | 19 | const video = document.querySelector<HTMLVideoElement>("#bilibili-player video:not(.bpx-player-seamless-replacem | CODE |
| MEDIUM | e2e/skip-rules.spec.ts | 611 | // Match Bilibili's native seamless handoff: prepend a preparing element, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/config.ts | 507 | * Don't forget to add the new keybind to the checks in "KeybindDialogComponent.isKeybindAvailable()" and in "migrat | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/serverPreferences.test.ts | 165 | { ...remote(), nodes: [{ id: "bad", address: "https://user:pass@example.org", kind: "mirror" }] }, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release.yml | 61 | run: cd ./dist ; zip -r ../builds/ChromeExtension.zip * | COMMENT |