AI Slop Code RIsk Monitor

akinomyoga/ble.sh

Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.

13.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for akinomyoga/ble.sh, a Shell project with 4,815 GitHub stars. SynthScan examined 98,896 lines of code across 187 source files, recording 782 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 13.1 (Moderate 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.

13.1
Adjusted Signal
13.1
Raw Pattern Score
100%
Time Factor
2026-09-08
Last Push
4.8K
Stars
Shell
Language
98.9K
Lines of Code
187
Files
782
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 14.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 400 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 39.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 381 finding(s).

PR Review Velocity Impact 54.8/100 · HIGH

Which changes need focused human review? 782 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 3MEDIUM 387LOW 392

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 782 distinct pattern matches across 7 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.

Decorative Section Separators381 hits · 986 pts
SeverityFileLineSnippetContext
MEDIUMmake_command.sh46#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh228#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh246#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh917#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh1060#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh1163#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh1208#------------------------------------------------------------------------------COMMENT
MEDIUMmake_command.sh1220#------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmark/202607-heap.sh220#------------------------------------------------------------------------------COMMENT
MEDIUMmake/color.sample.sh195 #--------------------------------------------------------------------------COMMENT
MEDIUMmake/color.sample.sh242 #--------------------------------------------------------------------------COMMENT
MEDIUMmake/color.sample.sh314 #--------------------------------------------------------------------------COMMENT
MEDIUMmake/color.sample.sh620#------------------------------------------------------------------------------COMMENT
MEDIUMmake/color.sample.sh693#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.c2w.generate-table.sh38#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.c2w.generate-table.sh1168#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.emoji.sh65#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.emoji.sh117#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.emoji.sh200#------------------------------------------------------------------------------COMMENT
MEDIUMmake/canvas.emoji.sh474#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/T0003.debug-trap.sh53#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/T0003.debug-trap.sh76#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1314.bashrc.sh21#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1314.bashrc.sh42#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1522.large-array-passing.sh37#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1522.large-array-passing.sh61#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1522.large-array-passing.sh142#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D2014-complete-mandb-for-command.bash59#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D0628.extract-global-values.sh7#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D0628.extract-global-values.sh34#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D0628.extract-global-values.sh61#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D0628.extract-global-values.sh93#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D0628.extract-global-values.sh118#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1614.bash32-soh-and-del-in-arrays.sh25#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/D1231.ble-measure-calibration.sh51#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh37#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh51#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh96#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh141#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh178#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh227#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh320#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array-reverse.sh369#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array.sh12#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array.sh88#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/array.sh107#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh97#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh138#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh170#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh205#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh734#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh1017#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/202607-dict.sh1252#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201902-sort.sh44#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201902-sort.sh146#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201902-sort.sh165#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201902-sort.sh205#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201809-test.sh54#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201809-test.sh65#------------------------------------------------------------------------------COMMENT
MEDIUMmemo/benchmark/201809-test.sh114#------------------------------------------------------------------------------COMMENT
321 more matches not shown…
Over-Commented Block387 hits · 266 pts
SeverityFileLineSnippetContext
LOWmake_command.sh1141 percentile = count / g_total_count * 100;COMMENT
LOWarchive/getopt1.sh1#!/bin/bashCOMMENT
LOWarchive/getopt.sh1# bash source -*- mode:sh; mode:sh-bash -*-COMMENT
LOWarchive/getopt.sh21## #COMMENT
LOWarchive/getopt.sh41## elseCOMMENT
LOWarchive/getopt.sh61## [[ $flagVersion ]] && print-versionCOMMENT
LOWarchive/getopt-test.sh1#!/bin/bashCOMMENT
LOWarchive/cmap/xterm.sh101ble/cmap:xterm/CSI-CMS '2 6' '$' f24COMMENT
LOWarchive/cmap/xterm.sh121# # [96]='`' [97]=a [98]=b [99]=cCOMMENT
LOWmake/canvas.c2w.wcwidth.cpp21 int *old_widths = &widths2[0];COMMENT
LOWmake/canvas.c2w.list-ucsver-detection-codes.sh1#!/usr/bin/env bashCOMMENT
LOWmemo/D1314.bashrc.sh1#!/bin/bashCOMMENT
LOWmemo/D0375.quote-in-param-expansion.sh101 [[ "${digits["1"]}" == 1 ]] || echo Error3COMMENT
LOWmemo/D0375.quote-in-param-expansion.sh121## 2. ${var:offset} の形式では基本的に offset に quote を含めるとCOMMENT
LOWmemo/D1522.large-array-passing.sh141COMMENT
LOWmemo/D1440.suppress-locale-error.sh41# checkB1COMMENT
LOWmemo/D0628.extract-global-values.sh61#------------------------------------------------------------------------------COMMENT
LOWmemo/D1519.posix-option.sh21# set -o posixCOMMENT
LOWmemo/D1782.test.sh1#!/bin/bashCOMMENT
LOWmemo/D1231.ble-measure-calibration.sh21f8; echo $nsecCOMMENT
LOWmemo/D1231.ble-measure-calibration.sh41# S1, S5 ... サブシェルで source した時。COMMENT
LOWmemo/D1231.ble-measure-calibration.sh81# g1 790 429COMMENT
LOWmemo/benchmark/array-access.sh21function sum-random { local s=0; for ((i=0;i<N;i++)); do ((s+=a[RANDOM%N])); done; }COMMENT
LOWmemo/benchmark/array-access.sh41# 135904.300 usec/eval: sum-random 10000 (x1)COMMENT
LOWmemo/benchmark/array-access.sh61# bash-4.4COMMENT
LOWmemo/benchmark/array-reverse.sh21#COMMENT
LOWmemo/benchmark/array-reverse.sh41# 更に逆順にループを回した場合も遅くなる。COMMENT
LOWmemo/benchmark/array-reverse.sh101# # 改行が含まれていると駄目COMMENT
LOWmemo/benchmark/array-reverse.sh141#------------------------------------------------------------------------------COMMENT
LOWmemo/benchmark/array-reverse.sh181# ブレース展開を用いて A=([0]=${S[9]} ... [9]=${S[0]}) などの文字列を生成し、COMMENT
LOWmemo/benchmark/array-reverse.sh221 ble-measure 'ble/array#reverse4.1a A S2' # 12270.00 us 3469.90 us 12270.00 usCOMMENT
LOWmemo/benchmark/array-reverse.sh241# }COMMENT
LOWmemo/benchmark/array-reverse.sh321# 2018-07-15 BASH_ARGV を用いた実装。COMMENT
LOWmemo/benchmark/202607-dict.sh1261# test_rand impl0 1000 # 0.008 0.005msCOMMENT
LOWmemo/benchmark/202607-dict.sh1281# test_rand impl2 10 # 0.001s 0.092msCOMMENT
LOWmemo/benchmark/202607-dict.sh1301#COMMENT
LOWmemo/benchmark/202607-dict.sh1321# test_seq impl4 10000 # 29.510s 0.856ms 29.276s 0.826ms 28.801s 836.000ms 9.508s 0.473msCOMMENT
LOWmemo/benchmark/201902-sort.sh201COMMENT
LOWmemo/benchmark/201809-test.sh21dirverylonglong=/hello/worldCOMMENT
LOWmemo/benchmark/201809-test.sh41COMMENT
LOWmemo/benchmark/201809-test.sh61# # multiple assignCOMMENT
LOWmemo/benchmark/201809-test.sh81# # incrementCOMMENT
LOWmemo/benchmark/201809-test.sh101# ble-measure "((a==1?(x=1):(y=1)))"COMMENT
LOWmemo/benchmark/201809-test.sh121# ble-measure _emptyCOMMENT
LOWmemo/benchmark/201809-test.sh141#--------------------------------------COMMENT
LOWmemo/benchmark/201809-test.sh161# ble-measure 'filter1'COMMENT
LOWmemo/benchmark/array-is-array.sh101# 4.422 usec/eval: ble/is-array5 arr1 (x20000)COMMENT
LOWmemo/benchmark/array-is-array.sh121# 211.200 usec/eval: ble/is-array6 arr2 (x500)COMMENT
LOWmemo/benchmark/201512-setvalue.sh41 ble-measure 'ble/util/set.printf "$var" "$value"'COMMENT
LOWmemo/benchmark/string-split-words.sh101# split4 30.0 30.6 30.8 34.8 30.3 33.2 38.2 38.7 37.1 29.0 26.6 [split3 + change quoting] 一緒に計測すると遅くなる傾向COMMENT
LOWmemo/D2165/reduced.sh1#!/usr/bin/env bashCOMMENT
LOWmemo/D2165/reduced.sh21# fcntl(51, F_GETFD) = 0COMMENT
LOWmemo/D2165/reduced.sh41# fcntl(52, F_GETFD) = 0x1 (flags FD_CLOEXEC)COMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh1#!/bin/bashCOMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh21# bash-4.3 17900.000 usec/eval: arr2=("${arr1[@]}") (x10)COMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh41COMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh61# bash-5.0 4759.662 usec/eval: arr2=({0..10000}) (x50)COMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh81# bash-5.0 15342.200 usec/eval: arr2=({0..10000}); ble/array#push.2 arr2 {1..1000} (x10)COMMENT
LOWmemo/D1302/D1302.benchmark-array-copy.sh101# bash-5.0 15667.830 usec/eval: arr2=({0..1000}); ble/array#push.2 arr2 "${arr1[@]}" (x10)COMMENT
LOWmemo/D1302/D1302.benchmark-c2s-cached.sh81 tester.2/loop1 "${input[@]}"COMMENT
327 more matches not shown…
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmemo/D1488/D1488.vim-mode-in-status.bash35 # In this example, we put the mode string, date and time, and theCOMMENT
HIGHlib/core-complete.sh6702# In this implementation, we first attempt the pathname expansion withoutCOMMENT
AI Slop Vocabulary7 hits · 14 pts
SeverityFileLineSnippetContext
LOWmemo/benchmark/202607-dict.sh408 # If the target kvpair to remove is not found, we just return.COMMENT
LOWmemo/benchmark/202607-dict.sh939 # If the target kvpair to remove is not found, we just return.COMMENT
LOWmemo/benchmark/202607-dict.sh1196 # If the target kvpair to remove is not found, we just return.COMMENT
MEDIUM.github/workflows/build.yml84 # INSTALL (more robust)COMMENT
MEDIUMlib/core-complete.sh3958 # When we want to sort items that may contain newlines, we utilize theCOMMENT
MEDIUMsrc/util.sh3511 # 33>&-. We here utilize another bug in Bash 3.1, where 77>&33- failsCOMMENT
LOWsrc/util.sh1936 # If the target kvpair to remove is not found, we just return.COMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMlib/core-syntax.sh1947 # This function is a callback for "ble/util/for-global-variables"COMMENT
MEDIUMsrc/util.sh3662 # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base:inherit"COMMENT
MEDIUMsrc/util.sh3670 # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base".COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHmemo/benchmark/202607-dict.sh494# AI-generated test cases for impl4#unsetCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/test-canvas.sh525 30:5 $'hello world\nfoo bar buzz\nA quick brown fox\nLorem ipsum\n1 1 2 3 5 8 13 21 34 55 89 144' \CODE