A community Bash framework.
This report presents the forensic synthetic code analysis of Bash-it/bash-it, a Shell project with 15,136 GitHub stars. SynthScan v2.0 examined 25,022 lines of code across 351 source files, recording 124 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 8.3 places this repository in the Low 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 124 distinct pattern matches across 9 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 | uninstall.sh | 52 | # Create a backup of the current config before restoring the old one | COMMENT |
| MEDIUM | completion/available/docker-compose.completion.bash | 76 | # This function is needed for key-specific completions. | COMMENT |
| MEDIUM | completion/available/aliases.completion.bash | 99 | # Create a wrapper without arguments. | COMMENT |
| MEDIUM | completion/available/aliases.completion.bash | 105 | # Create a wrapper inserting the alias arguments | COMMENT |
| MEDIUM | lib/helpers.bash | 746 | echo "# This file is auto generated by Bash-it. Do not edit manually!" > "$profile_path" | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 69 | alias a:mk:ad="php artisan make:addon" # Create a new addon. | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 71 | alias a:mk:cm="php artisan make:command" # Create a new Artisan command | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 72 | alias a:mk:ct="php artisan make:controller" # Create a new controller class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 73 | alias a:mk:ev="php artisan make:event" # Create a new event class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 74 | alias a:mk:fa="php artisan make:factory" # Create a new model factory | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 75 | alias a:mk:j="php artisan make:job" # Create a new job class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 76 | alias a:mk:li="php artisan make:listener" # Create a new event listener class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 77 | alias a:mk:ma="php artisan make:mail" # Create a new email class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 78 | alias a:mk:mw="php artisan make:middleware" # Create a new middleware class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 79 | alias a:mk:mg="php artisan make:migration" # Create a new migration file | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 80 | alias a:mk:md="php artisan make:model" # Create a new Eloquent model class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 81 | alias a:mk:no="php artisan make:notification" # Create a new notification class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 82 | alias a:mk:po="php artisan make:policy" # Create a new policy class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 83 | alias a:mk:pr="php artisan make:provider" # Create a new service provider class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 84 | alias a:mk:rq="php artisan make:request" # Create a new form request class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 85 | alias a:mk:rs="php artisan make:resource" # Create a new resource | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 86 | alias a:mk:rl="php artisan make:rule" # Create a new validation rule | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 87 | alias a:mk:sd="php artisan make:seeder" # Create a new seeder class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 89 | alias a:mk:ts="php artisan make:test" # Create a new test class | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 93 | alias a:mg:i="php artisan migrate:install" # Create the migration repository | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 105 | alias a:no:tb="php artisan notifications:table" # Create a migration for the notifications table | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 112 | alias a:qu:ft="php artisan queue:failed-table" # Create a migration for the failed queue jobs database table | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 118 | alias a:qu:tb="php artisan queue:table" # Create a migration for the queue jobs database table | CODE |
| MEDIUM⚡ | aliases/available/pyrocms.aliases.bash | 122 | alias a:ro:ca="php artisan route:cache" # Create a route cache file for faster route registration | CODE |
| MEDIUM | aliases/available/pyrocms.aliases.bash | 42 | alias a:ca:t="php artisan cache:table" # Create a migration for the cache database table | CODE |
| MEDIUM | aliases/available/pyrocms.aliases.bash | 45 | alias a:co:ca="php artisan config:cache" # Create a cache file for faster configuration loading | CODE |
| MEDIUM | aliases/available/pyrocms.aliases.bash | 134 | alias a:se:tb="php artisan session:table" # Create a migration for the session database table | CODE |
| MEDIUM | aliases/available/pyrocms.aliases.bash | 137 | alias a:sg:l="php artisan storage:link" # Create a symbolic link from "public/storage" to "storage/app/public" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clean_files.txt | 1 | ####################################################################### | COMMENT |
| LOW | lint_clean_files.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | lint_clean_files.sh | 21 | # "Shellcheck SC1090 - Can't follow non-constant source" | COMMENT |
| LOW | plugins/available/gif.plugin.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | template/bashrc.template.bash | 21 | COMMENT | |
| LOW | template/bashrc.template.bash | 41 | COMMENT | |
| LOW | template/bashrc.template.bash | 61 | # Uncomment this to set. | COMMENT |
| LOW | completion/available/git_flow_avh.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/git_flow_avh.completion.bash | 21 | # 0. Install git-completion. | COMMENT |
| LOW | completion/available/git_flow_avh.completion.bash | 41 | # | COMMENT |
| LOW | completion/available/docker-compose.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/docker-compose.completion.bash | 21 | # Copyright (c) 2014 Docker, Inc | COMMENT |
| LOW | completion/available/invoke.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/invoke.completion.bash | 21 | COMMENT | |
| LOW | completion/available/invoke.completion.bash | 41 | # core options, task names, the current task's options, or some combo. | COMMENT |
| LOW | completion/available/bundler.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/bundler.completion.bash | 21 | COMMENT | |
| LOW | completion/available/gradle.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/hub.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/hub.completion.bash | 21 | COMMENT | |
| LOW | completion/available/grunt.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/grunt.completion.bash | 21 | COMMENT | |
| LOW | completion/available/knife.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/vagrant.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/gulp.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/gulp.completion.bash | 21 | COMMENT | |
| LOW | completion/available/gulp.completion.bash | 41 | # Usage: | COMMENT |
| LOW | completion/available/salt.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/fabric.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/fabric.completion.bash | 21 | # all copies or substantial portions of the Software. | COMMENT |
| LOW | completion/available/fabric.completion.bash | 101 | COMMENT | |
| LOW | completion/available/git_flow.completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | completion/available/git_flow.completion.bash | 21 | # | COMMENT |
| LOW | docs/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | docs/conf.py | 41 | # This pattern also affects html_static_path and html_extra_path. | COMMENT |
| LOW | lib/completion.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | lib/helpers.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | lib/command_duration.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | lib/utilities.bash | 21 | # filename without path | COMMENT |
| LOW | lib/search.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | lib/search.bash | 21 | # Examples: | COMMENT |
| LOW | aliases/available/ag.aliases.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | custom/example.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/hawaii50/hawaii50.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/hawaii50/hawaii50.theme.bash | 21 | # | COMMENT |
| LOW | themes/demula/demula.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/demula/demula.theme.bash | 21 | ## ! mild red | COMMENT |
| LOW | themes/cupcake/cupcake.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/dulcie/dulcie.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/metal/metal.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/rana/rana.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/rana/rana.theme.bash | 21 | #*color1: #CD0000 | COMMENT |
| LOW | themes/nwinkler/nwinkler.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | …inkler_random_colors/nwinkler_random_colors.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | …inkler_random_colors/nwinkler_random_colors.theme.bash | 41 | "${bold_cyan?}" | COMMENT |
| LOW | themes/font/font.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/agnoster/agnoster.theme.bash | 1 | # shellcheck shell=bash | COMMENT |
| LOW | themes/agnoster/agnoster.theme.bash | 21 | # > cd fonts | COMMENT |
| LOW | themes/agnoster/agnoster.theme.bash | 41 | # source $THEME | COMMENT |
| LOW | themes/agnoster/agnoster.theme.bash | 361 | PRIGHT="$PRIGHT$(ansi_r codes[@]) " | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugins/available/git.plugin.bash | 279 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/available/git.plugin.bash | 281 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | completion/available/git_flow_avh.completion.bash | 5 | # =================== | COMMENT |
| MEDIUM | completion/available/git_flow_avh.completion.bash | 17 | # ------------ | COMMENT |
| MEDIUM | completion/available/git_flow_avh.completion.bash | 43 | # -------------- | COMMENT |
| MEDIUM | completion/available/git_flow.completion.bash | 4 | # =================== | COMMENT |
| MEDIUM | completion/available/git_flow.completion.bash | 16 | # ------------ | COMMENT |
| MEDIUM | completion/available/git_flow.completion.bash | 42 | # -------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 71 | # Check if already sourced (reuse helper from doctor) | COMMENT |
| LOW | plugins/available/gif.plugin.bash | 179 | # Set FPS to match the video if possible, otherwise fallback to default. | COMMENT |
| LOW | plugins/available/jekyll.plugin.bash | 179 | # Open the file in your favorite editor | COMMENT |
| LOW⚡ | template/bashrc.template.bash | 39 | # Set this to the command you use for todo.txt-cli | COMMENT |
| LOW⚡ | template/bashrc.template.bash | 42 | # Set this to the location of your work or project folders | COMMENT |
| LOW⚡ | template/bashrc.template.bash | 45 | # Set this to false to turn off version control status checking within the prompt for all themes | COMMENT |
| LOW | completion/available/terraform.completion.bash | 8 | # Check if at least one of the binaries is available (OR logic) | COMMENT |
| LOW | completion/available/aliases.completion.bash | 51 | # Check if aliasCommandFunction starts with our namespace. | COMMENT |
| LOW | completion/available/fabric.completion.bash | 46 | # Set command to get time of last file modification as seconds since Epoch | COMMENT |
| LOW | lib/helpers.bash | 452 | # Check if our marker appeared | COMMENT |
| LOW | lib/helpers.bash | 584 | # Check if we can fast-forward | COMMENT |
| LOW | themes/base.theme.bash | 433 | # Check if we're in a Node.js project by looking for package.json | COMMENT |
| LOW | themes/rana/rana.theme.bash | 120 | # Check if the current directory is in a Git repository. | COMMENT |
| LOW | themes/inretio/inretio.theme.bash | 56 | # Check if Python 3 exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/available/dirs.plugin.bash | 61 | # Usage: | COMMENT |
| LOW | completion/available/grunt.completion.bash | 41 | # Usage: | COMMENT |
| LOW | completion/available/gulp.completion.bash | 41 | # Usage: | COMMENT |
| LOW | lib/search.bash | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | template/bashrc.template.bash | 50 | # per default gitstatus uses 2 times as many threads as CPU cores, you can change this here if you must | COMMENT |
| LOW | lib/helpers.bash | 208 | # Don't forget to restore the original pwd (called from `_bash-it-update-`)! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | themes/base.theme.bash | 212 | # TODO: consider adding minimal status information for hg and svn | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | themes/hawaii50/hawaii50.theme.bash | 109 | # If no virtual info, just return | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | aliases/available/pyrocms.aliases.bash | 19 | alias a:pr="php artisan preset" # Swap the front-end scaffolding for the application | CODE |