Repository Analysis

kenzok8/openwrt-packages

openwrt常用软件包

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kenzok8/openwrt-packages, a Shell project with 7,167 GitHub stars. SynthScan v2.0 examined 76,036 lines of code across 355 source files, recording 79 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.0 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).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-31
Last Push
7.2K
Stars
Shell
Language
76.0K
Lines of Code
355
Files
79
Pattern Hits
2026-08-02
Scan Date
0.04
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 13HIGH 0MEDIUM 44LOW 22

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

Hallucination Indicators13 hits · 140 pts
SeverityFileLineSnippetContext
CRITICAL…p-istorex/htdocs/luci-static/istorex/chunk.fdf02bc2.js1var qe=Object.defineProperty,Ue=Object.defineProperties;var He=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropCODE
CRITICALluci-app-istorex/htdocs/luci-static/istorex/index.js32j.version="2.29.4";h4(ze);j.fn=B;j.min=ep;j.max=tp;j.now=np;j.utc=yn;j.unix=P8;j.months=I8;j.isDate=Xr;j.locale=ts;j.invCODE
CRITICALluci-app-istorex/htdocs/luci-static/istorex/index.js36 */const xs=typeof window!="undefined";function C7(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const $e=ObCOMMENT
CRITICAL…ial_new/htdocs/luci-static/atmaterial/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…w/htdocs/luci-static/atmaterial_Brown/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…new/htdocs/luci-static/atmaterial_red/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…heme-design/htdocs/luci-static/design/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALluci-theme-ifit/files/htdocs/js/vendor.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALluci-theme-ifit/files/htdocs/js/vendor.min.js20!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&defineCODE
CRITICAL…p-openclaw/root/usr/share/openclaw/ui/lib/xterm.min.js7!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof defineCODE
CRITICAL…heme-tomato/htdocs/luci-static/tomato/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…-app-quickstart/htdocs/luci-static/quickstart/index.js1var go=Object.defineProperty,vo=Object.defineProperties;var bo=Object.getOwnPropertyDescriptors;var xa=Object.getOwnPropCODE
CRITICAL…www/luci-static/resources/codemirror/lib/codemirror.js1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
Decorative Section Separators39 hits · 120 pts
SeverityFileLineSnippetContext
MEDIUMluci-app-openclaw/scripts/install.sh2# ============================================================================COMMENT
MEDIUMluci-app-openclaw/scripts/install.sh5# ============================================================================COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh2246# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh2248# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh2249# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh2251# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh2# ============================================================================COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh5# ============================================================================COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh627# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh629# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1290# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1292# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1364# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1366# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1528# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1530# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1733# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1735# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1835# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1837# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1882# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1884# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1993# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/usr/share/openclaw/oc-config.sh1995# ══════════════════════════════════════════════════════════════COMMENT
MEDIUMluci-app-openclaw/root/etc/profile.d/openclaw.sh2# ============================================================================COMMENT
MEDIUMluci-app-openclaw/root/etc/profile.d/openclaw.sh6# ============================================================================COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js18// ── RPCs ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js32// ── Log-line HTML button parser ──────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js87// ── Per-action state machine ──────────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js125// ── Poll handler (called at 1 Hz) ────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js262// ── Main view ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js289 // ── Action buttons (left column) ──────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js403 // ── Layout ────────────────────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js439 // ── Populate version spans ────────────────────────────────────────COMMENT
MEDIUM…gic/htdocs/luci-static/resources/view/amlogic/check.js458 // ── 1 Hz poll ─────────────────────────────────────────────────────COMMENT
MEDIUMluci-theme-glass/build-pkg.sh55# ============================================================COMMENT
MEDIUMluci-theme-glass/build-pkg.sh57# ============================================================COMMENT
MEDIUMluci-theme-glass/build-pkg.sh98# ============================================================COMMENT
MEDIUMluci-theme-glass/build-pkg.sh101# ============================================================COMMENT
AI Slop Vocabulary5 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMluci-theme-ifit/files/htdocs/js/vue.global.prod.js13/*! #__NO_SIDE_EFFECTS__ */function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}COMMENT
MEDIUMluci-theme-ifit/files/htdocs/js/vue.global.prod.js13/*! #__NO_SIDE_EFFECTS__ */function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}COMMENT
MEDIUM…theme-argon/htdocs/luci-static/resources/menu-argon.js332 'data-title': child.title.replace(/ /g, "_"), // More robust space replacementCODE
MEDIUMluci-app-ddnsto/root/www/luci-static/ddnsto/index.js33 */var Uu;function Zd(){if(Uu)return tt;Uu=1;var v=Ai(),N=Gd();function d(e){for(var t="https://reactjs.org/docs/error-dCOMMENT
MEDIUMluci-app-ddnsto/root/www/luci-static/ddnsto/index.js33 */var Uu;function Zd(){if(Uu)return tt;Uu=1;var v=Ai(),N=Gd();function d(e){for(var t="https://reactjs.org/docs/error-dCOMMENT
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ic/htdocs/luci-static/resources/view/amlogic/backup.js72 // Step 1: ask the server to pack /etc into openwrt_config.tar.gz.COMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_plugin.sh120# Step 2: Check if there is the latest plugin versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_plugin.sh181# Step 3: Download the latest plugin versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh145# Step 2: Check if there is the latest kernel versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh205# Step 3: Download the latest kernel versionCOMMENT
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ic/htdocs/luci-static/resources/view/amlogic/backup.js72 // Step 1: ask the server to pack /etc into openwrt_config.tar.gz.COMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_plugin.sh120# Step 2: Check if there is the latest plugin versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_plugin.sh181# Step 3: Download the latest plugin versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh145# Step 2: Check if there is the latest kernel versionCOMMENT
LOW…amlogic/root/usr/share/amlogic/amlogic_check_kernel.sh205# Step 3: Download the latest kernel versionCOMMENT
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…terial_new/htdocs/luci-static/atmaterial/css/style.css761#memfree > div,COMMENT
LOW…al_new/htdocs/luci-static/atmaterial_red/css/style.css761#memfree > div,COMMENT
LOWluci-app-openclaw/root/usr/share/openclaw/ui/index.html21 .xterm-viewport::-webkit-scrollbar-thumb:hover{background:#3b3d57}COMMENT
LOWluci-theme-argon/less/dark.less261#swaptotal > div > div,COMMENT
LOWluci-theme-alpha/luasrc/app.js21 // const themetoggler = document.querySelector(".themetoggler");COMMENT
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…p-istorex/htdocs/luci-static/istorex/chunk.fdf02bc2.js1var qe=Object.defineProperty,Ue=Object.defineProperties;var He=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropCODE
LOW…-app-quickstart/htdocs/luci-static/quickstart/index.js1var go=Object.defineProperty,vo=Object.defineProperties;var bo=Object.getOwnPropertyDescriptors;var xa=Object.getOwnPropCODE
LOW…-app-quickstart/htdocs/luci-static/quickstart/index.js3`+d.value,disabled:""},null,8,RF)]),t("div",WF,[t("div",{class:"close",onClick:m,disabled:u.value},i(e(a)("\u5173\u95ED"CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWluci-theme-ifit/files/htdocs/js/vue.global.prod.js21/*! #__NO_SIDE_EFFECTS__ */const ec="undefined"!=typeof HTMLElement?HTMLElement:class{};class tc extends ec{constructor(COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ci-theme-design/htdocs/luci-static/design/js/design.js68{return!!(XHR._r&&XHR._i);};(function($){function settingsStatusRealtimeOverflow(){if(self.location.pathname.includes("sCODE
LOWluci-theme-ifit/files/htdocs/js/lottie.min.js13 "use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,exprCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWluci-app-openclaw/root/usr/share/openclaw/web-pty.js266function handleRequest(req, res) {CODE