Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS, Arch Linux and more
This report summarizes scanner evidence for angristan/openvpn-install, a Shell project with 16,158 GitHub stars. SynthScan examined 9,047 lines of code across 21 source files, recording 121 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 31.6 (High 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? 47 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 78 finding(s).
Which changes need focused human review? 121 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 121 distinct pattern matches across 9 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⚡ | openvpn-install.sh | 15 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 17 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 165 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 167 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 170 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 172 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 410 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 412 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 1068 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 1070 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2452 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2454 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2474 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2476 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2505 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2507 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2550 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2552 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2596 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2598 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2625 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2627 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2651 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | openvpn-install.sh | 2653 | # ========================================================================== | COMMENT |
| MEDIUM | openvpn-install.sh | 461 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 463 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 505 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 507 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 1956 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 1958 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 5186 | # ============================================================================= | COMMENT |
| MEDIUM | openvpn-install.sh | 5188 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 507 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 509 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 515 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 517 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 697 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 699 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 705 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 707 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 949 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 951 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 1177 | # ===================================================== | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 1179 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 233 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 235 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 292 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 294 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 325 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 327 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 380 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 382 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 438 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 440 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 466 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 468 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 590 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 592 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 982 | # ===================================================== | COMMENT |
| MEDIUM | test/server-entrypoint.sh | 984 | # ===================================================== | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | openvpn-install.sh | 19 | # Set LOG_FILE to customize log location (default: openvpn-install.log in current dir) | COMMENT |
| LOW⚡ | openvpn-install.sh | 414 | # Check if OpenVPN is installed | COMMENT |
| LOW | openvpn-install.sh | 906 | # Check if client name is valid (non-fatal, returns true/false) | COMMENT |
| LOW | openvpn-install.sh | 1430 | # Check if next arg is a value or another flag | COMMENT |
| LOW | openvpn-install.sh | 1462 | # Check if already installed | COMMENT |
| LOW | openvpn-install.sh | 1583 | # Check if next arg is a value or another flag | COMMENT |
| LOW | openvpn-install.sh | 1910 | # Check if user just wants help (don't require root for help) | COMMENT |
| LOW | openvpn-install.sh | 2051 | # Check if running kernel's modules are available | COMMENT |
| LOW | openvpn-install.sh | 2116 | # Check if OpenVPN version is at least the specified version | COMMENT |
| LOW | openvpn-install.sh | 2139 | # Check if kernel version is at least the specified version | COMMENT |
| LOW | openvpn-install.sh | 2157 | # Check if Data Channel Offload (DCO) is available | COMMENT |
| LOW | openvpn-install.sh | 3088 | # Check if configuration is DCO-compatible (udp or udp6) | COMMENT |
| LOW | openvpn-install.sh | 4004 | # Check if client name corresponds to an existing system user with a home directory | COMMENT |
| LOW | openvpn-install.sh | 4356 | # Check if client is in the valid fingerprints list | COMMENT |
| LOW | openvpn-install.sh | 4573 | # Check if client already exists | COMMENT |
| LOW | test/validate-output.sh | 43 | # Check if line starts with ANSI escape code (colored output from log functions) | COMMENT |
| LOW | test/validate-output.sh | 48 | # Check if line starts with our log prefixes (non-TTY mode) | COMMENT |
| LOW | .github/workflows/docker-test.yml | 260 | # Check if OpenVPN server is running and client config exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | openvpn-install.sh | 3098 | # Create the server directory (OpenVPN 2.4+ directory structure) | COMMENT |
| MEDIUM | openvpn-install.sh | 3165 | # Create the PKI, set up the CA, the DH params and the server certificate | COMMENT |
| MEDIUM | openvpn-install.sh | 4640 | # Create the block if this is the first client | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 955 | # Create a new client for revocation testing | COMMENT |
| MEDIUM⚡ | test/server-entrypoint.sh | 1183 | # Create a new certificate with the same name as the revoked one | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | openvpn-install.sh | 2453 | # Step 1: Detect server IP addresses | COMMENT |
| LOW⚡ | openvpn-install.sh | 2475 | # Step 2: Endpoint type selection | COMMENT |
| LOW⚡ | openvpn-install.sh | 2506 | # Step 3: Endpoint address (handle NAT for IPv4, direct for IPv6) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2551 | # Step 4: Client IP versions | COMMENT |
| LOW⚡ | openvpn-install.sh | 2597 | # Step 5: IPv4 subnet (prompt only if IPv4 enabled, but always set for leak prevention) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2626 | # Step 6: IPv6 subnet (if IPv6 enabled for clients) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2652 | # Step 7: Client access policy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | openvpn-install.sh | 2453 | # Step 1: Detect server IP addresses | COMMENT |
| LOW⚡ | openvpn-install.sh | 2475 | # Step 2: Endpoint type selection | COMMENT |
| LOW⚡ | openvpn-install.sh | 2506 | # Step 3: Endpoint address (handle NAT for IPv4, direct for IPv6) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2551 | # Step 4: Client IP versions | COMMENT |
| LOW⚡ | openvpn-install.sh | 2597 | # Step 5: IPv4 subnet (prompt only if IPv4 enabled, but always set for leak prevention) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2626 | # Step 6: IPv6 subnet (if IPv6 enabled for clients) | COMMENT |
| LOW⚡ | openvpn-install.sh | 2652 | # Step 7: Client access policy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/interactive-install-routing.sh | 18 | # Exercise command orchestration without touching the host system. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | openvpn-install.sh | 1080 | # If already set (non-interactive mode), just return | COMMENT |
| LOW | openvpn-install.sh | 1118 | # If already set (non-interactive mode), just return | COMMENT |
| LOW | openvpn-install.sh | 1154 | # If already set, just return | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openvpn-install.sh | 2046 | function checkArchPendingKernelUpgrade() { | CODE |
| LOW | openvpn-install.sh | 4013 | function setClientConfigPermissions() { | CODE |
| LOW | openvpn-install.sh | 4175 | function getClientsFromFingerprints() { | CODE |
| LOW | openvpn-install.sh | 4188 | function clientExistsInFingerprints() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openvpn-install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/validate-output.sh | 1 | #!/bin/bash | COMMENT |