Supports running Armbian on Amlogic, Allwinner, and Rockchip devices. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
This report presents the forensic synthetic code analysis of ophub/amlogic-s9xxx-armbian, a Shell project with 9,449 GitHub stars. SynthScan v2.0 examined 19,078 lines of code across 130 source files, recording 130 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 20.0 places this repository in the Moderate AI signal 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).
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.
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.
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.
The scanner identified 130 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 2 | #================================================================================== | COMMENT |
| MEDIUM | compile-kernel/tools/script/armbian_compile_kernel.sh | 132 | #================================================================================== | COMMENT |
| MEDIUM⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 2 | #================================================================================================ | COMMENT |
| MEDIUM⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 44 | #================================================================================================ | COMMENT |
| MEDIUM⚡ | …ernel/tools/script/docker/build_armbian_rootfs_file.sh | 2 | #========================================================================== | COMMENT |
| MEDIUM | …ernel/tools/script/docker/build_armbian_rootfs_file.sh | 41 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/compile-kernel.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/compile-kernel.yml | 5 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-arm64-server-image.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-arm64-server-image.yml | 4 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/delete-older-releases-workflows.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/delete-older-releases-workflows.yml | 4 | #========================================================================== | COMMENT |
| MEDIUM | …ithub/workflows/build-armbian-using-releases-files.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | …ithub/workflows/build-armbian-using-releases-files.yml | 4 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-x86-server-image.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-x86-server-image.yml | 4 | #========================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-arm64-docker-image.yml | 1 | #===================================================================================== | COMMENT |
| MEDIUM | .github/workflows/build-armbian-arm64-docker-image.yml | 6 | #===================================================================================== | COMMENT |
| MEDIUM | …ithub/workflows/build-armbian-using-official-image.yml | 1 | #========================================================================== | COMMENT |
| MEDIUM | …ithub/workflows/build-armbian-using-official-image.yml | 4 | #========================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1576 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1579 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1581 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1591 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1583 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1586 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1588 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.md | 1598 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1576 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1579 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1581 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1591 | # =================================================================================== | COMMENT |
| MEDIUM | …ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh | 2 | # ================================================================================== | COMMENT |
| MEDIUM | …ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh | 10 | # ================================================================================== | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 43 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-desktop.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …es/usr/share/ophub/armbian-software/command-desktop.sh | 39 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 43 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-service.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …es/usr/share/ophub/armbian-software/command-service.sh | 31 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …les/usr/share/ophub/armbian-software/command-docker.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …les/usr/share/ophub/armbian-software/command-docker.sh | 49 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …s/usr/share/ophub/armbian-software/software-command.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …s/usr/share/ophub/armbian-software/software-command.sh | 64 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …re/ophub/armbian-software/201-desktop-chinese-fonts.sh | 2 | #============================================================================ | COMMENT |
| MEDIUM | …re/ophub/armbian-software/201-desktop-chinese-fonts.sh | 36 | #============================================================================ | COMMENT |
| MEDIUM⚡ | …files/common-files/etc/custom_service/start_service.sh | 2 | #======================================================================================== | COMMENT |
| MEDIUM⚡ | …files/common-files/etc/custom_service/start_service.sh | 17 | #======================================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM | compile-kernel/tools/script/armbian_compile_kernel.sh | 587 | # Create a temp directory | COMMENT |
| MEDIUM⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …ernel/tools/script/docker/build_armbian_rootfs_file.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …ernel/tools/script/docker/build_armbian_rootfs_file.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM | compile-kernel/tools/script/docker/docker_startup.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM | compile-kernel/tools/script/docker/docker_startup.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 30 | # Define the software | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-desktop.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-desktop.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 30 | # Define the software | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-service.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …es/usr/share/ophub/armbian-software/command-service.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …les/usr/share/ophub/armbian-software/command-docker.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …les/usr/share/ophub/armbian-software/command-docker.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM | …les/usr/share/ophub/armbian-software/command-docker.sh | 632 | # Create a local persistent directory | COMMENT |
| MEDIUM | …les/usr/share/ophub/armbian-software/command-docker.sh | 686 | # Create a virtual network: macvlan | COMMENT |
| MEDIUM⚡ | …s/usr/share/ophub/armbian-software/software-command.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …s/usr/share/ophub/armbian-software/software-command.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …re/ophub/armbian-software/201-desktop-chinese-fonts.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …re/ophub/armbian-software/201-desktop-chinese-fonts.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| MEDIUM⚡ | …files/common-files/etc/custom_service/start_service.sh | 4 | # This file is licensed under the terms of the GNU General Public | COMMENT |
| MEDIUM⚡ | …files/common-files/etc/custom_service/start_service.sh | 8 | # This file is a part of the Rebuild Armbian | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 77 | # Set whether to use the latest kernel, options: [ true / false ] | COMMENT |
| LOW⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 79 | # Set whether to apply custom kernel patches, options: [ true / false ] | COMMENT |
| LOW⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 88 | # Set whether to clear ccache before compiling the kernel, options: [ true / false ] | COMMENT |
| LOW⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 90 | # Set whether to automatically delete the source code after the kernel is compiled | COMMENT |
| LOW⚡ | compile-kernel/tools/script/armbian_compile_kernel.sh | 94 | # Set whether to log compilation output to file, options: [ true / false ] | COMMENT |
| LOW | compile-kernel/tools/script/armbian_compile_kernel.sh | 517 | # Check if the kernel config file already exists | COMMENT |
| LOW | compile-kernel/tools/script/armbian_compile_kernel.sh | 1319 | # Check if dtb files exist for this platform (at least 30 files) | COMMENT |
| LOW⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 54 | # Check if docker command exists | COMMENT |
| LOW⚡ | …rnel/tools/script/docker/build_armbian_docker_image.sh | 59 | # Check if Docker daemon is running | COMMENT |
| LOW | …rnel/tools/script/docker/build_armbian_docker_image.sh | 124 | # Display the output directory | COMMENT |
| LOW | …rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh | 43 | # Check if the bind mount is broken (target has 0 links - file was replaced) | COMMENT |
| LOW | …rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh | 75 | # Check if the injected source file is already valid AND matches current JS version | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 142 | # Set up to start automatically | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 190 | # Set up to start automatically | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 128 | # Set up to start automatically | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 176 | # Set up to start automatically | COMMENT |
| LOW | …files/common-files/etc/custom_service/start_service.sh | 140 | # Set MTU to 1500 for eth0 and br0 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compile-kernel/tools/script/armbian_compile_kernel.sh | 1 | #!/bin/bash | COMMENT |
| LOW | compile-kernel/tools/script/armbian_compile_kernel.sh | 21 | # error_msg : Output error message and exit | COMMENT |
| LOW | …rnel/tools/script/docker/build_armbian_docker_image.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ernel/tools/script/docker/build_armbian_rootfs_file.sh | 1 | #!/bin/bash | COMMENT |
| LOW | compile-kernel/tools/script/docker/docker_startup.sh | 1 | #!/bin/bash | COMMENT |
| LOW | documents/README.cn.md | 1581 | # ----------------------------------------------------------------------------------- | COMMENT |
| LOW | documents/README.md | 1581 | COMMENT | |
| LOW | documents/README.ja.md | 1581 | # ----------------------------------------------------------------------------------- | COMMENT |
| LOW | …ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …erent-files/hugsun-zm/rootfs/root/led-control/aw2028.c | 1 | #include <stdio.h> | COMMENT |
| LOW | …s/different-files/chainedbox/rootfs/usr/bin/pwm-fan.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | …s/different-files/chainedbox/rootfs/usr/bin/pwm-fan.pl | 21 | # 增加硬盘待机状态检测,如果硬盘待机,风扇可在cpu温度较高时停转(50度),较高温度起转(65度);如果硬盘未待机,风扇可在cpu温度较低时停转(38度),较低温度起转(55度); | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/301-frps.sh | 21 | # | COMMENT |
| LOW | …es/usr/share/ophub/armbian-software/command-desktop.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …es/usr/share/ophub/armbian-software/command-desktop.sh | 21 | # | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …mon-files/usr/share/ophub/armbian-software/302-frpc.sh | 21 | # | COMMENT |
| LOW | …es/usr/share/ophub/armbian-software/command-service.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …es/usr/share/ophub/armbian-software/command-service.sh | 21 | # | COMMENT |
| LOW | …les/usr/share/ophub/armbian-software/command-docker.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …les/usr/share/ophub/armbian-software/command-docker.sh | 21 | # | COMMENT |
| LOW | …les/usr/share/ophub/armbian-software/command-docker.sh | 41 | # software_120 : For xunlei:2345 | COMMENT |
| LOW | …s/usr/share/ophub/armbian-software/software-command.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …s/usr/share/ophub/armbian-software/software-command.sh | 21 | # software_remove : Remove specified packages | COMMENT |
| LOW | …re/ophub/armbian-software/201-desktop-chinese-fonts.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …files/common-files/etc/custom_service/start_service.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …les/usr/share/ophub/armbian-software/command-docker.sh | 958 | [[ -n "${oak}" ]] && your_api_key="${oak}" || error_msg "OPENAI_API_KEY is invalid." | CODE |
| HIGH | …les/usr/share/ophub/armbian-software/command-docker.sh | 971 | -e OPENAI_API_KEY=${your_api_key} \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documents/README.md | 509 | # Step 1: Update to the latest kernel | COMMENT |
| LOW | documents/README.md | 516 | # Step 2: Install compilation tools | COMMENT |
| LOW | documents/README.md | 527 | # Step 3: Download and compile the driver | COMMENT |
| LOW | documents/README.md | 547 | # Step 4: Install the driver | COMMENT |