AI Slop Code Risk Monitor

darkreader/darkreader

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

Dark Reader Chrome and Firefox extension

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for darkreader/darkreader, a TypeScript project with 22,532 GitHub stars. SynthScan examined 55,884 lines of code across 624 source files, recording 84 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
22.5K
Stars
TypeScript
Language
55.9K
Lines of Code
624
Files
84
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 7.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 84 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 7.2/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 84 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 0LOW 84

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 84 distinct pattern matches across 3 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 Identifiers79 hits · 84 pts
SeverityFileLineSnippetContext
LOWtasks/integrity.js46function firefoxExtractHashMetaInfOrder(manifest) {CODE
LOWtests/inject/support/background-stub.ts27export function resetChromeRuntimeMessageStub(): void {CODE
LOWtests/inject/support/background-stub.ts32export function stubBackgroundFetchResponse(url: string, content: string): void {CODE
LOWtests/browser/coverage.js95async function generateHTMLCoverageReport(dir, info) {CODE
LOWtests/browser/coverage.js126async function generateIndexHTMLCoveragePage(dir, info) {CODE
LOWtests/browser/coverage.js161export async function generateHTMLCoverageReports(dir, coverage) {CODE
LOWsrc/ui/options/advanced/enable-for-protected-pages.tsx7 function onEnableForProtectedPages(value: boolean) {CODE
LOWsrc/ui/popup/utils/issues.ts3export function fixNotClosingPopupOnNavigation(): void {CODE
LOWsrc/ui/popup/components/body.tsx114 function disableMobileLinksSlideIn() {CODE
LOWsrc/inject/index.ts187function sendConnectionOrResumeMessage(type: MessageTypeCStoBG.DOCUMENT_CONNECT | MessageTypeCStoBG.DOCUMENT_RESUME) {CODE
LOWsrc/inject/utils/dom.ts237export function addReadyStateCompleteListener(listener: () => void): void {CODE
LOWsrc/inject/utils/dom.ts241export function cleanReadyStateCompleteListeners(): void {CODE
LOWsrc/inject/utils/dom.ts286function getElementsTreeOperations(mutations: MutationRecord[]): ElementsTreeOperations {CODE
LOWsrc/inject/utils/dom.ts335export function createOptimizedTreeObserver(root: Document | ShadowRoot, callbacks: OptimizedTreeObserverCallbacks): {diCODE
LOWsrc/inject/dynamic-theme/image.ts287export function isBlobURLCheckResultReady(): boolean {CODE
LOWsrc/inject/dynamic-theme/image.ts365function tryConvertDataURLToBlobSync(dataURL: string): Blob | null {CODE
LOWsrc/inject/dynamic-theme/image.ts390export async function tryConvertDataURLToBlobURL(dataURL: string): Promise<string | null> {CODE
LOWsrc/inject/dynamic-theme/image.ts411export function cleanImageProcessingCache(): void {CODE
LOWsrc/inject/dynamic-theme/css-rules.ts168export function replaceCSSRelativeURLsWithAbsolute($css: string, cssBasePath: string): string {CODE
LOWsrc/inject/dynamic-theme/inline-style.ts279export function stopWatchingForInlineStyles(): void {CODE
LOWsrc/inject/dynamic-theme/inline-style.ts406function resetInlineStyleLoopDetection() {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts68export function getModifiableCSSDeclaration(CODE
LOWsrc/inject/dynamic-theme/modify-css.ts135export function getModifiedUserAgentStyle(theme: Theme, isIFrame: boolean, styleSystemControls: boolean): string {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts212function getModifiedSelectionStyle(theme: Theme) {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts226function getModifiedScrollbarStyle(theme: Theme) {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts694export function getShadowModifierWithInfo(value: string): CSSValueModifierWithInfo | null {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts734export function getScrollbarColorModifier(value: string): string | CSSValueModifier | null {CODE
LOWsrc/inject/dynamic-theme/modify-css.ts771function getVariableDependantModifier(CODE
LOWsrc/inject/dynamic-theme/palette.ts49function getRegisteredVariableValue(type: ColorType, registered: RegisteredColor) {CODE
LOWsrc/inject/dynamic-theme/meta-theme-color.ts22export function changeMetaThemeColorWhenAvailable(theme: Theme): void {CODE
LOWsrc/inject/dynamic-theme/variables.ts702function getVariableNameAndFallback(match: string) {CODE
LOWsrc/inject/dynamic-theme/variables.ts767function wrapTextColorVariableName(name: string) {CODE
LOWsrc/inject/dynamic-theme/variables.ts771function wrapBorderColorVariableName(name: string) {CODE
LOWsrc/inject/dynamic-theme/index.ts91function stopStylePositionWatchers() {CODE
LOWsrc/inject/dynamic-theme/index.ts132function createStaticStyleInjector() {CODE
LOWsrc/inject/dynamic-theme/index.ts279function createStaticStyleOverrides() {CODE
LOWsrc/inject/dynamic-theme/index.ts325function createShadowStaticStyleOverridesInner(root: ShadowRoot) {CODE
LOWsrc/inject/dynamic-theme/index.ts339function delayedCreateShadowStaticStyleOverrides(root: ShadowRoot): void {CODE
LOWsrc/inject/dynamic-theme/index.ts359function createShadowStaticStyleOverrides(root: ShadowRoot) {CODE
LOWsrc/inject/dynamic-theme/index.ts414function createDynamicStyleOverrides() {CODE
LOWsrc/inject/dynamic-theme/index.ts519function createThemeAndWatchForUpdates() {CODE
LOWsrc/inject/dynamic-theme/index.ts623function createDarkReaderInstanceMarker() {CODE
LOWsrc/inject/dynamic-theme/index.ts634function isAnotherDarkReaderInstanceActive() {CODE
LOWsrc/inject/dynamic-theme/index.ts671function disableConflictingPlugins() {CODE
LOWsrc/inject/dynamic-theme/index.ts779export function createOrUpdateDynamicTheme(theme: Theme, dynamicThemeFixes: DynamicThemeFix[] | null, iframe: boolean): CODE
LOWsrc/inject/dynamic-theme/index.ts797export function createOrUpdateDynamicThemeInternal(themeConfig: Theme, dynamicThemeFixes: DynamicThemeFix | null, iframeCODE
LOWsrc/inject/dynamic-theme/stylesheet-proxy.ts18 function disableConflictingPlugins() {CODE
LOWsrc/inject/dynamic-theme/adopted-style-manger.ts22export function canHaveAdoptedStyleSheets(node: Document | ShadowRoot): boolean {CODE
LOWsrc/inject/dynamic-theme/adopted-style-manger.ts51export function createAdoptedStyleSheetOverride(node: Document | ShadowRoot): AdoptedStyleSheetManager {CODE
LOWsrc/inject/dynamic-theme/adopted-style-manger.ts204 function addSheetChangeEventListener(type: string, listener: (e: CustomEvent) => void) {CODE
LOWsrc/inject/dynamic-theme/modify-colors.ts28export function clearColorModificationCache(): void {CODE
LOW⚡src/inject/dynamic-theme/watch/sheet-changes.ts50 function watchForSheetChangesUsingProxy() {CODE
LOW⚡src/inject/dynamic-theme/watch/sheet-changes.ts54 function stopWatchingForSheetChangesUsingProxy() {CODE
LOW⚡src/inject/dynamic-theme/watch/sheet-changes.ts58 function stopWatchingForSheetChanges() {CODE
LOWsrc/inject/dynamic-theme/watch/sheet-changes.ts87 function watchForSheetChangesUsingRAF() {CODE
LOWsrc/inject/dynamic-theme/watch/sheet-changes.ts106 function stopWatchingForSheetChangesUsingRAF() {CODE
LOWsrc/inject/dynamic-theme/watch/style-position.ts196 function subscribeForShadowRootChanges(node: Element) {CODE
LOWsrc/inject/dynamic-theme/watch/style-position.ts249export function stopWatchingForStylePositions(): void {CODE
LOWsrc/inject/dynamic-theme/watch/index.ts20export function stopWatchingForStyleChanges(): void {CODE
LOWsrc/inject/dynamic-theme/watch/custom-elements.ts82async function customElementsWhenDefined(tag: string): Promise<void> {CODE
19 more matches not shown…
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/background/tab-manager.ts301 }COMMENT
LOWsrc/ui/controls/shortcut/index.tsx61 // e.key can be inaccurate if Shift is also pressedCOMMENT
LOWsrc/utils/colorscheme-parser.ts1// Seperator is to indicate that the it should start with a new defined colorscheme.COMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/inject/support/echo-server.js9 function handleRequest(req, res) {CODE
LOWtests/browser/server.js43 function handleRequest(req, res) {CODE