Repository Analysis

sub-store-org/Sub-Store

Advanced Subscription Manager for QX, Loon, Surge, Stash, Egern and Shadowrocket!

2.5 Likely human-written View on GitHub

Analysis Overview

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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.1K
Stars
JavaScript
Language
61.8K
Lines of Code
149
Files
144
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 144

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers113 hits · 123 pts
SeverityFileLineSnippetContext
LOWbackend/src/core/proxy-utils/vmess-security.js29function canonicalizeVmessSecurity(security) {CODE
LOWbackend/src/core/proxy-utils/vmess-security.js57export function normalizeClashVmessSecurity(security) {CODE
LOWbackend/src/core/proxy-utils/vmess-security.js75export function formatSurgeVmessEncryptMethod(security) {CODE
LOWbackend/src/core/proxy-utils/transport-path.js89export function getSafeIntegerPathQueryParam(rawPath, paramName) {CODE
LOWbackend/src/core/proxy-utils/transport-path.js125export function normalizeWebSocketEarlyDataPath(wsOpts) {CODE
LOWbackend/src/core/proxy-utils/transport-path.js160export function deleteHttpUpgradeEarlyDataMetadata(wsOpts) {CODE
LOWbackend/src/core/proxy-utils/index.js614function isRootHeaderSensitiveProxy(proxy) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js1function parseNormalizedXhttpRangeBounds(CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js61function parseNormalizedXhttpPositiveRangeBounds(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js67function parseNormalizedXhttpStrictPositiveRangeBounds(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js74export function normalizeXhttpPositiveRange(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js84export function normalizeXhttpStrictPositiveRangeString(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js94export function normalizeXhttpStrictPositiveRangeValue(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js104export function normalizeXhttpNonNegativeRange(value) {CODE
LOWbackend/src/core/proxy-utils/xhttp-utils.js114export function normalizeXhttpIntegerValue(CODE
LOWbackend/src/core/proxy-utils/ech-utils.js39export function isSupportedXrayEchConfigList(echConfigList) {CODE
LOWbackend/src/core/proxy-utils/ech-utils.js43export function isSupportedXrayEchForceQuery(forceQuery) {CODE
LOWbackend/src/core/proxy-utils/ech-utils.js60export function buildMihomoEchOptsFromXrayFields({CODE
LOWbackend/src/core/proxy-utils/ech-utils.js93export function buildXrayEchFieldsFromMihomo(CODE
LOWbackend/src/core/proxy-utils/ech-utils.js142export function buildXrayEchConfigListFromMihomo(CODE
LOWbackend/src/core/proxy-utils/parsers/index.js57function decodeShadowsocksUserInfo(rawUserInfoStr) {CODE
LOWbackend/src/core/proxy-utils/parsers/index.js121function parseWireGuardURIAddressValue(value) {CODE
LOWbackend/src/core/proxy-utils/parsers/peggy/surge.js83 function startsWithQuotedHeaderKey(text) {CODE
LOWbackend/src/core/proxy-utils/producers/shadowrocket.js303function hasShadowrocketSnellShadowTlsObfsConflict(proxy) {CODE
LOWbackend/src/core/proxy-utils/producers/clashmeta.js25function warnMihomoUnsupportedEchDns(proxy, echOpts, echOptsPath) {CODE
LOWbackend/src/core/proxy-utils/producers/clashmeta.js38function warnMihomoUnsupportedEchDnsFields(proxy, type) {CODE
LOWbackend/src/core/proxy-utils/producers/clashmeta.js443function hasMihomoSnellShadowTlsObfsConflict(proxy) {CODE
LOWbackend/src/core/proxy-utils/producers/clashmeta.js453function getMihomoShadowTlsVersion(proxy) {CODE
LOWbackend/src/core/proxy-utils/producers/utils.js59export function normalizePluginMuxBooleanValue(mux) {CODE
LOWbackend/src/core/proxy-utils/producers/utils.js83function parseWireGuardInterfaceAddress(value, family) {CODE
LOWbackend/src/core/proxy-utils/producers/utils.js99function normalizeWireGuardInterfaceAddress(proxy, config) {CODE
LOWbackend/src/core/proxy-utils/producers/utils.js116export function normalizeWireGuardInterface(proxy = {}) {CODE
LOWbackend/src/core/proxy-utils/producers/utils.js132export function getWireGuardAddressWithCIDR(proxy = {}, family = 'ipv4') {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js54function setHttpUpgradeEarlyDataPath(path, transportOpts) {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js66function setWebSocketEarlyDataPath(path, transportOpts) {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js96function getSerializableXhttpRangeValue(value) {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js171function applyStructuredXhttpExtraFields(CODE
LOWbackend/src/core/proxy-utils/producers/uri.js286function buildXhttpDownloadSettings(CODE
LOWbackend/src/core/proxy-utils/producers/uri.js435function buildStructuredVlessExtraObject(proxy) {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js471function mergeUnsupportedXhttpExtraValue(baseValue, unsupportedValue) {CODE
LOWbackend/src/core/proxy-utils/producers/uri.js487function mergeUnsupportedXhttpExtraObject(baseObject, unsupportedObject) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js29export function isResponseTransformerType(type) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js530function AddProxiesFromSubscriptionOperator({CODE
LOWbackend/src/core/proxy-utils/processors/index.js607function normalizeResolveDomainConcurrency(concurrency) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js624function normalizeResolveDomainCustomDnsConcurrency(concurrency) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js641function normalizeResolveDomainTimeout(timeout, defaultTimeout) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js673function normalizeResolveDomainCacheTtl(cacheTtl) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js699function normalizeCustomDnsUrlList(url) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js703async function resolveDomainsWithConcurrency(CODE
LOWbackend/src/core/proxy-utils/processors/index.js721async function resolveWithCustomDnsConcurrency(urls, concurrency, resolveUrl) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js797function getCachedDomainResolverResult(CODE
LOWbackend/src/core/proxy-utils/processors/index.js850function packCustomDnsCachedResult(result, resolverUrl) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js857function unpackCustomDnsCachedResult(cached) {CODE
LOWbackend/src/core/proxy-utils/processors/index.js869function getCustomDnsResultResolverUrl(result) {CODE
LOWbackend/src/test/utils/request-concurrency.spec.js26 function setRequestConcurrencySettings(settings) {CODE
LOWbackend/src/test/restful/download.spec.js74async function requestDownloadSubscription(query) {CODE
LOWbackend/src/test/restful/download.spec.js119async function requestDownloadCollection(query) {CODE
LOWbackend/src/utils/download.js37function maybePrefixGithubProxyUrl(url, githubProxy, githubProxyRegex) {CODE
LOWbackend/src/utils/download.js123function formatPlainDownloadResult(result, returnRaw) {CODE
LOWbackend/src/utils/artifact-cron.js33function shouldSyncArtifactInGlobalCron(artifact) {CODE
53 more matches not shown…
Over-Commented Block28 hits · 26 pts
SeverityFileLineSnippetContext
LOWbackend/src/core/proxy-utils/producers/sing-box.js1361 // '2022-blake3-aes-256-gcm',COMMENT
LOWbackend/src/core/proxy-utils/producers/clashmeta.js221 } else if (proxy.type === 'snell' && proxy.version < 3) {COMMENT
LOWbackend/src/utils/index.js61COMMENT
LOWbackend/src/utils/index.js81// (array[i++] & 0x3f);COMMENT
LOWscripts/demo.js1function operator(proxies = [], targetPlatform, context) {COMMENT
LOWscripts/demo.js21 // 输出到 Clash/Stash 时, 会过滤掉配置了前置代理的节点, 并提示使用对应的功能.COMMENT
LOWscripts/demo.js41 // 23. `interface-name` 指定流量出站接口 只给 Surge 用的话, `interface` 也可以COMMENT
LOWscripts/demo.js61 // require 为 Node.js 的 require, 在 Node.js 运行环境下 可以用来引入模块COMMENT
LOWscripts/demo.js81 // method,COMMENT
LOWscripts/demo.js101 // }COMMENT
LOWscripts/demo.js121 // $content = `I'm a teapot`COMMENT
LOWscripts/demo.js141 // }),COMMENT
LOWscripts/demo.js161 // cache.get('a:2', 1000, true)COMMENT
LOWscripts/demo.js181COMMENT
LOWscripts/demo.js201 // ipAddress, // https://github.com/beaugunderson/ip-addressCOMMENT
LOWscripts/demo.js221 // JSON5, // https://github.com/json5/json5COMMENT
LOWscripts/demo.js241 // config 的本地内容为COMMENT
LOWscripts/demo.js261 // armored,COMMENT
LOWscripts/demo.js281 // 1. https://telegram.me/zhetengsha/1111COMMENT
LOWscripts/demo.js301COMMENT
LOWscripts/demo.js321 // $content = ProxyUtils.yaml.dump({})COMMENT
LOWscripts/demo.js341 // 可参考:COMMENT
LOWscripts/demo.js361 // 脚本操作只控制后续非修改响应操作COMMENT
LOWscripts/demo.js381 // 这个历史遗留原因, 是有点复杂. 提供一个例子, 用来取当前脚本所在的组合订阅或单条订阅名称COMMENT
LOWscripts/demo.js401 // "mergeSources": "",COMMENT
LOWscripts/demo.js421 // "displayName": "",COMMENT
LOWscripts/demo.js441 // "mergeSources": "",COMMENT
LOWscripts/demo.js461 // ],COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWbackend/src/test/utils/gist.spec.js122 content: 'placeholder',CODE
LOWbackend/src/test/utils/gist.spec.js129 content: 'placeholder',CODE
LOWbackend/src/test/utils/gist.spec.js174 content: 'placeholder',CODE