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 summarizes scanner evidence for ophub/amlogic-s9xxx-armbian, a Shell project with 10,136 GitHub stars. SynthScan examined 19,885 lines of code across 141 source files, recording 130 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 19.5 (Elevated 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? 76 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 52 finding(s).
Which changes need focused human review? 130 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 130 distinct pattern matches across 6 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 |
|---|---|---|---|---|
| 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 | 1574 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1577 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1579 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.cn.md | 1589 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1575 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1578 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.md | 1580 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.md | 1590 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1574 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1577 | # =================================================================================== | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1579 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | documents/README.ja.md | 1589 | # =================================================================================== | 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 | …files/bdy-g98/rootfs/usr/local/sbin/g98-nic-mac-fix.sh | 2 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …files/bdy-g98/rootfs/usr/local/sbin/g98-nic-mac-fix.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 | 588 | # 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 | 518 | # Check if the kernel config file already exists | COMMENT |
| LOW | compile-kernel/tools/script/armbian_compile_kernel.sh | 1320 | # 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 | 183 | # 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.md | 1581 | # 0: bootloader 0 ( 0.00B) 400000 ( 4.00M) 0 | 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 | 510 | # Step 1: Update to the latest kernel | COMMENT |
| LOW⚡ | documents/README.md | 516 | # Step 2: Install compilation tools | COMMENT |
| LOW⚡ | documents/README.md | 526 | # Step 3: Download and compile the driver | COMMENT |
| LOW | documents/README.md | 545 | # Step 4: Install the driver | COMMENT |