record and replay the web
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.
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? 49 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 45 finding(s).
Which changes need focused human review? 62 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/superpowers/plans/2026-05-18-sandboxed-rebuild.md | 176 | function isSupportedSandboxedIframe( | CODE |
| LOW | docs/superpowers/plans/2026-05-18-sandboxed-rebuild.md | 191 | function assertRebuildTargetAllowed(options: RebuildOptions): void { | CODE |
| LOW | docs/superpowers/plans/2026-05-18-sandboxed-rebuild.md | 335 | export function rebuildIntoSandboxedIframe( | CODE |
| LOW | …cs/superpowers/plans/2026-05-19-record-tree-shaking.md | 180 | function resolveLocalSourceEntries(): Plugin { | CODE |
| LOW | packages/rrweb-snapshot/test/rebuild.test.ts | 88 | function mockCreatedIframeSandboxDomApi( | CODE |
| LOW | packages/rrweb-snapshot/src/rebuild.ts | 157 | function isSupportedSandboxedIframe( | CODE |
| LOW | packages/rrweb-snapshot/src/rebuild.ts | 173 | function assertRebuildTargetAllowed(options: RebuildOptions): void { | CODE |
| LOW | packages/rrweb-snapshot/src/rebuild.ts | 816 | export function rebuildIntoSandboxedIframe( | CODE |
| LOW | packages/rrweb-snapshot/src/utils.ts | 60 | function fixBrowserCompatibilityIssuesInCSS(cssText: string): string { | CODE |
| LOW | packages/record/vite.config.ts | 11 | function resolveLocalSourceEntries(): Plugin { | CODE |
| LOW | …kages/plugins/rrweb-plugin-network-record/src/index.ts | 69 | function getPerformanceEntryInitiatorType( | CODE |
| LOW | …kages/plugins/rrweb-plugin-network-record/src/index.ts | 77 | function shouldRecordPerformanceEntry( | CODE |
| LOW | …kages/plugins/rrweb-plugin-network-record/src/index.ts | 290 | async function getRequestPerformanceEntry( | CODE |
| LOW | …kages/plugins/rrweb-plugin-network-record/src/index.ts | 602 | function prepareRequestWithoutPerformance( | CODE |
| LOW | packages/rrdom/src/diff.ts | 126 | function diffBeforeUpdatingChildren( | CODE |
| LOW | packages/rrdom/src/diff.ts | 214 | function diffAfterUpdatingChildren( | CODE |
| LOW | packages/all/test/utils.ts | 229 | function stripBlobURLsFromAttributes(node: { | CODE |
| LOW | packages/utils/src/index.ts | 61 | function angularZoneUnpatchedAlternative(key: keyof BasePrototypeCache) { | CODE |
| LOW | packages/rrweb-player/test/annotations-player.test.ts | 329 | async function expectPausedCaptionUpdate( | CODE |
| LOW | packages/rrweb-player/src/Controller.svelte | 57 | function dismissTimelineMarkersOnEscape(event: KeyboardEvent) { | CODE |
| LOW | packages/browser-client/buildMetadata.ts | 29 | export function browserClientBuildDefines(): Record<string, string> { | CODE |
| LOW | packages/browser-client/test/load-diagnostics.test.ts | 141 | function latestRecordingMetaPayload(): Record<string, unknown> { | CODE |
| LOW | packages/browser-client/test/load-diagnostics.test.ts | 164 | function expectBrowserClientDiagnostics( | CODE |
| LOW | packages/rrweb/test/utils.ts | 251 | function stripBlobURLsFromAttributes(node: { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 310 | function getBindPointForSamplerType(gl, type) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 702 | function createVAOAndSetAttributes(gl, setters, attribs, indices) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 850 | function getExtensionWithKnownPrefixes(gl, name) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 869 | function resizeCanvasToDisplaySize(canvas, multiplier) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 935 | function createAugmentedTypedArray(numComponents, numElements, opt_type) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 943 | function createBufferFromTypedArray(gl, array, type, drawType) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 992 | function getNormalizationForTypedArray(typedArray) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 1006 | function guessNumComponentsFromName(name, length) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 1131 | function guessNumComponentsFromName(name, length) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 1162 | function getNumElementsFromNonIndexedArrays(arrays) { | CODE |
| LOW | packages/rrweb/test/html/assets/webgl-utils.js | 1312 | function createBufferInfoFromArrays(gl, arrays, opt_mapping) { | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 198 | function initMouseInteractionObserver({ | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 360 | function initViewportResizeObserver( | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 547 | function getNestedCSSRulePositions(rule: CSSRule): number[] { | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 870 | export function initAdoptedStyleSheetObserver( | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 935 | function initStyleDeclarationObserver( | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 1024 | function initMediaInteractionObserver({ | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 1171 | function initCustomElementObserver({ | CODE |
| LOW | packages/rrweb/src/record/observer.ts | 1387 | function canMonkeyPatchNestedCSSRule(prop: CSSGroupingProp): boolean { | CODE |
| LOW | packages/rrweb/src/record/observers/canvas/canvas.ts | 10 | export default function initCanvasContextObserver( | CODE |
| LOW | packages/rrweb/src/record/observers/canvas/webgl.ts | 90 | export default function initCanvasWebGLMutationObserver( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/rrweb/src/replay/index.ts | 394 | const firstMeta = this.service.state.context.events.find( | CODE |
| CRITICAL | packages/rrweb/src/replay/index.ts | 397 | const firstFullsnapshot = this.service.state.context.events.find( | CODE |
| CRITICAL | packages/rrweb/src/replay/index.ts | 425 | if (this.service.state.context.events.find(indicatesTouchDevice)) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/rrweb-snapshot/test/snapshot.test.ts | 222 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magn | CODE |
| LOW | packages/rrweb-snapshot/test/snapshot.test.ts | 222 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magn | CODE |
| LOW | packages/rrweb-snapshot/test/snapshot.test.ts | 242 | const el = render(`<textarea>Lorem ipsum</textarea>`); | CODE |
| LOW | packages/rrweb-snapshot/test/snapshot.test.ts | 250 | value: 'Lorem ipsum', | CODE |
| LOW | packages/rrweb/test/record.test.ts | 240 | 'Lorem ipsum dolor sit amet consectetur adipisicing elit.'; | CODE |
| LOW | packages/rrweb/test/record.test.ts | 240 | 'Lorem ipsum dolor sit amet consectetur adipisicing elit.'; | CODE |
| LOW | packages/rrweb/test/html/shadow-dom.html | 27 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat odit | CODE |
| LOW | packages/rrweb/test/html/shadow-dom.html | 27 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat odit | CODE |
| LOW | packages/rrweb/test/html/shadow-dom.html | 40 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat odit | CODE |
| LOW | packages/rrweb/test/html/shadow-dom.html | 40 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat odit | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/rrdom/src/diff.ts | 138 | // If the Mirror data has some flaws, the diff function may throw errors. We check the node consistency here to make i | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/rrweb/test/record/dialog.test.ts | 213 | // TODO: implement me in the future | COMMENT |
| LOW | packages/rrweb/test/replay/dialog.test.ts | 157 | // TODO: implement me in the future | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/rrweb-player/vite-env.d.ts | 1 | /// <reference types="svelte" /> | COMMENT |