Repository Analysis

openwrt/packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md

4.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of openwrt/packages, a Makefile project with 4,553 GitHub stars. SynthScan v2.0 examined 74,875 lines of code across 806 source files, recording 171 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 4.4 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.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.6K
Stars
Makefile
Language
74.9K
Lines of Code
806
Files
171
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 68LOW 103

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 171 distinct pattern matches across 11 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.

Decorative Section Separators49 hits · 168 pts
SeverityFileLineSnippetContext
MEDIUMnet/nginx-util/src/test-nginx-util-root.sh56# ----------------------------------------------------------------------------COMMENT
MEDIUMnet/nginx-util/src/test-nginx-util-root.sh152# ----------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh31# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh33# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh37# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh39# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh52# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh54# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh82# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh91# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh114# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh124# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh143# ---------------------------------------------------------------------------COMMENT
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh145# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh191# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh196# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh201# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh248# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh255# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh265# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh270# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh104# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh106# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh123# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh129# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh212# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh349# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh363# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh401# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh413# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh458# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh465# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh483# ---------------------------------------------------------------------------COMMENT
MEDIUM…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh498# ---------------------------------------------------------------------------COMMENT
MEDIUMnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh44# ---------------------------------------------------------------------------COMMENT
MEDIUMnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh162# ---------------------------------------------------------------------------COMMENT
MEDIUMnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh221# ---------------------------------------------------------------------------COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh17# ── Temp directories ─────────────────────────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh29# ── Copy test data ───────────────────────────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh33# ── Prepare resolved mock fixtures (replace TESTDIR placeholder) ─────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh43# ── Create resolver stubs ───────────────────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh79# ── Patch adblock-fast.uc ───────────────────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh136# ── Set up environment ───────────────────────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh144# ── Test framework (adapted from mwan4) ──────────────────────────────COMMENT
MEDIUMnet/adblock-fast/tests/run_tests.sh363# ── Shell script syntax checks ──────────────────────────────────────COMMENT
MEDIUMnet/https-dns-proxy/tests/run_tests.sh41# ── Mock OpenWrt rc.common framework ─────────────────────────────────COMMENT
MEDIUMnet/https-dns-proxy/tests/run_tests.sh71# ── Mock UCI backend ────────────────────────────────────────────────COMMENT
MEDIUMnet/https-dns-proxy/tests/run_tests.sh176# ── Mock network/system commands ─────────────────────────────────────COMMENT
MEDIUMnet/https-dns-proxy/tests/run_tests.sh193# ── Source the init script (skip the shebang line) ──────────────────COMMENT
Over-Commented Block88 hits · 84 pts
SeverityFileLineSnippetContext
LOWnet/frr/files/frrcommon.sh1#!/bin/shCOMMENT
LOWnet/nginx-util/src/ubus-cxx.hpp1#ifndef _UBUS_CXX_HPPCOMMENT
LOWnet/nginx-util/src/px5g-openssl.hpp1#ifndef _PX5G_OPENSSL_HPPCOMMENT
LOWnet/nginx-util/src/regex-pcre.hpp441 // 54 DEFINE group contains more than one branchCOMMENT
LOWnet/nginx-util/src/nginx-ssl-util.hpp1#ifndef __NGINX_SSL_UTIL_HPPCOMMENT
LOWnet/nginx-util/src/nginx-util.hpp1#ifndef __NGINX_UTIL_HCOMMENT
LOWnet/lynx/files/lynx.cfg1#COMMENT
LOWnet/ibrdtnd/files/safety-wrapper.sh1#!/bin/shCOMMENT
LOWnet/knot/test.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/samples/slaac_sample.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/samples/update_sample.sh1# sample script for sending user defined updatesCOMMENT
LOWnet/ddns-scripts/samples/getlocalip_sample.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_nsupdate.sh1#COMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh1#!/bin/shCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh21# This script is parsed by dynamic_dns_functions.sh inside send_update() functionCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_scaleway_com.sh1#!/bin/shCOMMENT
LOW…s-scripts/files/usr/lib/ddns/update_namesilo_com_v1.sh1#!/bin/shCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh1#!/bin/shCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_netcup_com.sh21# 1. Deep subdomains: domain=test.internal.example.orgCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh1#COMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_transip_nl.sh1#!/bin/shCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh1#!/bin/shCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh21# - Record type safety: the record type is verified against the configuredCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh41#COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh61# option domain 'hostname.yourdomain.com'COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh81# --data-urlencode "username=USERNAME" \COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh201# ---------------------------------------------------------------------------COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh341COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh401# ---------------------------------------------------------------------------COMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_blazingfast_io.sh481fiCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh1#!/bin/shCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh81trap "trap_handler 2" 2 # SIGINT Terminal interruptCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh101#COMMENT
LOW…ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh121# check_interval_min check_interval minimum value (used to be check_interval's minimum value of 300 seconds)COMMENT
LOW…scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh1#!/bin/shCOMMENT
LOW…scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh21# https://dash.cloudflare.com/profile/api-tokensCOMMENT
LOW…dns-scripts/files/usr/lib/ddns/update_hetzner_cloud.sh1#!/bin/shCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/update_godaddy_com_v1.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh21# equal to the file path. This script supports JSON keys or the raw privateCOMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh41COMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh61 # The "password" field provides us with the service account key.COMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh161# Google Cloud DNS APICOMMENT
LOW…ns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh1#!/bin/shCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh321 #COMMENT
LOW…ns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh341 #.Anthony Thyssen 6 April 2011COMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_no-ip_com.sh1#COMMENT
LOW…s-scripts/files/usr/lib/ddns/update_huaweicloud_com.sh1#!/bin/shCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_aliyun_com.sh1#!/bin/shCOMMENT
LOW…s-scripts/files/usr/lib/ddns/dynamic_dns_lucihelper.sh1#!/bin/shCOMMENT
LOWnet/ddns-scripts/files/usr/lib/ddns/update_luadns_v1.sh1#!/bin/shCOMMENT
LOW…ripts/files/usr/lib/ddns/update_digitalocean_com_v2.sh1# Script for sending user defined updates using the DigitalOcean APICOMMENT
LOWnet/dnscrypt-proxy2/files/blocked-names.txt1COMMENT
LOWnet/rp-pppoe/files/ppp_defs.h1#ifndef _NET_PPP_DEFS_HCOMMENT
LOWnet/wifischedule/net/usr/bin/wifi_schedule.sh1#!/bin/ashCOMMENT
LOWnet/siit/src/siit.c1/*COMMENT
LOWnet/siit/src/siit.c21#include <net/icmp.h> /* struct icmphdr */COMMENT
LOWnet/adblock-fast/tests/run_tests.sh1#!/usr/bin/env bashCOMMENT
LOWnet/speedtest-netperf/files/speedtest-netperf.sh1#!/bin/shCOMMENT
LOWnet/speedtest-netperf/files/speedtest-netperf.sh21# provides a stress test by dowloading and uploading streams simultaneously.COMMENT
28 more matches not shown…
Self-Referential Comments17 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMnet/nginx-util/src/nginx-util.cpp8 std::string_view{"# This file is re-created when Nginx starts.\n"};CODE
MEDIUMnet/nginx-util/src/test-nginx-util-root.sh88fileauto="# This file is re-created when Nginx starts."CODE
MEDIUM…t/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh97# Create a new A/AAAA recordCOMMENT
MEDIUMnet/uacme/files/dns_persist.sh4# This file is part of uacme.COMMENT
MEDIUMnet/uacme/files/httpchalhook.sh4# This file is part of uacme.COMMENT
MEDIUMnet/uacme/files/dnschalhook.sh4# This file is part of uacme.COMMENT
MEDIUMnet/https-dns-proxy/tests/run_tests.sh536 # Create a test config with old option namesCOMMENT
MEDIUMnet/unbound/files/unbound.sh1168 # Create a static zone for WAN host record only (singular)COMMENT
MEDIUMnet/kea/files/dhcp4.sh912 echo "# This file is generated by the DHCPD service" > /tmp/resolv.confCODE
MEDIUMnet/boinc/files/remote_hosts.cfg1# This file contains a list of hostnames or IP addresses (one per line)COMMENT
MEDIUMlang/python/python-pluggy/test.sh14# Define a hookspec and hookimplCOMMENT
MEDIUMlang/python/python-attrs/test.sh9# Define a class with attrsCOMMENT
MEDIUMlang/python/python-pycares/test.sh15# Create a channel (without actually making DNS queries)COMMENT
MEDIUMlang/python/python-pyudev/test.sh17# Create a Context (requires libudev to be available)COMMENT
MEDIUMlang/python/openpyxl/test.sh10# Create a workbook and write dataCOMMENT
MEDIUMmultimedia/graphicsmagick/test.sh8 # Create a small test imageCOMMENT
MEDIUMmultimedia/imagemagick/test.sh14 # Create a test image via the ImageMagick convert commandCOMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh171 # Step 1: Concatenate request stringCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh195 # Step 2: Concatenate signed stringCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh208 # Step 3: Calculate signatureCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh218 # Step 4: Concatenate AuthorizationCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh171 # Step 1: Concatenate request stringCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh195 # Step 2: Concatenate signed stringCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh208 # Step 3: Calculate signatureCOMMENT
LOW…ddns-scripts/files/usr/lib/ddns/update_dnspod_cn_v3.sh218 # Step 4: Concatenate AuthorizationCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMnet/ddns-scripts/samples/update_sample.sh10# so you can use all available functions and global variables inside this scriptCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_transip_nl.sh11# (make sure to accept non-whitelisted IP addresses)COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh221# Check if we are being called for GET_REGISTERED_IP modeCOMMENT
LOW…ns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh906 # Check if valid IP was foundCOMMENT
LOW…t/ddns-scripts/files/usr/lib/ddns/update_aliyun_com.sh157 # Check if __RECORD_COUNT is set before using itCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMnet/knot/test.sh59 # Pure-library / test-harness subpackages; the generic ELF /COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlang/python/micropython-lib/install.py11CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlang/python/micropython-lib/install.py16CODE
Fake / Example Data1 hit · 0 pts
SeverityFileLineSnippetContext
LOWlang/python/vobject/test.sh17assert vcard.fn.value == "John Doe"STRING