Enterprise-ready zero-trust access platform built on WireGuard®.
This report presents the forensic synthetic code analysis of firezone/firezone, a Elixir project with 8,727 GitHub stars. SynthScan v2.0 examined 148,784 lines of code across 865 source files, recording 271 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 2.4 places this repository in the Likely human-written 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).
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.
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 271 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| LOW | docker-compose.yml | 421 | set -e | COMMENT |
| LOW | elixir/priv/static/robots.txt | 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file | COMMENT |
| LOW | elixir/assets/js/popover.js | 1 | // A standalone popover/tooltip controller. | COMMENT |
| LOW | rust/deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | rust/deny.toml | 41 | COMMENT | |
| LOW | rust/deny.toml | 61 | # If true, metadata will be collected with `--all-features`. Note that this can't | COMMENT |
| LOW | rust/deny.toml | 121 | #"RUSTSEC-0000-0000", | COMMENT |
| LOW | rust/deny.toml | 181 | COMMENT | |
| LOW | rust/deny.toml | 201 | # More documentation about the 'bans' section can be found here: | COMMENT |
| LOW | rust/deny.toml | 221 | external-default-features = "allow" | COMMENT |
| LOW | rust/deny.toml | 241 | # Features to not allow | COMMENT |
| LOW | rust/deny.toml | 301 | "windows-targets", | COMMENT |
| LOW | rust/gui-client/src-tauri/build.rs | 21 | /// Must match `<Application Id="…"/>` in `win_files/AppxManifest.xml`. | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc.rs | 41 | pub struct WrongUser; | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc.rs | 61 | /// UDS support, so in a year or two we might be better off making it UDS | COMMENT |
| LOW | rust/gui-client/src-tauri/src/launch_lock.rs | 1 | //! Advisory file lock used to coordinate first-instance detection. | COMMENT |
| LOW | rust/gui-client/src-tauri/src/launch_lock.rs | 41 | /// We acquired the exclusive lock and are the running first | COMMENT |
| LOW | rust/gui-client/src-tauri/src/lib.rs | 21 | pub mod launch_lock; | COMMENT |
| LOW | rust/gui-client/src-tauri/src/lib.rs | 41 | COMMENT | |
| LOW | rust/gui-client/src-tauri/src/service.rs | 861 | #[cfg(debug_assertions)] | COMMENT |
| LOW | rust/gui-client/src-tauri/src/gui.rs | 581 | server: ipc::Server, | COMMENT |
| LOW | rust/gui-client/src-tauri/src/package_identity.rs | 1 | //! Ensures the GUI process carries the Firezone sparse-MSIX package | COMMENT |
| LOW | rust/gui-client/src-tauri/src/package_identity.rs | 21 | #[error("Registered package identity for the current user; a restart is required")] | COMMENT |
| LOW | rust/gui-client/src-tauri/src/package_identity.rs | 41 | /// package for the current user (no admin needed once provisioned). | COMMENT |
| LOW | rust/gui-client/src-tauri/src/package_identity.rs | 81 | /// [`InstallationCorrupt`]. | COMMENT |
| LOW | rust/gui-client/src-tauri/src/settings.rs | 21 | #[cfg(target_os = "macos")] | COMMENT |
| LOW | rust/gui-client/src-tauri/src/mdm_migration.rs | 1 | //! One-shot migration of MDM policy values from the per-user | COMMENT |
| LOW | …gui-client/src-tauri/src/bin/firezone-client-tunnel.rs | 61 | /// Maximum length of time to retry connecting to the portal if we're having internet issues or | COMMENT |
| LOW | …st/gui-client/src-tauri/src/bin/firezone-gui-client.rs | 261 | /// Crash the `Controller` task to test error handling | COMMENT |
| LOW | …st/gui-client/src-tauri/src/bin/firezone-gui-client.rs | 281 | test_update_notification: bool, | COMMENT |
| LOW | …st/gui-client/src-tauri/src/bin/firezone-gui-client.rs | 361 | SmokeTest, | COMMENT |
| LOW | rust/gui-client/src-tauri/src/bin/register-sparse.rs | 1 | //! WiX deferred custom actions that register / deregister the | COMMENT |
| LOW | rust/gui-client/src-tauri/src/bin/register-sparse.rs | 101 | "register-sparse failed" | COMMENT |
| LOW | rust/gui-client/src-tauri/src/bin/register-sparse.rs | 201 | /// for all users, so every account (including `LocalSystem` and | COMMENT |
| LOW | rust/gui-client/src-tauri/src/bin/register-sparse.rs | 281 | tracing::info!(pfn = %pfn.to_string_lossy(), "calling DeprovisionPackageForAllUsersAsync"); | COMMENT |
| LOW | rust/gui-client/src-tauri/src/gui/os_windows.rs | 41 | } | COMMENT |
| LOW | rust/gui-client/src-tauri/src/gui/system_tray.rs | 21 | mod builder; | COMMENT |
| LOW | …gui-client/src-tauri/src/gui/system_tray/compositor.rs | 21 | COMMENT | |
| LOW | …st/gui-client/src-tauri/src/gui/system_tray/builder.rs | 21 | Separator, | COMMENT |
| LOW | …st/gui-client/src-tauri/src/gui/system_tray/builder.rs | 61 | AddFavorite(ResourceId), | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/windows.rs | 21 | }, | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/windows.rs | 41 | /// because the GUI is a *full-trust* packaged app: it runs as the | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/windows.rs | 61 | /// | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/windows.rs | 281 | }; | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/windows.rs | 301 | /// of our pipe *while the legit server is bound*, but during the brief window | COMMENT |
| LOW | rust/gui-client/src-tauri/src/ipc/unix/peer_check.rs | 1 | //! Verify that the peer of a connected Unix Domain Socket is a Firezone | COMMENT |
| LOW | …/gui-client/src-tauri/src/ipc/unix/peer_check/linux.rs | 41 | /// `anyhow::Error` describing why on reject. | COMMENT |
| LOW | rust/tests/gui-smoke-test/src/main.rs | 21 | /// to this hardcoded path. The deb/rpm package installs the GUI there; | COMMENT |
| LOW | rust/tests/loadtest/loadtest.example.toml | 1 | # Loadtest Configuration | COMMENT |
| LOW | rust/tests/loadtest/loadtest.example.toml | 61 | # [turn] | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 1 | // #![allow(clippy::unwrap_used)] | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 21 | // self.0.kill().ok(); | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 41 | // .port() | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 61 | // .env("RUST_LOG", "warn") | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 81 | // .spawn() | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 101 | // panic!( | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 121 | // }); | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 141 | COMMENT | |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 161 | // } | COMMENT |
| LOW | rust/tests/loadtest/tests/echo_integration.rs | 181 | // &target, | COMMENT |
| 162 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | elixir/README.md | 26 | # -------------------- | COMMENT |
| MEDIUM⚡ | elixir/README.md | 30 | # --------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | elixir/README.md | 35 | # --------------------- | COMMENT |
| MEDIUM⚡ | elixir/README.md | 39 | # ------------------ | COMMENT |
| MEDIUM | rust/mise.toml | 18 | # ============================================================================= | COMMENT |
| MEDIUM | rust/mise.toml | 20 | # ============================================================================= | COMMENT |
| MEDIUM | rust/mise.toml | 75 | # ============================================================================= | COMMENT |
| MEDIUM | rust/mise.toml | 77 | # ============================================================================= | COMMENT |
| MEDIUM | rust/mise.toml | 155 | # ============================================================================= | STRING |
| MEDIUM | rust/mise.toml | 157 | # ============================================================================= | STRING |
| MEDIUM | rust/relay/server/src/main.rs | 593 | // ┌──┼──┼──────────────────────────┐ | COMMENT |
| MEDIUM | rust/relay/server/src/main.rs | 595 | // └──┴──┴──────────────────────────┘ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 9 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 11 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 35 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 37 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 87 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 89 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 142 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/.swiftlint.yml | 144 | # ============================================================================ | COMMENT |
| MEDIUM | swift/apple/mise.toml | 21 | # ============================================================================= | COMMENT |
| MEDIUM | swift/apple/mise.toml | 23 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …firezone/android/features/splash/ui/SplashViewModel.kt | 111 | // If already granted, mark as requested and don't show the screen | COMMENT |
| HIGH | …sion/notification/ui/NotificationPermissionActivity.kt | 41 | // Mark as requested even if user skips | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 469 | // Step 1: Get system default resolvers | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 475 | // Step 2: Validate addresses and filter out sentinel ranges and non-routable addresses | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 516 | // Step 3: Fall back to Cloudflare DNS if no usable resolvers remain | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 524 | // Step 4: Send to connlib | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 469 | // Step 1: Get system default resolvers | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 475 | // Step 2: Validate addresses and filter out sentinel ranges and non-routable addresses | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 516 | // Step 3: Fall back to Cloudflare DNS if no usable resolvers remain | COMMENT |
| LOW⚡ | swift/apple/FirezoneNetworkExtension/Adapter.swift | 524 | // Step 4: Send to connlib | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/gateway-systemd-install.sh | 186 | # Define the target directory and binary path | COMMENT |
| MEDIUM | scripts/gateway-systemd-install.sh | 217 | # Create the directory if it doesn’t exist | COMMENT |
| MEDIUM | .github/workflows/publish-release.yml | 238 | # Create the PR | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/gui-client/src-tauri/src/auth.rs | 420 | actor_name: "Jane Doe".to_string(), | CODE |
| LOW | rust/gui-client/src-tauri/src/auth.rs | 511 | let actor_name = "Jane Doe"; | CODE |
| LOW | rust/gui-client/src-tauri/src/auth.rs | 585 | actor_name: "Jane Doe".into(), | CODE |
| LOW | rust/gui-client/src-tauri/src/auth.rs | 619 | actor_name: "Jane Doe".into(), | CODE |
| LOW | rust/gui-client/src-tauri/src/gui/system_tray.rs | 474 | actor_name: "Jane Doe".into(), | CODE |
| LOW | …d/features/session/ui/compose/SampleSessionActivity.kt | 28 | actorName = "Jane Doe", | CODE |
| LOW | …/android/features/session/ui/compose/SessionSamples.kt | 23 | actorName = "Jane Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/firezone-client-gui-install.sh | 20 | # Check if the user is already in the group | COMMENT |
| LOW | .github/actions/setup-rust-nightly/action.yml | 16 | # Check if nightly toolchain is already installed | COMMENT |
| LOW | .github/actions/setup-rust-nightly/action.yml | 27 | # Check if nightly toolchain is already installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/tests/loadtest/loadtest.example.toml | 6 | # Usage: | COMMENT |
| LOW | swift/apple/FirezoneNetworkExtension/Channel.swift | 53 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust/libs/connlib/ip-packet/src/lib.rs | 922 | /// Essentially, the only time we need to update the ECN flags is: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/libs/telemetry/src/feature_flags.rs | 79 | // Exhaustive destruction so we don't forget to update this when we add a flag. | COMMENT |