AI Slop Code Risk Monitor

Anarios/return-youtube-dislike

SlopCodeMonitor badge for Anarios/return-youtube-dislike Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Chrome extension to return youtube dislikes

5.8 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Anarios/return-youtube-dislike, a JavaScript project with 13,829 GitHub stars. SynthScan examined 150,919 lines of code across 541 source files, recording 577 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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.

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
13.8K
Stars
JavaScript
Language
150.9K
Lines of Code
541
Files
577
Pattern Hits
2026-10-31
Scan Date
0.06
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 16.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 10.4/100 · LOW

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

Agent Over-Engineering Ratio 16.4/100 · LOW

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

PR Review Velocity Impact 25.4/100 · MEDIUM

Which changes need focused human review? 577 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 34HIGH 0MEDIUM 0LOW 543

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 577 distinct pattern matches across 4 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 Identifiers541 hits · 542 pts
SeverityFileLineSnippetContext
LOWextension-build-receipt.js51function collectExtensionBuildInputs(repositoryRoot) {CODE
LOWextension-build-receipt.js80function createExtensionBuildReceipt(repositoryRoot, mode) {CODE
LOWuserscript-build-receipt.js56function collectUserscriptBuildInputs(repositoryRoot) {CODE
LOWuserscript-build-receipt.js89function createUserscriptBuildReceipt(repositoryRoot, { artifactPath, buildId = "", liveTestBuild, mode }) {CODE
LOWuserscript-build-receipt.js111function writeUserscriptBuildReceipt(receiptPath, artifactPath, receipt) {CODE
LOWuserscript-build-receipt.js118function verifyUserscriptBuildReceipt({CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1130function hasConflictingControlOwnership(container, videoId) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1134function clearPendingWatchControlObservers() {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1141function clearPendingWatchNavigationBoundary() {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1146function activationTargetHasVideoIdentity(target, videoId, buttons) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1168function originalWatchTargetsAreReady(resetState, buttons, videoId) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1174function currentWatchTargetIsReady(target, targetState, buttons, videoId) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1184function elementIsOwnedDisplayMutation(element, targetState) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1415function getShortsControlSurfaceSignature(buttons) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1423function getVisibleDesktopShortsControlSurfaceCount() {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1429function shortsControlSurfaceIsReadyForMutation(CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1805function setSyntheticShortsPressed(pressed, dislikeButton = getDislikeButton()) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1814function persistSyntheticShortsState(videoId, disliked) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1818async function readSyntheticShortsDisliked(videoId) {CODE
LOW⚡Extensions/UserScript/Return Youtube Dislike.user.js1827async function restoreSyntheticShortsState(CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js68function applyVoteTransitionCounts(likes, dislikes, transition) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js456function defaultGetActivationTarget(control) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js492function resolveDelegatedVoteActivation({CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js616function getShortsIdentityLinkVideoIds(root, baseUrl = "https://www.youtube.com/") {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js644function getShortsControlSurfaceStabilityMs(isHydrated) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js648function isShortsControlSurfaceReadyForMutation({CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js693function captureShortsNativeControlInventory(CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js728function shortsNativeControlInventoryMatches(left, right) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js742function shortsNativeControlInventoryIsReadyForFallback(CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js913function createGmSyntheticDislikeStore() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js996function getShortVideoIdFromPathname(pathname) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1060function hasMeaningfulViewportPresence(element) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1109function getControlOwnershipVideoIds(container) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1195function mutationIsMeaningfulWatchRefresh(mutation, targetState, videoId, buttons) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1224function captureMeaningfulWatchRefreshes(resetState, mutations, videoId, buttons) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1235function captureWatchNavigationBoundaryRefreshes(boundary, mutations) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1246function seedWatchTargetFromNavigationBoundary(targetState, boundaryTargetState, buttons, videoId) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1259function seedWatchResetFromNavigationBoundary(resetState, buttons, videoId) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1275function suppressStaleTargetRefresh(target) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1280function watchControlsAreReadyForVideo(buttons, likeButton, dislikeButton, videoId) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1379function getActiveDesktopShortsActionBar() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1456function getActiveMobileShortsButtons() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1477function getExactShortLinkVideoIds(element) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1513function getDesktopWatchButtonCandidates() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1527function selectCurrentWatchButtons(candidates) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1598function removeSyntheticShortsDislike(syntheticDislike) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js1610function ensureSyntheticShortsDislikeButton(CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2252function elementTouchesWatchRateBar(element) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2265function mutationTouchesWatchRateBar(mutation) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2318function removeWatchRateBarArtifacts(buttons) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2347function clearStaleWatchPresentation(buttons, dislikeButton, videoId) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2390function scheduleWatchRateBarRepair() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2400function disconnectWatchRateBarObserver() {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2566function applyHydratingVoteTransition(hydration, transition, syntheticShortsDislike) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2576function reconcileHydratingVoteTransition(hydration, transition, syntheticShortsDislike) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2600function clearNativeLikeForSyntheticDislike(action, stateBeforeActivation, syntheticShortsDislike) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2634function captureHydratingShortsActivation(event, action) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2729function refreshDislikesForBoundControl(event) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2914function elementTouchesCurrentShortRenderer(element) {CODE
LOWExtensions/UserScript/Return Youtube Dislike.user.js2922function mutationTouchesShortsControls(mutation) {CODE
481 more matches not shown…
Hallucination Indicators34 hits · 330 pts
SeverityFileLineSnippetContext
CRITICALExtensions/UserScript/live/live-scenarios.spec.js933 expect(harness.recorder.waitForHandshake.mock.calls.map(([value]) => value)).toEqual(expectedValues);CODE
CRITICALExtensions/UserScript/live/live-scenarios.spec.js980 expect(harness.recorder.waitForHandshake.mock.calls.map(([value]) => value)).toEqual([-1, 0]);CODE
CRITICALExtensions/UserScript/live/live-scenarios.spec.js1420 expect(harness.recorder.waitForHandshake.mock.calls.slice(-2)).toEqual([CODE
CRITICALExtensions/UserScript/src/passive-identity.spec.js47 expect(globalThis.GM.getValue.mock.calls.some(([key]) => key === "rydVoteCredentials")).toBe(false);CODE
CRITICALExtensions/combined/popup-permissions.spec.js80 const requested = chrome.storage.sync.get.mock.calls.flatMap(([keys]) => [].concat(keys));CODE
CRITICALExtensions/combined/popup-permissions.spec.js95 expect(chrome.storage.sync.set.mock.calls.some(([values]) => "disableVoteSubmission" in values)).toBe(false);CODE
CRITICALExtensions/combined/ryd.background.spec.js263 chrome.tabs.sendMessage.mock.calls.filter(([, payload]) => payload.message === "patreon_status_changed");CODE
CRITICALExtensions/combined/ryd.background.spec.js309 const callsBeforeCompletion = chrome.tabs.sendMessage.mock.calls.slice();CODE
CRITICALExtensions/combined/ryd.background-changelog.spec.js259 expect(chrome.storage.sync.set.mock.calls.some(([values]) => "disableVoteSubmission" in values)).toBe(false);CODE
CRITICALExtensions/combined/popup.spec.js101 chrome.storage.onChanged.addListener.mock.calls.forEach(([listener]) =>CODE
CRITICALExtensions/combined/src/state.spec.js809 const requested = storage.sync.get.mock.calls.flatMap(([keys]) => [].concat(keys));CODE
CRITICALExtensions/combined/src/discussion-background.spec.js318 expect(h.api.tabs.sendMessage.mock.calls.every(([tabId]) => tabId === 1)).toBe(true);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js376 expect(h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "inbox")).toBe(true);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js398 expect(h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "toast")).toBe(false);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js399 expect(h.api.tabs.sendMessage.mock.calls.some(([tabId]) => tabId === 2)).toBe(false);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js416 const badgeValues = h.api.action.setBadgeText.mock.calls.map(([value]) => value);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js423 expect(h.api.action.setBadgeBackgroundColor.mock.calls.every(([value]) => [1, 3].includes(value.tabId))).toBe(true);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js436 expect(h.api.action.setBadgeText.mock.calls.map(([value]) => value)).toEqual([CODE
CRITICALExtensions/combined/src/discussion-background.spec.js452 h.api.runtime.sendMessage.mock.calls.some(([event]) => event.type === "session" && event.data.authenticated),CODE
CRITICALExtensions/combined/src/discussion-background.spec.js524 expect(h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "toast")).toBe(false);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js588 expect(h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "toast")).toBe(false);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js628 h.api.tabs.sendMessage.mock.calls.filter(([, event]) => ["inbox", "toast"].includes(event.type));CODE
CRITICALExtensions/combined/src/discussion-background.spec.js630 ...h.api.action.setBadgeText.mock.calls.filter(([value]) => value.text !== ""),CODE
CRITICALExtensions/combined/src/discussion-background.spec.js870 h.api.tabs.sendMessage.mock.calls.filter(([, event]) => event.type === type).map(([, event]) => event.data);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js952 expect(h.api.tabs.sendMessage.mock.calls.filter(([, event]) => event.type === type).map(([id]) => id)).toEqual(CODE
CRITICALExtensions/combined/src/discussion-background.spec.js955 expect(h.api.tabs.sendMessage.mock.calls.some(([id]) => id === 3)).toBe(false);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1037 const requestedKeys = h.sync.get.mock.calls.flatMap(([keys]) => [].concat(keys));CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1343 h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "session" && event.data.authenticated),CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1425 expect(h.api.tabs.sendMessage.mock.calls.filter(([, event]) => event.type === "toast")).toHaveLength(0);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1434 const toasts = h.api.tabs.sendMessage.mock.calls.filter(([, event]) => event.type === "toast");CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1454 expect(h.api.tabs.sendMessage.mock.calls.filter(([, event]) => event.type === "toast")).toHaveLength(0);CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1488 h.api.tabs.sendMessage.mock.calls.some(([, event]) => event.type === "inbox" && event.data.items.length === 0),CODE
CRITICALExtensions/combined/src/discussion-background.spec.js1525 const event = h.api.tabs.sendMessage.mock.calls.findLast(([, event]) => event.type === "inbox")[1];CODE
CRITICALExtensions/combined/src/buttons.js460 const semanticSelectors = extConfig.selectors.buttons.dislikeButton.notSegmented.filter(CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWExtensions/combined/src/discussion/panel.js293 input.placeholder = t("placeholder");CODE
Over-Commented Block1 hit · 0 pts
SeverityFileLineSnippetContext
LOWExtensions/UserScript/Return Youtube Dislike.user.js1// ==UserScript==COMMENT