Advanced Subscription Manager for QX, Loon, Surge, Stash, Egern and Shadowrocket!
This report presents the forensic synthetic code analysis of sub-store-org/Sub-Store, a JavaScript project with 10,076 GitHub stars. SynthScan v2.0 examined 61,838 lines of code across 149 source files, recording 144 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 144 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/core/proxy-utils/vmess-security.js | 29 | function canonicalizeVmessSecurity(security) { | CODE |
| LOW | backend/src/core/proxy-utils/vmess-security.js | 57 | export function normalizeClashVmessSecurity(security) { | CODE |
| LOW | backend/src/core/proxy-utils/vmess-security.js | 75 | export function formatSurgeVmessEncryptMethod(security) { | CODE |
| LOW | backend/src/core/proxy-utils/transport-path.js | 89 | export function getSafeIntegerPathQueryParam(rawPath, paramName) { | CODE |
| LOW | backend/src/core/proxy-utils/transport-path.js | 125 | export function normalizeWebSocketEarlyDataPath(wsOpts) { | CODE |
| LOW | backend/src/core/proxy-utils/transport-path.js | 160 | export function deleteHttpUpgradeEarlyDataMetadata(wsOpts) { | CODE |
| LOW | backend/src/core/proxy-utils/index.js | 614 | function isRootHeaderSensitiveProxy(proxy) { | CODE |
| LOW | backend/src/core/proxy-utils/xhttp-utils.js | 1 | function parseNormalizedXhttpRangeBounds( | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 61 | function parseNormalizedXhttpPositiveRangeBounds(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 67 | function parseNormalizedXhttpStrictPositiveRangeBounds(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 74 | export function normalizeXhttpPositiveRange(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 84 | export function normalizeXhttpStrictPositiveRangeString(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 94 | export function normalizeXhttpStrictPositiveRangeValue(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 104 | export function normalizeXhttpNonNegativeRange(value) { | CODE |
| LOW⚡ | backend/src/core/proxy-utils/xhttp-utils.js | 114 | export function normalizeXhttpIntegerValue( | CODE |
| LOW | backend/src/core/proxy-utils/ech-utils.js | 39 | export function isSupportedXrayEchConfigList(echConfigList) { | CODE |
| LOW | backend/src/core/proxy-utils/ech-utils.js | 43 | export function isSupportedXrayEchForceQuery(forceQuery) { | CODE |
| LOW | backend/src/core/proxy-utils/ech-utils.js | 60 | export function buildMihomoEchOptsFromXrayFields({ | CODE |
| LOW | backend/src/core/proxy-utils/ech-utils.js | 93 | export function buildXrayEchFieldsFromMihomo( | CODE |
| LOW | backend/src/core/proxy-utils/ech-utils.js | 142 | export function buildXrayEchConfigListFromMihomo( | CODE |
| LOW | backend/src/core/proxy-utils/parsers/index.js | 57 | function decodeShadowsocksUserInfo(rawUserInfoStr) { | CODE |
| LOW | backend/src/core/proxy-utils/parsers/index.js | 121 | function parseWireGuardURIAddressValue(value) { | CODE |
| LOW | backend/src/core/proxy-utils/parsers/peggy/surge.js | 83 | function startsWithQuotedHeaderKey(text) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/shadowrocket.js | 303 | function hasShadowrocketSnellShadowTlsObfsConflict(proxy) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/clashmeta.js | 25 | function warnMihomoUnsupportedEchDns(proxy, echOpts, echOptsPath) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/clashmeta.js | 38 | function warnMihomoUnsupportedEchDnsFields(proxy, type) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/clashmeta.js | 443 | function hasMihomoSnellShadowTlsObfsConflict(proxy) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/clashmeta.js | 453 | function getMihomoShadowTlsVersion(proxy) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/utils.js | 59 | export function normalizePluginMuxBooleanValue(mux) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/utils.js | 83 | function parseWireGuardInterfaceAddress(value, family) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/utils.js | 99 | function normalizeWireGuardInterfaceAddress(proxy, config) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/utils.js | 116 | export function normalizeWireGuardInterface(proxy = {}) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/utils.js | 132 | export function getWireGuardAddressWithCIDR(proxy = {}, family = 'ipv4') { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 54 | function setHttpUpgradeEarlyDataPath(path, transportOpts) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 66 | function setWebSocketEarlyDataPath(path, transportOpts) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 96 | function getSerializableXhttpRangeValue(value) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 171 | function applyStructuredXhttpExtraFields( | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 286 | function buildXhttpDownloadSettings( | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 435 | function buildStructuredVlessExtraObject(proxy) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 471 | function mergeUnsupportedXhttpExtraValue(baseValue, unsupportedValue) { | CODE |
| LOW | backend/src/core/proxy-utils/producers/uri.js | 487 | function mergeUnsupportedXhttpExtraObject(baseObject, unsupportedObject) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 29 | export function isResponseTransformerType(type) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 530 | function AddProxiesFromSubscriptionOperator({ | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 607 | function normalizeResolveDomainConcurrency(concurrency) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 624 | function normalizeResolveDomainCustomDnsConcurrency(concurrency) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 641 | function normalizeResolveDomainTimeout(timeout, defaultTimeout) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 673 | function normalizeResolveDomainCacheTtl(cacheTtl) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 699 | function normalizeCustomDnsUrlList(url) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 703 | async function resolveDomainsWithConcurrency( | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 721 | async function resolveWithCustomDnsConcurrency(urls, concurrency, resolveUrl) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 797 | function getCachedDomainResolverResult( | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 850 | function packCustomDnsCachedResult(result, resolverUrl) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 857 | function unpackCustomDnsCachedResult(cached) { | CODE |
| LOW | backend/src/core/proxy-utils/processors/index.js | 869 | function getCustomDnsResultResolverUrl(result) { | CODE |
| LOW | backend/src/test/utils/request-concurrency.spec.js | 26 | function setRequestConcurrencySettings(settings) { | CODE |
| LOW | backend/src/test/restful/download.spec.js | 74 | async function requestDownloadSubscription(query) { | CODE |
| LOW | backend/src/test/restful/download.spec.js | 119 | async function requestDownloadCollection(query) { | CODE |
| LOW | backend/src/utils/download.js | 37 | function maybePrefixGithubProxyUrl(url, githubProxy, githubProxyRegex) { | CODE |
| LOW | backend/src/utils/download.js | 123 | function formatPlainDownloadResult(result, returnRaw) { | CODE |
| LOW | backend/src/utils/artifact-cron.js | 33 | function shouldSyncArtifactInGlobalCron(artifact) { | CODE |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/core/proxy-utils/producers/sing-box.js | 1361 | // '2022-blake3-aes-256-gcm', | COMMENT |
| LOW | backend/src/core/proxy-utils/producers/clashmeta.js | 221 | } else if (proxy.type === 'snell' && proxy.version < 3) { | COMMENT |
| LOW | backend/src/utils/index.js | 61 | COMMENT | |
| LOW | backend/src/utils/index.js | 81 | // (array[i++] & 0x3f); | COMMENT |
| LOW | scripts/demo.js | 1 | function operator(proxies = [], targetPlatform, context) { | COMMENT |
| LOW | scripts/demo.js | 21 | // 输出到 Clash/Stash 时, 会过滤掉配置了前置代理的节点, 并提示使用对应的功能. | COMMENT |
| LOW | scripts/demo.js | 41 | // 23. `interface-name` 指定流量出站接口 只给 Surge 用的话, `interface` 也可以 | COMMENT |
| LOW | scripts/demo.js | 61 | // require 为 Node.js 的 require, 在 Node.js 运行环境下 可以用来引入模块 | COMMENT |
| LOW | scripts/demo.js | 81 | // method, | COMMENT |
| LOW | scripts/demo.js | 101 | // } | COMMENT |
| LOW | scripts/demo.js | 121 | // $content = `I'm a teapot` | COMMENT |
| LOW | scripts/demo.js | 141 | // }), | COMMENT |
| LOW | scripts/demo.js | 161 | // cache.get('a:2', 1000, true) | COMMENT |
| LOW | scripts/demo.js | 181 | COMMENT | |
| LOW | scripts/demo.js | 201 | // ipAddress, // https://github.com/beaugunderson/ip-address | COMMENT |
| LOW | scripts/demo.js | 221 | // JSON5, // https://github.com/json5/json5 | COMMENT |
| LOW | scripts/demo.js | 241 | // config 的本地内容为 | COMMENT |
| LOW | scripts/demo.js | 261 | // armored, | COMMENT |
| LOW | scripts/demo.js | 281 | // 1. https://telegram.me/zhetengsha/1111 | COMMENT |
| LOW | scripts/demo.js | 301 | COMMENT | |
| LOW | scripts/demo.js | 321 | // $content = ProxyUtils.yaml.dump({}) | COMMENT |
| LOW | scripts/demo.js | 341 | // 可参考: | COMMENT |
| LOW | scripts/demo.js | 361 | // 脚本操作只控制后续非修改响应操作 | COMMENT |
| LOW | scripts/demo.js | 381 | // 这个历史遗留原因, 是有点复杂. 提供一个例子, 用来取当前脚本所在的组合订阅或单条订阅名称 | COMMENT |
| LOW | scripts/demo.js | 401 | // "mergeSources": "", | COMMENT |
| LOW | scripts/demo.js | 421 | // "displayName": "", | COMMENT |
| LOW | scripts/demo.js | 441 | // "mergeSources": "", | COMMENT |
| LOW | scripts/demo.js | 461 | // ], | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/test/utils/gist.spec.js | 122 | content: 'placeholder', | CODE |
| LOW | backend/src/test/utils/gist.spec.js | 129 | content: 'placeholder', | CODE |
| LOW | backend/src/test/utils/gist.spec.js | 174 | content: 'placeholder', | CODE |