LuCI - OpenWrt Configuration Interface
This report summarizes scanner evidence for openwrt/luci, a JavaScript project with 7,944 GitHub stars. SynthScan examined 254,597 lines of code across 1125 source files, recording 137 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 59 finding(s).
Are imports declared and package/API names verified? 74 finding(s).
Are wrappers, guards, and repeated structures necessary? 26 finding(s).
Which changes need focused human review? 137 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 137 distinct pattern matches across 5 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 | …tdocs/luci-static/resources/view/keepalived/globals.js | 36 | o.placeholder = 'admin@example.com'; | CODE |
| LOW | …tdocs/luci-static/resources/view/keepalived/globals.js | 41 | o.placeholder = 'admin@example.com'; | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 763 | function txt(name,val,ph){return E('input',{'type':'text','class':'cbi-input-text','id':'q-'+name,'data-q':name,'value | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1043 | [_('section name'),E('input',{'type':'text','class':'cbi-input-text','id':'qac-'+p.id.slice(9)+'-name','placeholder' | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1138 | 'value':pre==='list'?ph:'','placeholder':pre==='list'?'':ph | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1147 | this.qaCell(parent,opt,E('input',{'id':this.qaId(parent,opt),'class':'cbi-input-text','data-opt':opt,'type':'number',' | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1251 | var qr=[['match',5,qarType],['',8,E('input',{'type':'text','class':'cbi-input-text','id':'qar-val','aria-label':_('val | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1283 | ['',8,E('input',{'type':'text','class':'cbi-input-text','id':'qdy-val','aria-label':_('value'),'placeholder':_('e.g. | CODE |
| LOW | …osify/htdocs/luci-static/resources/view/qosify/main.js | 1286 | ['timeout',4,E('input',{'type':'number','min':'1','class':'cbi-input-text','id':'qdy-tmo','aria-label':'timeout','pla | CODE |
| LOW | …htdocs/luci-static/resources/view/dockerman/volumes.js | 126 | 'placeholder': _('volume name'), | CODE |
| LOW | …htdocs/luci-static/resources/view/dockerman/volumes.js | 137 | 'placeholder': 'key=value, key2=value2, ...', | CODE |
| LOW | …/luci-static/resources/view/dockerman/container_new.js | 397 | 'placeholder': _('Enter volume name or pick existing'), | CODE |
| LOW⚡ | …/luci-static/resources/view/dockerman/container_new.js | 426 | 'placeholder': '128m', | CODE |
| LOW⚡ | …/luci-static/resources/view/dockerman/container_new.js | 433 | 'placeholder': 'rwxr-xr-x or 1770', | CODE |
| LOW⚡ | …/luci-static/resources/view/dockerman/container_new.js | 441 | 'placeholder': 'nr_blocks=blocks,...', | CODE |
| LOW | …/luci-static/resources/view/dockerman/container_new.js | 457 | 'placeholder': _('/path/in/image'), | CODE |
| LOW | …/luci-static/resources/view/dockerman/container_new.js | 505 | 'placeholder': _('/mnt/path'), | CODE |
| LOW | …docs/luci-static/resources/view/dockerman/container.js | 875 | 'placeholder': '-ww', | CODE |
| LOW | …docs/luci-static/resources/view/dockerman/container.js | 1032 | 'placeholder': 'e.g., root or user id', | CODE |
| LOW | …docs/luci-static/resources/view/dockerman/container.js | 1135 | 'placeholder': _('Type command here... (Ctrl+D to detach)'), | CODE |
| LOW⚡ | …docs/luci-static/resources/view/dockerman/container.js | 1897 | 'placeholder': 'e.g., 172.18.0.5', | CODE |
| LOW⚡ | …docs/luci-static/resources/view/dockerman/container.js | 1905 | 'placeholder': 'e.g., 2001:db8:1::1', | CODE |
| LOW⚡ | …docs/luci-static/resources/view/dockerman/container.js | 1913 | 'placeholder': 'e.g., database,db (comma-separated)', | CODE |
| LOW | …/htdocs/luci-static/resources/view/dockerman/images.js | 630 | 'placeholder': '[registry.io[:443]/]myrepo/myimage' | CODE |
| LOW | …/htdocs/luci-static/resources/view/dockerman/images.js | 640 | 'placeholder': 'latest', | CODE |
| LOW | …nd/htdocs/luci-static/resources/view/unbound/status.js | 94 | 'placeholder': _('Statistics'), | CODE |
| LOW | …nd/htdocs/luci-static/resources/view/unbound/status.js | 106 | 'placeholder': _('Local Data'), | CODE |
| LOW | …nd/htdocs/luci-static/resources/view/unbound/status.js | 118 | 'placeholder': _('Local Zones'), | CODE |
| LOW | …nd/htdocs/luci-static/resources/view/unbound/status.js | 130 | 'placeholder': _('DNS Cache'), | CODE |
| LOW | …nd/htdocs/luci-static/resources/view/unbound/status.js | 141 | 'placeholder': _('Log'), | CODE |
| LOW⚡ | …docs/luci-static/resources/view/travelmate/overview.js | 81 | E('input', { 'class': 'cbi-input-text', 'id': 'iface', 'placeholder': 'trm_wwan', 'value': ifaceValue, 'maxlength': | CODE |
| LOW⚡ | …docs/luci-static/resources/view/travelmate/overview.js | 85 | E('input', { 'class': 'cbi-input-text', 'id': 'zone', 'placeholder': 'wan', 'maxlength': '15', 'spellcheck': 'false | CODE |
| LOW⚡ | …docs/luci-static/resources/view/travelmate/overview.js | 89 | E('input', { 'class': 'cbi-input-text', 'id': 'metric', 'placeholder': '100', 'maxlength': '3', 'spellcheck': 'fals | CODE |
| LOW | …t/htdocs/luci-static/resources/view/weechat/servers.js | 127 | 'placeholder': '#openwrt', | CODE |
| LOW | …t/htdocs/luci-static/resources/view/weechat/servers.js | 146 | 'placeholder': _('Optional key'), | CODE |
| LOW | …hat/htdocs/luci-static/resources/view/weechat/relay.js | 255 | 'placeholder': 'router.local' | CODE |
| LOW | …hat/htdocs/luci-static/resources/view/weechat/relay.js | 269 | 'placeholder': 'router.local, 192.168.1.1' | CODE |
| LOW | …htdocs/luci-static/resources/view/adblock/dnsreport.js | 129 | 'placeholder': 'google.com', | CODE |
| LOW | …htdocs/luci-static/resources/view/adblock/dnsreport.js | 583 | 'placeholder': _('Filter'), | CODE |
| LOW | …s/luci-static/resources/view/strongswan-swanctl/log.js | 72 | 'placeholder': _('Filter') | CODE |
| LOW | …mple/htdocs/luci-static/resources/view/example/form.js | 44 | o.placeholder = 'placeholder'; | CODE |
| LOW | …tdocs/luci-static/resources/view/system/filemanager.js | 1358 | 'placeholder': _('Directory Name'), | CODE |
| LOW | …tdocs/luci-static/resources/view/system/filemanager.js | 1415 | 'placeholder': _('File Name'), | CODE |
| LOW⚡ | …tdocs/luci-static/resources/view/system/filemanager.js | 2301 | 'placeholder': fileInfo.name, | CODE |
| LOW⚡ | …tdocs/luci-static/resources/view/system/filemanager.js | 2306 | 'placeholder': fileInfo.numericPermissions, | CODE |
| LOW⚡ | …tdocs/luci-static/resources/view/system/filemanager.js | 2311 | 'placeholder': fileInfo?.user || fileInfo.uid, | CODE |
| LOW⚡ | …tdocs/luci-static/resources/view/system/filemanager.js | 2316 | 'placeholder': fileInfo?.group || fileInfo.gid, | CODE |
| LOW | …p/htdocs/luci-static/resources/view/banip/setreport.js | 18 | 'placeholder': '192.168.0.1', | CODE |
| LOW | …r/htdocs/luci-static/resources/view/package-manager.js | 1259 | E('input', { 'type': 'text', 'name': 'filter', 'placeholder': _('Type to filter…'), 'value': query, 'input': handl | CODE |
| LOW | …r/htdocs/luci-static/resources/view/package-manager.js | 1267 | E('input', { 'type': 'text', 'name': 'install', 'placeholder': _('Package name or URL…'), 'keydown': function(ev) | CODE |
| LOW | …em/htdocs/luci-static/resources/view/system/sshkeys.js | 266 | 'placeholder': _('Paste or drag SSH key file…') , | CODE |
| LOW | …docs/luci-static/resources/view/network/switch-vlan.js | 291 | 'placeholder': _('label'), | CODE |
| LOW | …docs/luci-static/resources/view/network/switch-vlan.js | 468 | 'placeholder': _('label'), | CODE |
| LOW | …docs/luci-static/resources/view/network/switch-vlan.js | 544 | 'placeholder': _('VLAN'), | CODE |
| LOW | …docs/luci-static/resources/view/network/switch-vlan.js | 553 | 'placeholder': _('label (optional)'), | CODE |
| LOW | modules/luci-base/htdocs/luci-static/resources/ui.js | 126 | node.setAttribute('placeholder', value); | CODE |
| LOW | modules/luci-base/htdocs/luci-static/resources/ui.js | 128 | node.removeAttribute('placeholder'); | CODE |
| LOW | modules/luci-base/htdocs/luci-static/resources/ui.js | 418 | 'placeholder': this.options.placeholder, | CODE |
| LOW | modules/luci-base/htdocs/luci-static/resources/ui.js | 564 | 'placeholder': this.options.placeholder, | CODE |
| LOW | modules/luci-base/htdocs/luci-static/resources/ui.js | 1163 | 'placeholder': this.options.custom_placeholder ?? this.options.placeholder, | CODE |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libs/luci-lib-jsonc/src/jsonc.c | 241 | out: | COMMENT |
| LOW | libs/rpcd-mod-luci/src/luci.c | 21 | #include <stdio.h> | COMMENT |
| LOW | libs/rpcd-mod-luci/src/luci.c | 41 | #include <netlink/socket.h> | COMMENT |
| LOW | libs/luci-lib-ip/src/ip.c | 21 | #include <stdbool.h> | COMMENT |
| LOW | libs/rpcd-mod-rrdns/src/rrdns.c | 21 | #include <errno.h> | COMMENT |
| LOW | libs/luci-lib-nixio/src/splice.c | 21 | #endif | COMMENT |
| LOW | libs/luci-lib-nixio/src/user.c | 21 | #include <errno.h> | COMMENT |
| LOW | libs/luci-lib-nixio/src/sockopt.c | 21 | #ifndef __WINNT__ | COMMENT |
| LOW | libs/luci-lib-nixio/src/nixio-tls.h | 1 | #ifndef NIXIO_TLS_H_ | COMMENT |
| LOW | libs/luci-lib-nixio/src/nixio.h | 1 | #ifndef NIXIO_H_ | COMMENT |
| LOW | libs/luci-lib-nixio/src/nixio.h | 41 | int prefix; | COMMENT |
| LOW | libs/luci-lib-nixio/src/nixio.h | 61 | #define NIXIO_API extern | COMMENT |
| LOW | libs/luci-lib-nixio/src/mingw-compat.h | 1 | #ifndef NIXIO_MINGW_COMPAT_H_ | COMMENT |
| LOW | libs/luci-lib-nixio/src/mingw-compat.h | 21 | COMMENT | |
| LOW | .github/workflows/codeql.yml | 21 | # - '**/*.md' | COMMENT |
| LOW | .github/workflows/codeql.yml | 61 | uses: github/codeql-action/init@v4 | COMMENT |
| LOW | .github/workflows/codeql.yml | 81 | # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | COMMENT |
| LOW | .github/codeql/codeql-config.yml | 1 | name: "CodeQL config" | COMMENT |
| LOW | .github/codeql/codeql-config.yml | 21 | COMMENT | |
| LOW | …/htdocs/luci-static/resources/view/dockerman/events.js | 281 | COMMENT | |
| LOW | …htdocs/luci-static/resources/view/dockerman/volumes.js | 81 | } catch { | COMMENT |
| LOW | …tdocs/luci-static/resources/view/dockerman/networks.js | 81 | const output = JSON.stringify(msg, null, 2) + '\n'; | COMMENT |
| LOW | …docs/luci-static/resources/view/dockerman/container.js | 101 | COMMENT | |
| LOW | …plications/luci-app-advanced-reboot/tests/run_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …uci-static/resources/view/wifischedule/wifischedule.js | 1 | // Copyright (c) 2016, prpl Foundation | COMMENT |
| LOW | …mav/htdocs/luci-static/resources/view/clamav/clamav.js | 321 | */ | COMMENT |
| LOW | modules/luci-base/src/contrib/lemon.c | 1 | /* | COMMENT |
| LOW | modules/luci-base/src/contrib/lemon.c | 21 | COMMENT | |
| LOW | modules/luci-base/src/lib/luci.c | 21 | #include <pwd.h> | COMMENT |
| LOW | modules/luci-base/src/lib/lmo.h | 21 | COMMENT | |
| LOW | modules/luci-lua-runtime/src/template_parser.h | 21 | COMMENT | |
| LOW | modules/luci-lua-runtime/src/template_lmo.h | 21 | COMMENT | |
| LOW | modules/luci-lua-runtime/src/contrib/lemon.c | 1 | /* | COMMENT |
| LOW | modules/luci-lua-runtime/src/contrib/lemon.c | 21 | COMMENT | |
| LOW | modules/luci-mod-status/src/luci-bwc.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | …eme-footstrap/htdocs/luci-static/footstrap/cascade.css | 1001 | #packages:not(.fs-stacked) .tr>.td:first-child{white-space:nowrap} | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libs/luci-lib-uqr/htdocs/luci-static/resources/uqr.js | 7 | var QrCodeDataType=(t=>(t[t.Border=-1]="Border",t[t.Data=0]="Data",t[t.Function=1]="Function",t[t.Position=2]="Position" | CODE |
| LOW | …app-chrony/htdocs/luci-static/resources/view/chrony.js | 166 | function insertTypedSectionOptions(m, s, o, type, features) { | CODE |
| LOW | …ockerman/htdocs/luci-static/resources/dockerman/api.js | 262 | function createWebSocketConnection(host, path, query) { | CODE |
| LOW | …tdocs/luci-static/resources/view/dockerman/overview.js | 19 | function getImagesInUseByContainers(containers) { | CODE |
| LOW | …tdocs/luci-static/resources/view/dockerman/overview.js | 33 | function getNetworksInUseByContainers(containers) { | CODE |
| LOW | …tdocs/luci-static/resources/view/dockerman/overview.js | 53 | function getVolumesInUseByContainers(containers) { | CODE |
| LOW | …-dawn/htdocs/luci-static/resources/dawn/dawn-common.js | 74 | function getDawnServiceNotRunningErrorMessage() { | CODE |
| LOW | …s/luci-static/resources/view/olsr-services/services.js | 33 | function extractServiceInformation(results) { | CODE |
| LOW | …ldpd/htdocs/luci-static/resources/view/lldpd/config.js | 130 | function getLocationValueFromConfString(_key) { | CODE |
| LOW | …uci-app-frpc/htdocs/luci-static/resources/view/frpc.js | 1236 | function validateVirtualNetDestination(section, section_id, value) { | CODE |
| LOW | …uci-static/resources/view/strongswan-swanctl/status.js | 118 | function handleChildDetailsDismiss(connection) { | CODE |
| LOW | …uci-static/resources/view/strongswan-swanctl/status.js | 141 | function renderChildDetailsSection(childName, child) { | CODE |
| LOW | …uci-static/resources/view/strongswan-swanctl/status.js | 310 | function collectSwanmonErrorMessages(results) { | CODE |
| LOW | …ci-static/resources/view/strongswan-swanctl/swanctl.js | 696 | function getReferencingConnections(option, section_id, exclude, types) { | CODE |
| LOW | …ci-static/resources/view/strongswan-swanctl/swanctl.js | 825 | function handleConnectionModalSave(modalMap, ev) { | CODE |
| LOW | …ci-static/resources/view/strongswan-swanctl/swanctl.js | 846 | function handleConnectionModalCancel(modalMap, ev, isSaving) { | CODE |
| LOW | …m/htdocs/luci-static/resources/view/system/repokeys.js | 205 | function handleWindowDragDropIgnore(ev) { | CODE |
| LOW | …em/htdocs/luci-static/resources/view/system/sshkeys.js | 241 | function handleWindowDragDropIgnore(ev) { | CODE |
| LOW | …work/htdocs/luci-static/resources/view/network/dhcp.js | 114 | function generateDnsmasqInstanceEntry(d) { | CODE |
| LOW | …tdocs/luci-static/resources/view/status/connections.js | 154 | function joinAddressWithPortOrServiceName(address, port, protocol) { | CODE |
| LOW | …sil/htdocs/luci-static/resources/protocol/yggdrasil.js | 32 | function validateYggdrasilListenUri(section_id,value) { | CODE |
| LOW | …ard/htdocs/luci-static/resources/protocol/wireguard.js | 91 | function handleWindowDragDropIgnore(ev) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …plications/luci-app-advanced-reboot/tests/run_tests.sh | 16 | # ── Patch phase ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …plications/luci-app-advanced-reboot/tests/run_tests.sh | 32 | # ── Device JSON validation ────────────────────────────────────────── | COMMENT |
| MEDIUM | …plications/luci-app-advanced-reboot/tests/run_tests.sh | 127 | # ── Mock-based functional tests ──────────────────────────────────── | COMMENT |
| MEDIUM | …plications/luci-app-advanced-reboot/tests/run_tests.sh | 323 | # ── Shell script syntax checks ────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …urces/view/plugins/d0ecde1b009d44ff82faa8b0ff219cef.js | 56 | _('For demonstration purposes, the expected verification code. ' + | CODE |