AI Slop Code Risk Monitor

rrweb-io/rrweb

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

record and replay the web

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rrweb-io/rrweb, a TypeScript project with 20,332 GitHub stars. SynthScan examined 78,513 lines of code across 551 source files, recording 62 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
20.3K
Stars
TypeScript
Language
78.5K
Lines of Code
551
Files
62
Pattern Hits
2026-10-31
Scan Date
0.01
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 3.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.5/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 5.6/100 · LOW

Which changes need focused human review? 62 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 3HIGH 0MEDIUM 1LOW 58

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 62 distinct pattern matches across 6 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 Identifiers45 hits · 45 pts
SeverityFileLineSnippetContext
LOWdocs/superpowers/plans/2026-05-18-sandboxed-rebuild.md176function isSupportedSandboxedIframe(CODE
LOWdocs/superpowers/plans/2026-05-18-sandboxed-rebuild.md191function assertRebuildTargetAllowed(options: RebuildOptions): void {CODE
LOWdocs/superpowers/plans/2026-05-18-sandboxed-rebuild.md335export function rebuildIntoSandboxedIframe(CODE
LOW…cs/superpowers/plans/2026-05-19-record-tree-shaking.md180function resolveLocalSourceEntries(): Plugin {CODE
LOWpackages/rrweb-snapshot/test/rebuild.test.ts88 function mockCreatedIframeSandboxDomApi(CODE
LOWpackages/rrweb-snapshot/src/rebuild.ts157function isSupportedSandboxedIframe(CODE
LOWpackages/rrweb-snapshot/src/rebuild.ts173function assertRebuildTargetAllowed(options: RebuildOptions): void {CODE
LOWpackages/rrweb-snapshot/src/rebuild.ts816export function rebuildIntoSandboxedIframe(CODE
LOWpackages/rrweb-snapshot/src/utils.ts60function fixBrowserCompatibilityIssuesInCSS(cssText: string): string {CODE
LOWpackages/record/vite.config.ts11function resolveLocalSourceEntries(): Plugin {CODE
LOW…kages/plugins/rrweb-plugin-network-record/src/index.ts69function getPerformanceEntryInitiatorType(CODE
LOW…kages/plugins/rrweb-plugin-network-record/src/index.ts77function shouldRecordPerformanceEntry(CODE
LOW…kages/plugins/rrweb-plugin-network-record/src/index.ts290async function getRequestPerformanceEntry(CODE
LOW…kages/plugins/rrweb-plugin-network-record/src/index.ts602function prepareRequestWithoutPerformance(CODE
LOWpackages/rrdom/src/diff.ts126function diffBeforeUpdatingChildren(CODE
LOWpackages/rrdom/src/diff.ts214function diffAfterUpdatingChildren(CODE
LOWpackages/all/test/utils.ts229function stripBlobURLsFromAttributes(node: {CODE
LOWpackages/utils/src/index.ts61function angularZoneUnpatchedAlternative(key: keyof BasePrototypeCache) {CODE
LOWpackages/rrweb-player/test/annotations-player.test.ts329 async function expectPausedCaptionUpdate(CODE
LOWpackages/rrweb-player/src/Controller.svelte57 function dismissTimelineMarkersOnEscape(event: KeyboardEvent) {CODE
LOWpackages/browser-client/buildMetadata.ts29export function browserClientBuildDefines(): Record<string, string> {CODE
LOWpackages/browser-client/test/load-diagnostics.test.ts141function latestRecordingMetaPayload(): Record<string, unknown> {CODE
LOWpackages/browser-client/test/load-diagnostics.test.ts164function expectBrowserClientDiagnostics(CODE
LOWpackages/rrweb/test/utils.ts251function stripBlobURLsFromAttributes(node: {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js310 function getBindPointForSamplerType(gl, type) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js702 function createVAOAndSetAttributes(gl, setters, attribs, indices) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js850 function getExtensionWithKnownPrefixes(gl, name) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js869 function resizeCanvasToDisplaySize(canvas, multiplier) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js935 function createAugmentedTypedArray(numComponents, numElements, opt_type) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js943 function createBufferFromTypedArray(gl, array, type, drawType) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js992 function getNormalizationForTypedArray(typedArray) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js1006 function guessNumComponentsFromName(name, length) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js1131 function guessNumComponentsFromName(name, length) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js1162 function getNumElementsFromNonIndexedArrays(arrays) {CODE
LOWpackages/rrweb/test/html/assets/webgl-utils.js1312 function createBufferInfoFromArrays(gl, arrays, opt_mapping) {CODE
LOWpackages/rrweb/src/record/observer.ts198function initMouseInteractionObserver({CODE
LOWpackages/rrweb/src/record/observer.ts360function initViewportResizeObserver(CODE
LOWpackages/rrweb/src/record/observer.ts547function getNestedCSSRulePositions(rule: CSSRule): number[] {CODE
LOWpackages/rrweb/src/record/observer.ts870export function initAdoptedStyleSheetObserver(CODE
LOWpackages/rrweb/src/record/observer.ts935function initStyleDeclarationObserver(CODE
LOWpackages/rrweb/src/record/observer.ts1024function initMediaInteractionObserver({CODE
LOWpackages/rrweb/src/record/observer.ts1171function initCustomElementObserver({CODE
LOWpackages/rrweb/src/record/observer.ts1387function canMonkeyPatchNestedCSSRule(prop: CSSGroupingProp): boolean {CODE
LOWpackages/rrweb/src/record/observers/canvas/canvas.ts10export default function initCanvasContextObserver(CODE
LOWpackages/rrweb/src/record/observers/canvas/webgl.ts90export default function initCanvasWebGLMutationObserver(CODE
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALpackages/rrweb/src/replay/index.ts394 const firstMeta = this.service.state.context.events.find(CODE
CRITICALpackages/rrweb/src/replay/index.ts397 const firstFullsnapshot = this.service.state.context.events.find(CODE
CRITICALpackages/rrweb/src/replay/index.ts425 if (this.service.state.context.events.find(indicatesTouchDevice)) {CODE
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/rrweb-snapshot/test/snapshot.test.ts222 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnCODE
LOWpackages/rrweb-snapshot/test/snapshot.test.ts222 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnCODE
LOWpackages/rrweb-snapshot/test/snapshot.test.ts242 const el = render(`<textarea>Lorem ipsum</textarea>`);CODE
LOWpackages/rrweb-snapshot/test/snapshot.test.ts250 value: 'Lorem ipsum',CODE
LOWpackages/rrweb/test/record.test.ts240 'Lorem ipsum dolor sit amet consectetur adipisicing elit.';CODE
LOWpackages/rrweb/test/record.test.ts240 'Lorem ipsum dolor sit amet consectetur adipisicing elit.';CODE
LOWpackages/rrweb/test/html/shadow-dom.html27 Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat oditCODE
LOWpackages/rrweb/test/html/shadow-dom.html27 Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat oditCODE
LOWpackages/rrweb/test/html/shadow-dom.html40 Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat oditCODE
LOWpackages/rrweb/test/html/shadow-dom.html40 Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat oditCODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/rrdom/src/diff.ts138 // If the Mirror data has some flaws, the diff function may throw errors. We check the node consistency here to make iCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/rrweb/test/record/dialog.test.ts213 // TODO: implement me in the futureCOMMENT
LOWpackages/rrweb/test/replay/dialog.test.ts157 // TODO: implement me in the futureCOMMENT
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/rrweb-player/vite-env.d.ts1/// <reference types="svelte" />COMMENT