Repository Analysis

angristan/openvpn-install

Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS, Arch Linux and more

34.3 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of angristan/openvpn-install, a Shell project with 16,031 GitHub stars. SynthScan v2.0 examined 7,951 lines of code across 18 source files, recording 114 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 34.3 places this repository in the Strong 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).

34.3
Adjusted Score
34.3
Raw Score
100%
Time Factor
2026-07-02
Last Push
16.0K
Stars
Shell
Language
8.0K
Lines of Code
18
Files
114
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 75LOW 39

Directory Score Breakdown

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.

Pattern Findings

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

Decorative Section Separators70 hits · 224 pts
SeverityFileLineSnippetContext
MEDIUMopenvpn-install.sh15# =============================================================================COMMENT
MEDIUMopenvpn-install.sh17# =============================================================================COMMENT
MEDIUMopenvpn-install.sh165# =============================================================================COMMENT
MEDIUMopenvpn-install.sh167# =============================================================================COMMENT
MEDIUMopenvpn-install.sh170# =============================================================================COMMENT
MEDIUMopenvpn-install.sh172# =============================================================================COMMENT
MEDIUMopenvpn-install.sh405# =============================================================================COMMENT
MEDIUMopenvpn-install.sh407# =============================================================================COMMENT
MEDIUMopenvpn-install.sh752# =============================================================================COMMENT
MEDIUMopenvpn-install.sh754# =============================================================================COMMENT
MEDIUMopenvpn-install.sh2085 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2087 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2107 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2109 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2138 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2140 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2183 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2185 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2229 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2231 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2258 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh2260 # ==========================================================================COMMENT
MEDIUMopenvpn-install.sh456# =============================================================================COMMENT
MEDIUMopenvpn-install.sh458# =============================================================================COMMENT
MEDIUMopenvpn-install.sh495# =============================================================================COMMENT
MEDIUMopenvpn-install.sh497# =============================================================================COMMENT
MEDIUMopenvpn-install.sh1615# =============================================================================COMMENT
MEDIUMopenvpn-install.sh1617# =============================================================================COMMENT
MEDIUMopenvpn-install.sh4573# =============================================================================COMMENT
MEDIUMopenvpn-install.sh4575# =============================================================================COMMENT
MEDIUMtest/server-entrypoint.sh401# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh403# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh409# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh411# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh591# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh593# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh599# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh601# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh805# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh807# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh1034# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh1036# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh200# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh202# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh233# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh235# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh274# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh276# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh332# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh334# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh360# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh362# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh484# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh486# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh838# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh840# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh927# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh929# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh1101# =====================================================COMMENT
MEDIUMtest/server-entrypoint.sh1103# =====================================================COMMENT
10 more matches not shown…
Redundant / Tautological Comments18 hits · 16 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh19# Set LOG_FILE to customize log location (default: openvpn-install.log in current dir)COMMENT
LOWopenvpn-install.sh409# Check if OpenVPN is installedCOMMENT
LOWopenvpn-install.sh618# Check if client name is valid (non-fatal, returns true/false)COMMENT
LOWopenvpn-install.sh1093 # Check if next arg is a value or another flagCOMMENT
LOWopenvpn-install.sh1125 # Check if already installedCOMMENT
LOWopenvpn-install.sh1241 # Check if next arg is a value or another flagCOMMENT
LOWopenvpn-install.sh1569 # Check if user just wants help (don't require root for help)COMMENT
LOWopenvpn-install.sh1709 # Check if running kernel's modules are availableCOMMENT
LOWopenvpn-install.sh1774# Check if OpenVPN version is at least the specified versionCOMMENT
LOWopenvpn-install.sh1797# Check if kernel version is at least the specified versionCOMMENT
LOWopenvpn-install.sh1815# Check if Data Channel Offload (DCO) is availableCOMMENT
LOWopenvpn-install.sh2674 # Check if configuration is DCO-compatible (udp or udp6)COMMENT
LOWopenvpn-install.sh3408 # Check if client name corresponds to an existing system user with a home directoryCOMMENT
LOWopenvpn-install.sh3760 # Check if client is in the valid fingerprints listCOMMENT
LOWopenvpn-install.sh3977 # Check if client already existsCOMMENT
LOWtest/validate-output.sh43 # Check if line starts with ANSI escape code (colored output from log functions)COMMENT
LOWtest/validate-output.sh48 # Check if line starts with our log prefixes (non-TTY mode)COMMENT
LOW.github/workflows/docker-test.yml198 # Check if OpenVPN server is running and client config existsCOMMENT
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMopenvpn-install.sh2684 # Create the server directory (OpenVPN 2.4+ directory structure)COMMENT
MEDIUMopenvpn-install.sh2751 # Create the PKI, set up the CA, the DH params and the server certificateCOMMENT
MEDIUMopenvpn-install.sh4044 # Create the block if this is the first clientCOMMENT
MEDIUMtest/server-entrypoint.sh811# Create a new client for revocation testingCOMMENT
MEDIUMtest/server-entrypoint.sh1040# Create a new certificate with the same name as the revoked oneCOMMENT
Verbosity Indicators6 hits · 7 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh2086 # Step 1: Detect server IP addressesCOMMENT
LOWopenvpn-install.sh2108 # Step 2: Endpoint type selectionCOMMENT
LOWopenvpn-install.sh2139 # Step 3: Endpoint address (handle NAT for IPv4, direct for IPv6)COMMENT
LOWopenvpn-install.sh2184 # Step 4: Client IP versionsCOMMENT
LOWopenvpn-install.sh2230 # Step 5: IPv4 subnet (prompt only if IPv4 enabled, but always set for leak prevention)COMMENT
LOWopenvpn-install.sh2259 # Step 6: IPv6 subnet (if IPv6 enabled for clients)COMMENT
Structural Annotation Overuse6 hits · 7 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh2086 # Step 1: Detect server IP addressesCOMMENT
LOWopenvpn-install.sh2108 # Step 2: Endpoint type selectionCOMMENT
LOWopenvpn-install.sh2139 # Step 3: Endpoint address (handle NAT for IPv4, direct for IPv6)COMMENT
LOWopenvpn-install.sh2184 # Step 4: Client IP versionsCOMMENT
LOWopenvpn-install.sh2230 # Step 5: IPv4 subnet (prompt only if IPv4 enabled, but always set for leak prevention)COMMENT
LOWopenvpn-install.sh2259 # Step 6: IPv6 subnet (if IPv6 enabled for clients)COMMENT
AI Slop Vocabulary3 hits · 3 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh764 # If already set (non-interactive mode), just returnCOMMENT
LOWopenvpn-install.sh802 # If already set (non-interactive mode), just returnCOMMENT
LOWopenvpn-install.sh838 # If already set, just returnCOMMENT
Hyper-Verbose Identifiers4 hits · 2 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh1704function checkArchPendingKernelUpgrade() {CODE
LOWopenvpn-install.sh3417function setClientConfigPermissions() {CODE
LOWopenvpn-install.sh3579function getClientsFromFingerprints() {CODE
LOWopenvpn-install.sh3592function clientExistsInFingerprints() {CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWopenvpn-install.sh1#!/bin/bashCOMMENT
LOWtest/validate-output.sh1#!/bin/bashCOMMENT