AI Slop Code Risk Monitor

webrtc/samples

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

WebRTC Web demos and samples

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for webrtc/samples, a JavaScript project with 14,646 GitHub stars. SynthScan examined 23,724 lines of code across 233 source files, recording 57 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.5 (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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-07-14
Last Push
14.6K
Stars
JavaScript
Language
23.7K
Lines of Code
233
Files
57
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 11.6/100 · LOW

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

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

PR Review Velocity Impact 11.3/100 · LOW

Which changes need focused human review? 57 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 57

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 57 distinct pattern matches across 2 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 Identifiers54 hits · 56 pts
SeverityFileLineSnippetContext
LOWtest/steps.js25function waitAllVideosHaveEnoughData(driver) {CODE
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js466function makeLostContextSimulatingCanvas(canvas) {CODE
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js638 function makeLostContextFunctionWrapper(ctx, functionName) {CODE
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js685 function makeLostContextSimulatingContext(ctx) {CODE
LOWsrc/content/capture/video-contenthint/js/main.js46function setVideoTrackContentHints(stream, hint) {CODE
LOWsrc/content/capture/video-contenthint/js/main.js105function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/capture/canvas-pc/js/main.js81function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/capture/canvas-pc/js/main.js106function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/capture/video-pc/js/main.js98function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/capture/video-pc/js/main.js124function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/datachannel/basic/js/main.js64function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/datachannel/basic/js/main.js169function onReceiveChannelStateChange() {CODE
LOWsrc/content/datachannel/channel/js/main.js159function onReceiveChannelMessageCallback(event) {CODE
LOWsrc/content/datachannel/channel/js/main.js164function onSendChannelMessageCallback(event) {CODE
LOWsrc/content/datachannel/channel/js/main.js184function onReceiveChannelStateChange() {CODE
LOWsrc/content/datachannel/filetransfer/js/main.js236async function onReceiveChannelStateChange() {CODE
LOW…content/insertable-streams/video-processing/js/main.js67function createProcessedMediaStreamTrack(sourceTrack, transform, signal) {CODE
LOW…content/insertable-streams/video-processing/js/main.js145 function updatePipelineSourceIfSet() {CODE
LOW…content/insertable-streams/video-processing/js/main.js191 function updatePipelineSourceVisibility() {CODE
LOW…ent/insertable-streams/video-processing/js/pipeline.js24function createProcessedMediaStream(sourceStream, transform, signal) {CODE
LOW…c/content/insertable-streams/video-analyzer/js/main.js126function onCreateSessionDescriptionError(error) {CODE
LOW…c/content/insertable-streams/video-analyzer/js/main.js165function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/pc1/js/main.js110function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/pc1/js/main.js152function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/bandwidth/js/main.js90function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/bandwidth/js/main.js195function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/bandwidth/js/main.js249function updateBandwidthRestriction(sdp, bandwidth) {CODE
LOWsrc/content/peerconnection/bandwidth/js/main.js264function removeBandwidthRestriction(sdp) {CODE
LOWsrc/content/peerconnection/upgrade/js/main.js110function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/upgrade/js/main.js135function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/constraints/js/main.js140function displayGetUserMediaConstraints() {CODE
LOWsrc/content/peerconnection/change-codecs/js/main.js118function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/change-codecs/js/main.js157function onSetSessionDescriptionError(error) {CODE
LOW…c/content/peerconnection/per-frame-callback/js/main.js129function onCreateSessionDescriptionError(error) {CODE
LOW…c/content/peerconnection/per-frame-callback/js/main.js216function onSetSessionDescriptionError(error) {CODE
LOW⚡src/content/peerconnection/pr-answer/js/main.js79function onCreateSessionDescriptionError(error) {CODE
LOW⚡src/content/peerconnection/pr-answer/js/main.js89function onSetLocalDescriptionError(error) {CODE
LOW⚡src/content/peerconnection/pr-answer/js/main.js94function onSetLocalDescriptionSuccess() {CODE
LOWsrc/content/peerconnection/restart-ice/js/main.js133function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/restart-ice/js/main.js158function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/audio/js/main.js123function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/audio/js/main.js240function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/trickle-ice/js/main.js47function writeServersToLocalStorage() {CODE
LOWsrc/content/peerconnection/trickle-ice/js/main.js53function readServersFromLocalStorage() {CODE
LOWsrc/content/peerconnection/states/js/main.js101function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/munge-sdp/js/main.js104function onSetSessionDescriptionSuccess() {CODE
LOWsrc/content/peerconnection/munge-sdp/js/main.js108function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/munge-sdp/js/main.js122function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/munge-sdp/js/main.js311function onReceiveChannelStateChange() {CODE
LOWsrc/content/peerconnection/webaudio-output/js/main.js113function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/peerconnection/webaudio-output/js/main.js138function onSetSessionDescriptionError(error) {CODE
LOWsrc/content/extensions/multipleroutes/src/options.js70function browserSupportsIPHandlingPolicy() {CODE
LOWsrc/content/extensions/svc/js/main.js230function onCreateSessionDescriptionError(error) {CODE
LOWsrc/content/extensions/svc/js/main.js272function onSetSessionDescriptionError(error) {CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/js/videopipe.js1/*COMMENT
LOW…insertable-streams/endtoend-encryption/js/videopipe.js1/*COMMENT
LOWsrc/content/peerconnection/trickle-ice/js/main.js201 const types = candidates.map((cand) => cand.type);COMMENT