An open source cybersecurity protocol for syncing decentralized graph data.
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.
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? 67 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 69 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sea.js | 1301 | // We do this with a GUN adapter, we first listen to when a gun instance is created (and when its options change) | COMMENT |
| LOW | browser.js | 1 | // if(!(typeof navigator == "undefined") && navigator.product == "ReactNative"){ | COMMENT |
| LOW | test/expect.js | 1241 | COMMENT | |
| LOW | test/json2.js | 441 | } | COMMENT |
| LOW | test/trace.html | 101 | 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) } /// PROTO | COMMENT |
| LOW | test/mocha.js | 8041 | // | COMMENT |
| LOW | test/mocha.js | 8521 | // "Software"), to deal in the Software without restriction, including | COMMENT |
| LOW | test/mocha.js | 8601 | function forEach (xs, f) { | COMMENT |
| LOW | test/mocha.js | 8621 | // | COMMENT |
| LOW | test/mocha.js | 8661 | // copy of this software and associated documentation files (the | COMMENT |
| LOW | test/mocha.js | 8981 | } | COMMENT |
| LOW | test/mocha.js | 9621 | // | COMMENT |
| LOW | test/mocha.js | 9641 | // necessarily symmetric or synchronous transformation. For example, | COMMENT |
| LOW | test/mocha.js | 9661 | // since _read has to be called to start processing a new chunk. However, | COMMENT |
| LOW | test/mocha.js | 9821 | COMMENT | |
| LOW | test/mocha.js | 10301 | COMMENT | |
| LOW | test/mocha.js | 10441 | // | COMMENT |
| LOW | test/mocha.js | 10561 | // Copyright Joyent, Inc. and other Node contributors. | COMMENT |
| LOW | test/mocha.js | 10641 | // write decodes the given buffer and returns it as JS string that is | COMMENT |
| LOW | test/mocha.js | 10801 | // | COMMENT |
| LOW | test/panic/load.js | 101 | // Do not proceed to the next test until | COMMENT |
| LOW | test/panic/load.js | 161 | // as well as other configuration information. | COMMENT |
| LOW | test/panic/load.js | 181 | while(i--){ | COMMENT |
| LOW | test/panic/load.js | 201 | // Scroll down with the logging. | COMMENT |
| LOW | test/panic/load.js | 261 | }); | COMMENT |
| LOW | test/panic/infinite-scroll/index.js | 101 | }); | COMMENT |
| LOW | test/panic/infinite-scroll/index.js | 121 | // This code is not server side code, despite the fact | COMMENT |
| LOW | test/panic/infinite-scroll/index.js | 221 | // Well, jump on https://gitter.im/amark/gun ! | COMMENT |
| LOW | test/ptsd/perf.js | 1 | ;(function(){ | COMMENT |
| LOW | test/ptsd/radix.js | 1 | ;(function(){ | COMMENT |
| LOW | examples/install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | examples/smoothie.js | 1 | // MIT License: | COMMENT |
| LOW | examples/smoothie.js | 941 | default: { | COMMENT |
| LOW | examples/docs.html | 281 | on: function(eve){ | COMMENT |
| LOW | examples/chat/user.html | 1 | <script src="/gun.js"></script> | COMMENT |
| LOW | examples/react-native/src/extensions/sea.js | 1001 | COMMENT | |
| LOW | examples/angular/src/polyfills.ts | 21 | /** IE9, IE10 and IE11 requires all of the following polyfills. **/ | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 101 | } | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 361 | COMMENT | |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 381 | // const savedPeers = localStorage.getItem('peers'); | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 401 | // await updatePeerStatuses(); | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 421 | // for (const peer of peersList.value) { | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 441 | // showToast(`Enabled peer: ${peer}`, 'success'); | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 461 | // showToast(`Disabled peer: ${oldPeer}`, 'success'); | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 481 | COMMENT | |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 501 | // function handleOffline() { | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 521 | // watch(enabledPeer, () => { | COMMENT |
| LOW | …lay-sqlite-example/src/composables/useNetworkStatus.ts | 541 | COMMENT | |
| LOW | examples/relay-sqlite-example/src/router/index.ts | 21 | history: createWebHistory(import.meta.env.BASE_URL), | COMMENT |
| LOW | .github/workflows/ci.yml | 61 | # needs: [test] | COMMENT |
| LOW | .github/workflows/ci.yml | 81 | # VCS_REF=${GITHUB_REF} \ | COMMENT |
| LOW | lib/les.js | 1 | ; | COMMENT |
| LOW | lib/untitled.js | 1 | function input(msg){ | COMMENT |
| LOW | lib/text-encoding/lib/encoding.js | 1981 | pointer = (lead - 0x81) * 157 + (bite - offset); | COMMENT |
| LOW | sea/sea.js | 41 | console.log(e) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sea.js | 795 | // SEA should be a full suite that is easy and seamless to use. | COMMENT |
| MEDIUM | gun.js | 1000 | // TODO: BUG! What if this is a map? // Warning! Clearing things out needs to be robust against sync/async ops, or e | COMMENT |
| MEDIUM | examples/react-native/src/extensions/sea.js | 625 | // SEA should be a full suite that is easy and seamless to use. | COMMENT |
| MEDIUM | sea/sea.js | 48 | // SEA should be a full suite that is easy and seamless to use. | COMMENT |
| MEDIUM | src/chain.js | 189 | // TODO: BUG! What if this is a map? // Warning! Clearing things out needs to be robust against sync/async ops, or els | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | examples/jquery.js | 4 | marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …react-native/src/webview-crypto/webViewWorkerString.js | 436 | function isArrayBufferViewWithPromise(t) { | CODE |
| LOW | …react-native/src/webview-crypto/webViewWorkerString.js | 444 | function ArrayBufferViewSerializer(waitForPromise) { | CODE |
| LOW | …les/react-native/src/webview-crypto/serializeBinary.js | 51 | function isArrayBufferViewWithPromise(obj) { | CODE |
| LOW | …les/react-native/src/webview-crypto/serializeBinary.js | 90 | function ArrayBufferViewSerializer(waitForPromise) { | CODE |
| LOW | …act-native/src/webview-crypto/webViewWorkerString.d.ts | 2 | declare const _default: "\nvar WebViewWorker = function(t) {\n function r(n) {\n if (e[n]) return e[n].exports | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/angular/README.md | 9 | ## Code scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/react-native/src/extensions/sea.js | 1110 | // TODO: Handle error!!!! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/meta.js | 109 | var $put = $('<input>').attr('id', 'meta-ask').attr('placeholder', help); | CODE |