AI Slop Code Risk Monitor

amark/gun

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

An open source cybersecurity protocol for syncing decentralized graph data.

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for amark/gun, a JavaScript project with 19,160 GitHub stars. SynthScan examined 133,613 lines of code across 529 source files, recording 69 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-15
Last Push
19.2K
Stars
JavaScript
Language
133.6K
Lines of Code
529
Files
69
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 2.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 3.3/100 · LOW

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

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 69 distinct pattern matches across 7 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.

Over-Commented Block55 hits · 55 pts
SeverityFileLineSnippetContext
LOWsea.js1301 // We do this with a GUN adapter, we first listen to when a gun instance is created (and when its options change)COMMENT
LOWbrowser.js1// if(!(typeof navigator == "undefined") && navigator.product == "ReactNative"){COMMENT
LOWtest/expect.js1241COMMENT
LOWtest/json2.js441 }COMMENT
LOWtest/trace.html101 var _get = Gun.on._get; Gun.on._get = function(a,b,c,d,e){ Trace.log('GET', a); _get.call(this, a,b,c,d,e) } /// PROTOCOMMENT
LOWtest/mocha.js8041//COMMENT
LOWtest/mocha.js8521// "Software"), to deal in the Software without restriction, includingCOMMENT
LOWtest/mocha.js8601function forEach (xs, f) {COMMENT
LOWtest/mocha.js8621//COMMENT
LOWtest/mocha.js8661// copy of this software and associated documentation files (theCOMMENT
LOWtest/mocha.js8981 }COMMENT
LOWtest/mocha.js9621//COMMENT
LOWtest/mocha.js9641// necessarily symmetric or synchronous transformation. For example,COMMENT
LOWtest/mocha.js9661// since _read has to be called to start processing a new chunk. However,COMMENT
LOWtest/mocha.js9821COMMENT
LOWtest/mocha.js10301COMMENT
LOWtest/mocha.js10441//COMMENT
LOWtest/mocha.js10561// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtest/mocha.js10641// write decodes the given buffer and returns it as JS string that isCOMMENT
LOWtest/mocha.js10801//COMMENT
LOWtest/panic/load.js101 // Do not proceed to the next test untilCOMMENT
LOWtest/panic/load.js161 // as well as other configuration information.COMMENT
LOWtest/panic/load.js181 while(i--){COMMENT
LOWtest/panic/load.js201 // Scroll down with the logging.COMMENT
LOWtest/panic/load.js261 });COMMENT
LOWtest/panic/infinite-scroll/index.js101 });COMMENT
LOWtest/panic/infinite-scroll/index.js121 // This code is not server side code, despite the factCOMMENT
LOWtest/panic/infinite-scroll/index.js221// Well, jump on https://gitter.im/amark/gun !COMMENT
LOWtest/ptsd/perf.js1;(function(){COMMENT
LOWtest/ptsd/radix.js1;(function(){COMMENT
LOWexamples/install.sh1#!/bin/bashCOMMENT
LOWexamples/smoothie.js1// MIT License:COMMENT
LOWexamples/smoothie.js941 default: {COMMENT
LOWexamples/docs.html281 on: function(eve){COMMENT
LOWexamples/chat/user.html1<script src="/gun.js"></script>COMMENT
LOWexamples/react-native/src/extensions/sea.js1001COMMENT
LOWexamples/angular/src/polyfills.ts21/** IE9, IE10 and IE11 requires all of the following polyfills. **/COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts101 }COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts361COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts381// const savedPeers = localStorage.getItem('peers');COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts401// await updatePeerStatuses();COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts421// for (const peer of peersList.value) {COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts441// showToast(`Enabled peer: ${peer}`, 'success');COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts461// showToast(`Disabled peer: ${oldPeer}`, 'success');COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts481COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts501// function handleOffline() {COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts521// watch(enabledPeer, () => {COMMENT
LOW…lay-sqlite-example/src/composables/useNetworkStatus.ts541COMMENT
LOWexamples/relay-sqlite-example/src/router/index.ts21 history: createWebHistory(import.meta.env.BASE_URL),COMMENT
LOW.github/workflows/ci.yml61# needs: [test]COMMENT
LOW.github/workflows/ci.yml81# VCS_REF=${GITHUB_REF} \COMMENT
LOWlib/les.js1;COMMENT
LOWlib/untitled.js1function input(msg){COMMENT
LOWlib/text-encoding/lib/encoding.js1981 pointer = (lead - 0x81) * 157 + (bite - offset);COMMENT
LOWsea/sea.js41 console.log(e)COMMENT
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMsea.js795 // SEA should be a full suite that is easy and seamless to use.COMMENT
MEDIUMgun.js1000 // TODO: BUG! What if this is a map? // Warning! Clearing things out needs to be robust against sync/async ops, or eCOMMENT
MEDIUMexamples/react-native/src/extensions/sea.js625 // SEA should be a full suite that is easy and seamless to use.COMMENT
MEDIUMsea/sea.js48 // SEA should be a full suite that is easy and seamless to use.COMMENT
MEDIUMsrc/chain.js189 // TODO: BUG! What if this is a map? // Warning! Clearing things out needs to be robust against sync/async ops, or elsCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALexamples/jquery.js4marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:"CODE
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…react-native/src/webview-crypto/webViewWorkerString.js436 function isArrayBufferViewWithPromise(t) {CODE
LOW…react-native/src/webview-crypto/webViewWorkerString.js444 function ArrayBufferViewSerializer(waitForPromise) {CODE
LOW…les/react-native/src/webview-crypto/serializeBinary.js51function isArrayBufferViewWithPromise(obj) {CODE
LOW…les/react-native/src/webview-crypto/serializeBinary.js90function ArrayBufferViewSerializer(waitForPromise) {CODE
LOW…act-native/src/webview-crypto/webViewWorkerString.d.ts2declare const _default: "\nvar WebViewWorker = function(t) {\n function r(n) {\n if (e[n]) return e[n].exportsCODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/angular/README.md9## Code scaffoldingCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/react-native/src/extensions/sea.js1110 // TODO: Handle error!!!!COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/meta.js109 var $put = $('<input>').attr('id', 'meta-ask').attr('placeholder', help);CODE