一键DD/重装脚本 (One-click reinstall OS on VPS)
This report summarizes scanner evidence for bin456789/reinstall, a Shell project with 13,971 GitHub stars. SynthScan examined 19,611 lines of code across 27 source files, recording 48 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 2.3 (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? 48 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 48 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 48 distinct pattern matches across 1 syntactic category. 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 | fix-eth-name.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | fix-eth-name.sh | 201 | COMMENT | |
| LOW | trans.sh | 301 | COMMENT | |
| LOW | trans.sh | 1261 | fi | COMMENT |
| LOW | trans.sh | 1721 | COMMENT | |
| LOW | trans.sh | 1861 | fi | COMMENT |
| LOW | trans.sh | 2601 | # 下载公钥 | COMMENT |
| LOW | trans.sh | 2841 | COMMENT | |
| LOW | trans.sh | 3021 | COMMENT | |
| LOW | trans.sh | 4001 | # 可以直接用 alpine 的 cloud-init 生成 Network Manager 配置 | COMMENT |
| LOW | trans.sh | 4501 | # passwd: Only one of -l, -u, -d, -S may be specified. | COMMENT |
| LOW | trans.sh | 4621 | # gentoo: | COMMENT |
| LOW | trans.sh | 4681 | # 因此先 sshd -G/-T 检测有没有 ChallengeResponseAuthentication 这个 key | COMMENT |
| LOW | trans.sh | 5021 | # 8 | COMMENT |
| LOW | trans.sh | 5461 | remove_grub_conflict_files() { | COMMENT |
| LOW | trans.sh | 5601 | # cloud-init 20.1 才支持以下配置 | COMMENT |
| LOW | trans.sh | 6161 | apk del qemu-img | COMMENT |
| LOW | trans.sh | 6801 | # 系统 InstallationType ProductType ProductSuite | COMMENT |
| LOW | trans.sh | 6841 | support_sha256=false | COMMENT |
| LOW | trans.sh | 6861 | # 官网有提到 KB3033929 和 KB4039648, 应该分别是 2008r2 和 2008 最早支持 sha256 的补丁 | COMMENT |
| LOW | trans.sh | 7021 | # 7601.24214.180801-1700.win7sp1_ldr_escrow_CLIENT_ULTIMATE_x64FRE_en-us.iso wim 没有 Installation Type | COMMENT |
| LOW | trans.sh | 7141 | # 主网卡,有 IP 地址 | COMMENT |
| LOW | trans.sh | 7501 | # https://pvupdates.vmd.citrix.com/updates.v9.json 9.3.3.125 | COMMENT |
| LOW | trans.sh | 7581 | # 2k12 | COMMENT |
| LOW | trans.sh | 7801 | # https://windows-1251783334.cos.ap-shanghai.myqcloud.com/VirtIO_Win_58007.zip 有 32 位 | COMMENT |
| LOW | trans.sh | 8401 | wimunmount --commit /wim/ | COMMENT |
| LOW | windows-driver-utils.sh | 101 | COMMENT | |
| LOW | windows-driver-utils.sh | 121 | ############################################## | COMMENT |
| LOW | reinstall.sh | 481 | # https://www.digipres.org/formats/sources/tika/formats/#application/gzip | COMMENT |
| LOW | reinstall.sh | 1381 | # en_windows_8_x64_dvd_915440.iso | COMMENT |
| LOW | reinstall.sh | 1401 | regexs+=("${prefix}.*${arch_win}.*\.(iso|img)") | COMMENT |
| LOW | reinstall.sh | 2861 | # 不要用 echo "$password" 保存密码,原因: | COMMENT |
| LOW | reinstall.sh | 2961 | # 注意 wc -l 的坑 | COMMENT |
| LOW | reinstall.sh | 3041 | COMMENT | |
| LOW | reinstall.sh | 3161 | COMMENT | |
| LOW | reinstall.sh | 3301 | } | COMMENT |
| LOW | reinstall.sh | 3761 | mod_inittab_for_screen() { | COMMENT |
| LOW | reinstall.sh | 3821 | echo 'if false && : \' | insert_into_file lib/debian-installer.d/S70menu before 'if [ -x "$bterm" ]' -F | COMMENT |
| LOW | reinstall.sh | 3941 | COMMENT | |
| LOW | reinstall.sh | 4181 | # 1. 直接调用 create_ifupdown_config | COMMENT |
| LOW | reinstall.sh | 4241 | COMMENT | |
| LOW | reinstall.sh | 4421 | COMMENT | |
| LOW | debian.cfg | 41 | d-i partman/confirm_nooverwrite boolean true | COMMENT |
| LOW | debian.cfg | 101 | # B.4.12. 完成安装 | COMMENT |
| LOW | debian.cfg | 121 | COMMENT | |
| LOW | debian.cfg | 361 | true >/bin/os-prober | COMMENT |
| LOW | deprecated/cloud-init-fix-onlink.sh | 121 | # 修改前 arch | COMMENT |
| LOW | deprecated/cloud-init-fix-onlink.sh | 181 | # gentoo: networkd/resolved | COMMENT |