Amnezia VPN Client (Desktop+Mobile)
This report summarizes scanner evidence for amnezia-vpn/amnezia-client, a C++ project with 15,629 GitHub stars. SynthScan examined 234,029 lines of code across 802 source files, recording 366 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 310 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 57 finding(s).
Which changes need focused human review? 366 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 366 distinct pattern matches across 8 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 |
|---|---|---|---|---|
| LOW | deploy/data/linux/update-resolv-conf.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | common/crypto/cryptoUtils.h | 1 | #ifndef CRYPTOUTILS_H | COMMENT |
| LOW | common/logger/logger.cpp | 1 | #include "logger.h" | COMMENT |
| LOW | recipes/openvpn/include/openssl/applink.c | 21 | #define APPLINK_FOPEN 11 /* solely for completeness */ | COMMENT |
| LOW | ipc/ipcserver.h | 1 | #ifndef IPCSERVER_H | COMMENT |
| LOW | ipc/ipcserver.cpp | 1 | #include "ipcserver.h" | COMMENT |
| LOW | service/server/helper_route_mac.c | 61 | #include <sys/cdefs.h> | COMMENT |
| LOW | service/server/helper_route_mac.c | 81 | #include <netdb.h> | COMMENT |
| LOW | service/server/helper_route_mac.c | 861 | return; | COMMENT |
| LOW | service/server/xray.cpp | 1 | #include "xray.h" | COMMENT |
| LOW | service/server/xray.cpp | 21 | #include <netinet/in.h> | COMMENT |
| LOW | service/server/router_win.h | 1 | #ifndef ROUTERWIN_H | COMMENT |
| LOW | service/server/router.cpp | 1 | #include "router.h" | COMMENT |
| LOW | service/server/localserver.h | 1 | #ifndef LOCALSERVER_H | COMMENT |
| LOW | service/server/router_linux.cpp | 1 | #include "router_linux.h" | COMMENT |
| LOW | service/server/killswitch.cpp | 1 | #include "killswitch.h" | COMMENT |
| LOW | service/server/localserver.cpp | 1 | #include "localserver.h" | COMMENT |
| LOW | service/src/qtservice.cpp | 41 | #include "qtservice.h" | COMMENT |
| LOW | service/src/qtservice_unix.cpp | 41 | #include "qtservice.h" | COMMENT |
| LOW | service/src/qtservice.h | 41 | #ifndef QTSERVICE_H | COMMENT |
| LOW | service/src/qtservice_win.cpp | 41 | #include "qtservice.h" | COMMENT |
| LOW | client/vpnConnection.cpp | 1 | #include "vpnConnection.h" | COMMENT |
| LOW | client/vpnConnection.cpp | 21 | #endif | COMMENT |
| LOW | client/amneziaApplication.h | 1 | #ifndef AMNEZIA_APPLICATION_H | COMMENT |
| LOW | client/secureQSettings.cpp | 1 | #include "secureQSettings.h" | COMMENT |
| LOW | client/amneziaApplication.cpp | 1 | #include "amneziaApplication.h" | COMMENT |
| LOW | client/amneziaApplication.cpp | 21 | #include "core/controllers/updateController.h" | COMMENT |
| LOW | client/vpnConnection.h | 1 | #ifndef VPNCONNECTION_H | COMMENT |
| LOW | client/main.cpp | 1 | #include <QDebug> | COMMENT |
| LOW | client/ui/utils/macosUtil.mm | 1 | #include "macosUtil.h" | COMMENT |
| LOW | client/ui/utils/systemTrayNotificationHandler.cpp | 181 | //#ifdef MVPN_MACOS | COMMENT |
| LOW | client/ui/utils/qAutoStart.h | 1 | // The MIT License (MIT) | COMMENT |
| LOW | client/ui/utils/qAutoStart.cpp | 1 | // The MIT License (MIT) | COMMENT |
| LOW | client/ui/utils/qAutoStart.cpp | 21 | // THE SOFTWARE. | COMMENT |
| LOW | client/ui/utils/macosUtil.h | 1 | #ifndef OSXUTIL_H | COMMENT |
| LOW | client/ui/models/protocolsModel.cpp | 1 | #include "protocolsModel.h" | COMMENT |
| LOW | client/ui/models/newsModel.cpp | 1 | #include "ui/models/newsModel.h" | COMMENT |
| LOW | client/ui/models/serversModel.cpp | 1 | #include "serversModel.h" | COMMENT |
| LOW | client/ui/models/api/apiCountryListModel.h | 1 | #ifndef APICOUNTRYLISTMODEL_H | COMMENT |
| LOW | client/ui/models/services/mtProxyConfigModel.cpp | 1 | #include "mtProxyConfigModel.h" | COMMENT |
| LOW | client/ui/controllers/logsUiController.cpp | 1 | #include "logsUiController.h" | COMMENT |
| LOW | client/ui/controllers/systemController.cpp | 1 | #include "systemController.h" | COMMENT |
| LOW | client/ui/controllers/importUiController.cpp | 1 | #include "importUiController.h" | COMMENT |
| LOW | client/ui/controllers/settingsUiController.cpp | 1 | #include "settingsUiController.h" | COMMENT |
| LOW | client/ui/controllers/allowedDnsUiController.cpp | 1 | #include "allowedDnsUiController.h" | COMMENT |
| LOW | client/ui/controllers/serversUiController.h | 1 | #ifndef SERVERSUICONTROLLER_H | COMMENT |
| LOW | client/ui/controllers/selfhosted/installUiController.h | 1 | #ifndef INSTALLUICONTROLLER_H | COMMENT |
| LOW | client/ui/controllers/selfhosted/installUiController.h | 21 | #include "ui/models/protocols/wireguardConfigModel.h" | COMMENT |
| LOW | …ient/ui/controllers/selfhosted/installUiController.cpp | 1 | #include "installUiController.h" | COMMENT |
| LOW | …ient/ui/controllers/selfhosted/installUiController.cpp | 21 | #include "core/utils/constants/configKeys.h" | COMMENT |
| LOW | client/ui/controllers/qml/pageController.h | 1 | #ifndef PAGECONTROLLER_H | COMMENT |
| LOW | client/ui/controllers/qml/pageController.cpp | 1 | #include "pageController.h" | COMMENT |
| LOW | client/ui/controllers/api/subscriptionUiController.cpp | 1 | #include "subscriptionUiController.h" | COMMENT |
| LOW | client/ui/controllers/api/subscriptionUiController.h | 1 | #ifndef SUBSCRIPTIONUICONTROLLER_H | COMMENT |
| LOW | client/mozilla/localsocketcontroller.cpp | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public | COMMENT |
| LOW | client/mozilla/localsocketcontroller.cpp | 21 | #include <QStringList> | COMMENT |
| LOW | client/mozilla/networkwatcher.cpp | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public | COMMENT |
| LOW | client/mozilla/networkwatcher.cpp | 21 | # include "platforms/linux/linuxnetworkwatcher.h" | COMMENT |
| LOW | client/mozilla/pingsenderfactory.cpp | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public | COMMENT |
| LOW | client/mozilla/dnspingsender.cpp | 21 | quint16 flags; | COMMENT |
| 241 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | deploy/data/macos/post_uninstall.sh | 101 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 63 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 145 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 178 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 281 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 324 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 425 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 472 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 575 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 622 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 712 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 766 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1012 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1032 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1163 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1249 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1372 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/deploy.yml | 1482 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | client/ui/models/protocols/xrayConfigModel.h | 232 | // ── Static option lists (for QML DropDown models) ───────────────── | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 34 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 36 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 58 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 60 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 147 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 149 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 164 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 166 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 191 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 193 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 258 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 260 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 300 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 302 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 318 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 320 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 373 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 375 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 428 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 430 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 509 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/server_scripts/check_server.sh | 511 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | client/core/utils/constants/configKeys.h | 179 | // ── Xray-specific keys ──────────────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 14 | // ── xPadding ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 28 | // ── xmux ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 48 | // ── XHTTP transport ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 85 | // ── mKCP transport ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 122 | // ── Server config (settings editable by user) ───────────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 207 | // ── Client config (generated, not edited by user) ───────────────────────────── | COMMENT |
| MEDIUM | client/core/models/protocols/xrayProtocolConfig.h | 220 | // ── Top-level protocol config ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 26 | # ── Configurable defaults ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 39 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 128 | # ── Add NDK toolchain to PATH (provides clang / clang++) ───────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 131 | # ── Required env vars for androiddeployqt ──────────────────────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 151 | # ── Configure ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client/tests/run_android_tests.sh | 260 | # ── Run tests ───────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/awg-go/conanfile.py | 80 | CODE | |
| LOW | recipes/tun2socks/conanfile.py | 99 | CODE | |
| LOW | recipes/libagw/conanfile.py | 120 | CODE | |
| LOW | recipes/openssl/conanfile.py | 513 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/openssl/conanfile.py | 590 | def _create_cmake_module_variables(self, module_file): | CODE |
| LOW | client/android/src/org/amnezia/vpn/AmneziaActivity.kt | 1282 | private class PermissionRequestHandler( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | client/platforms/windows/daemon/windowssplittunnel.cpp | 430 | // Step 1: Calculate how much size the buffer will need | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | client/platforms/windows/daemon/windowssplittunnel.cpp | 430 | // Step 1: Calculate how much size the buffer will need | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/awg-android/conanfile.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | client/server_scripts/check_server.sh | 221 | # Check if password is required for sudo | COMMENT |