A Clash Client For OpenWrt
This report summarizes scanner evidence for vernesong/OpenClash, a HTML project with 27,734 GitHub stars. SynthScan examined 46,637 lines of code across 117 source files, recording 116 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 6.3 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 88 finding(s).
Are imports declared and package/API names verified? 24 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 116 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 116 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 |
|---|---|---|---|---|
| CRITICAL | …share/openclash/ui/metacubexd/assets/index-Csmv4Fkv.js | 104 | */var nO=hn("filled","circle-check-filled","IconCircleCheckFilled",[["path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.00 | COMMENT |
| CRITICAL | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 18 | `),in:"SourceGraphic",result:"brightness"}),h.enabled&&s.addShadow(c,t,h,"brightness")}),!h.noUserSpaceOnUse&&(( | CODE |
| CRITICAL⚡ | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 33 | a `).concat(a/2,",").concat(a/2," 0 1,0 -").concat(a,",0")}return s}},{key:"drawMarkerShape",value:function(e | CODE |
| CRITICAL⚡ | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 39 | </div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".conca | CODE |
| CRITICAL⚡ | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 40 | `:n,h=this.w;i||(i=h.config.series);var d=[],c=[],u="",g=h.globals.series.map(function(y,C){return h.globals.collapsedSe | CODE |
| CRITICAL | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 116 | `);return a.appendChild(r),a}},{key:"getLegendDimensions",value:function(){var e=this.w.globals.dom.baseEl.querySele | CODE |
| CRITICAL | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 142 | </svg>`),this.t.download&&r.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns=" | CODE |
| CRITICAL | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 145 | .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var | CODE |
| CRITICAL | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 850 | }`;var d=((h=e.opts.chart)===null||h===void 0?void 0:h.nonce)||e.w.config.chart.nonce;d&&l.setAttribute("nonce",d),r?s.p | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 18 | `,in:`SourceGraphic`,result:`brightness`}),s.enabled&&r.addShadow(e,t,s,`brightness`)})),!s.noUserSpaceOnUse&&(( | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 33 | a ${r/2},${r/2} 0 1,0 -${r},0`}return i}},{key:`drawMarkerShape`,value:function(e,t,n,r,i){var a=this.drawPat | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 39 | </div>`:`<div class="apexcharts-tooltip-box apexcharts-tooltip-${e.config.chart.type}"><div>${r[0]}: <span class | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 112 | } `,Kn=function(){function e(t){n(this,e),this.ctx=t,this.w=t.w,this.legendInactiveClass=`legend-mouseover-inactive`}ret | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 207 | `:o,c=this.w;n||=c.config.series;var l=[],u=[],d=``,f=c.globals.series.map((function(e,t){return c.globals.collapsedSeri | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 233 | </svg>`),this.t.download&&a.push({el:this.elMenuIcon,icon:typeof this.t.download==`string`?this.t.download:`<svg xmlns=" | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 236 | .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='${t}'] path[j='${e}']`));var s=o?parseFloat(o.g | CODE |
| CRITICAL | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 1017 | }`;var c=e.opts.chart?.nonce||e.w.config.chart.nonce;c&&s.setAttribute(`nonce`,c),a?i.prepend(s):!1!==e.w.config.chart.i | CODE |
| CRITICAL | …root/www/luci-static/resources/openclash/js/cm6.min.js | 9 | `;this.styleTag.textContent=o;let l=i.head||i;this.styleTag.parentNode!=l&&l.insertBefore(this.styleTag,l.firstChild)}}s | CODE |
| CRITICAL | …root/www/luci-static/resources/openclash/js/cm6.min.js | 94 | `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):i.push(a);continue}if(e){this.infiniteLoopError(e.ch | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | luci-app-openclash/tools/po2lmo/src/template_lmo.h | 21 | COMMENT | |
| LOW | luci-app-openclash/root/usr/share/openclash/YAML.rb | 281 | COMMENT | |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 41 | COMMENT | |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 101 | # !!!该URL不会验证secret, 如果开启请自行保证安全问题 !!! | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 161 | # inet4-route-address: # 启用 auto-route 时使用自定义路由而不是默认路由(旧写法) | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 181 | # - 00:11:22:33:44:55 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 221 | # - 192.168.0.3/32 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 321 | # - '8.8.8.8#en0' # 兼容指定 DNS 出口网卡 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 341 | COMMENT | |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 381 | # 下面两项如果填写则开启 mTLS(需要同时填写) | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 421 | # version: 4 # support 1/2/3/4/5 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 441 | type: ss | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 481 | plugin: v2ray-plugin | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 521 | cipher: chacha20-ietf-poly1305 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 541 | # Use this proxy through dialer-proxy to carry ss/vmess/vless/trojan/etc. | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 561 | port: 12345 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 581 | # - name: "ss6-gost-relay-forward" | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 681 | # client-fingerprint: chrome # Available: "chrome","firefox","safari","ios","random", currently only support TLS | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 721 | port: 443 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 741 | uuid: uuid | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 761 | # vless | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 801 | uuid: uuid | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 901 | host: xxx.com | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 921 | # sc-min-posts-interval-ms: 30 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 941 | # h-keep-alive-period: 0 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 961 | port: 443 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1001 | # max-connections: 1 # Maximum connections. Conflict with max-streams. | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1021 | # Host: example.com | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1041 | - name: "hysteria" | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1061 | # recv-window: 52428800 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1081 | # obfs: salamander # 默认为空,如果填写则开启 obfs,目前支持 salamander 和 gecko | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1101 | # token: public | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1121 | ip: 172.16.0.2 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1141 | # # pre-shared-key: 31aIhAPwktDGpH4JDhA8GNvjFXEf/a6+UaQRyOAiyfM= | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1161 | # i1: <b 0xf6ab3267fa><c><b 0xf6ab><t><r 10><wt 10> # AmneziaWG v1.5 and v2 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1181 | # exit-node: 100.64.0.1 # 使用指定 exit node,可填写节点 IP;也支持 auto:any | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1221 | # -----BEGIN OpenVPN Static key V1----- | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1301 | # heartbeat-interval: 10000 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1321 | # meta 和 sing-box 私有扩展,将 ss-uot 用于 udp 中继,开启此选项后 udp-relay-mode 将失效 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1421 | # sni: "example.com" | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1501 | - DIRECT | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1521 | # # 您可以通过 "mihomo age keygen-pq" 生成符合要求的 mlkem768-x25519 key | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1541 | interval: 600 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1661 | - name: socks5-in-1 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1681 | # ACATwY30o/RKgD6hgeQxwrSiApLaCgU+HKh7B6SUrAHaDwBD/g0APwAAIAAgHjzK | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1701 | # client-auth-cert: string # 证书 PEM 格式,或者 证书的路径 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1721 | # 下面两项如果填写则开启 tls(需要同时填写) | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1761 | # mode: http # Available: http, tls | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1781 | # sndwnd: 128 # set send window size(num of packets) | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1801 | listen: 0.0.0.0 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1821 | - name: vmess-in-1 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1841 | # ech-key: | | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1861 | # limit-fallback-download: | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1881 | # client-auth-type: "" # 可选值:""、"request"、"require-any"、"verify-if-given"、"require-and-verify" | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1921 | # xhttp-config: # 如果不为空则开启 xhttp 传输层 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1941 | # uplink-chunk-size: 0 # only applicable when uplink-data-placement is not body | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1961 | # 下面两项为mTLS配置项,如果client-auth-type设置为 "verify-if-given" 或 "require-and-verify" 则client-auth-cert必须不为空 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 2001 | certificate: ./server.crt # 证书 PEM 格式,或者 证书的路径 | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 2061 | # proxy: proxy # 如果不为空则直接将该入站流量交由指定 proxy 处理 (当 proxy 不为空时,这里的 proxy 名称必须合法,否则会出错) | COMMENT |
| LOW | …pp-openclash/root/usr/share/openclash/res/default.yaml | 2081 | # reality-config: | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …pp-openclash/root/usr/share/openclash/res/default.yaml | 803 | # ------------------------- | COMMENT |
| MEDIUM | …pp-openclash/root/usr/share/openclash/res/default.yaml | 813 | # ------------------------- | COMMENT |
| MEDIUM | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1945 | # ------------------------- | COMMENT |
| MEDIUM | …pp-openclash/root/usr/share/openclash/res/default.yaml | 1956 | # ------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …share/openclash/ui/metacubexd/assets/index-Csmv4Fkv.js | 9 | */var YA=js.exports,Rh;function XA(){return Rh||(Rh=1,function(e,t){(function(){var n,i="4.17.21",o=200,a="Unsupported | COMMENT |
| LOW | …share/openclash/ui/metacubexd/assets/Rules-C4_l0aqo.js | 9 | */const x={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},G | COMMENT |
| LOW | …/share/openclash/ui/metacubexd/assets/Logs-uIQcQmXC.js | 1 | import{u as O,d as e,ab as V,i as t,ac as I,ad as q,F as x,ae as H,af as Z,ag as d,ah as Q,ai as X,g as C,aj as W,ak as | CODE |
| LOW | …openclash/ui/metacubexd/assets/Connections-N_Z6THP_.js | 16 | */var se=O("filled","zoom-out-filled","IconZoomOutFilled",[["path",{d:"M14 3.072a8 8 0 0 1 2.617 11.424l4.944 4.943a1.5 | COMMENT |
| LOW | …root/www/luci-static/resources/openclash/js/cm6.min.js | 20 | `;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …re/openclash/ui/metacubexd/assets/Overview-B99qGorf.js | 40 | `:n,h=this.w;i||(i=h.config.series);var d=[],c=[],u="",g=h.globals.series.map(function(y,C){return h.globals.collapsedSe | CODE |
| LOW | …nclash/ui/metacubexd/assets/apexcharts.esm-D-nlnKto.js | 207 | `:o,c=this.w;n||=c.config.series;var l=[],u=[],d=``,f=c.globals.series.map((function(e,t){return c.globals.collapsedSeri | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …root/www/luci-static/resources/openclash/js/cm6.min.js | 32 | }`,{label:"class",detail:"definition",type:"keyword"}),M('import {${names}} from "${module}"\n${}',{label:"import",detai | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/root/www/luci-static/resources/openclash/js/common.js | 369 | function ocGetActiveEditorInstance() { | CODE |