Verify evidence Search

VPN Labs · VPN Network Research Labs — Report VPNL-2026-0014, version 1.2 — https://vpn.com.de/reports/VPNL-2026-0014

VPNL-2026-0014AuditUpdated

Security Audit · SingLink VPN

SingLink VPN open-source app prototype: source-code security audit at commit d955d0e

Independent source-code audit of the open-source SingLink VPN app prototype (commit d955d0e, protocol b924690) with host builds, tests and dependency scans, and a retest at commit 71156e1. No critical, high or medium issues were found. At the retest the low-severity local proxy issue and five informational findings were fixed, two were mitigated and two new informational findings were recorded. No native app was run on a device.

  • Published
  • Updated
  • Tested 18 November 2026

Permanent report ID

VPNL-2026-0014

Version
1.2
Methodology
v1.0

https://vpn.com.de/reports/VPNL-2026-0014

Key facts

Vendor
SingLink Corporation
Versions tested
SingLink VPN app prototype (open source) commit d955d0e, protocol b924690
Platforms
Android (source review only)iOS (source review only)macOS (source review; core library built and host tests run on macOS 27.2.1 arm64)Windows (source review only)
Test window
18 November 2026
Published
Last updated
Report version
1.2 · history
Authors
Miguel Schneider (Assessment)
Standards referenced
CVSS v4.0OWASP MASVS v2.1.0NIST SP 800-115

Independent test

Initiated by VPN Labs without vendor payment or vendor involvement in scope, timing or conclusions.

Status lifecycle

  1. DraftNot public (completed)
  2. Published (completed)
  3. Updated (current status)
  4. Retracted— (not reached)

Verdict

The prototype's claimed security fixes hold in source and host tests. At the retest (commit 71156e1) the local proxy issue F-01 and five informational findings were fixed and two were mitigated; device behaviour, App Sandbox and notarized builds remain unverified or open, and two new informational findings were recorded.

Measurements

Measured results

10 metrics recorded in the test environment described below, compared with the recorded baseline where one exists.

Measurements for VPNL-2026-0014 with baseline and difference.
Metric Result BaselineDifference Note
flutter analyze issues 0 issues — — "No issues found!" (flutter-analyze.txt).
flutter test, core not built 133 passed, 4 skipped — — "All tests passed!" (flutter-test.txt).
flutter test, macOS core built 135 passed, 2 skipped — — Skipped: Windows-only registry test; live-node test that needs SINGLINK_TEST_LINK (flutter-test-with-core.txt).
go test (core) 16 passed, 0 failed — — Top-level tests counted from go test -v output, plus 4 subtests; packages ffi and tunnel ok (go-test.txt).
go test -race (core) 2 ok — — No data race reported (go-test-race.txt).
govulncheck symbol-level findings 1 vulnerabilities — — GO-2026-6859, Go standard library, trace only from core/testnode; no module vulnerabilities (govulncheck.txt).
OSV advisories for pubspec.lock 0 packages with advisories 24 hosted packages queried — SDK packages flutter, flutter_test and sky_engine not queried (osv-pub.json).
Vendor build gate tests 14 OK — — scripts/test_security_build_gates.py (build-gates.txt).
SingLinkTunStart descriptor checks 12 of 12 passed — — Audit harness on the HEAD dylib; the ownership-taking control build failed (abi-fd-check.txt).
Pinned CI action references matching their tags 28 of 28 — — 6 distinct actions (ci-action-pins.txt).

Performance benchmarking methodology

Findings

Findings and severity

21 findings: 1 Low, 10 Informational, 10 Pass. No findings are open.

1 Low · 10 Informational · 10 Pass
  • 1 Low
  • 10 Informational
  • 10 Pass

Severity follows CVSS v4.0 where a score is given. “Pass” marks a test case in which no issue was found; it is listed so that the tested surface is visible. Severity rating model

Findings in VPNL-2026-0014: 21 entries, in report order.
ID Finding Severity CVSS Status Retest
F-01 Desktop local proxy accepts connections without authenticationLocal attack surface Low — Fixed
F-02 Vendor tests do not exercise the exported SingLinkTunStart descriptor duplicationTest coverage Informational — Fixed
F-03 Pinned Go 1.27.3 carries a standard-library vulnerability reachable from the test node onlyDependencies Informational — Fixed
F-04 Protection wording is broader than the tunnel configuration guaranteesUser-facing claims Informational — Mitigated
F-05 macOS release configuration has neither hardened runtime nor App SandboxBuild configuration Informational — Mitigated
F-06 Packet tunnel logs core error text as public in the unified logPrivacy Informational — Fixed
F-07 Ordinary metadata file keeps the server address and token subject identifierCredential storage Informational — Fixed
F-08 Residual build supply-chain hygiene gapsCI and supply chain Informational — Fixed
F-09 Prototype limits: no device acceptance of native pathsScope limitation Informational — Not applicable Not retested
F-20 Copied local proxy password stays on the system clipboardLocal attack surface Informational — Open Not retested
F-21 iOS tunnel keeps the last core error text in shared app-group settingsPrivacy Informational — Open Not retested
F-10 Android TUN descriptor double close (vendor A-04) fixed in the Go core and at the C ABIConnection lifecycle Pass — Fixed Not retested
F-11 DNS in-flight cap in the Go tunnel (vendor A-H04)DNS handling Pass — Fixed Not retested
F-12 Random profile identifiers (vendor A-H05)Privacy Pass — Fixed Not retested
F-13 Release builds load only the packaged core library (vendor A-H02)Build configuration Pass — Fixed Not retested
F-14 CI actions pinned to commit SHAs with least-privilege tokens (vendor A-H01)CI and supply chain Pass — Fixed Not retested
F-15 Android release signing has no debug fallbackBuild configuration Pass — Fixed Not retested
F-16 iOS stop is reported as successful only when iOS shows the tunnel down (vendor A-H06)Connection lifecycle Pass — Fixed Not retested
F-17 Protected credential storage and migration fail closedCredential storage Pass — Fixed Not retested
F-18 Android manifest: minimal permissions and no unintended exported componentsPlatform configuration Pass — Not applicable Not retested
F-19 Protocol pin and dependency scansDependencies Pass — Not applicable

F-01LowFixedLocal attack surface

Desktop local proxy accepts connections without authentication

CVSS
Not scored
Retest
· version commit 71156e1

Summary

On macOS and Windows the app starts the core's local proxy with only a link and a listen address, so the SOCKS5/HTTP port on 127.0.0.1 never requires credentials.

Details

lib/core/singlink_service.dart:97-101 sends {"link","listen"} to SingLinkStart; core/ffi/main.go:100-108 maps an absent "auth" field to engine.Options{Auth:false}. The protocol engine documents that Auth exists "so other local users and apps cannot use the tunnel" (singlink-protocol engine/engine.go:52-55, socks5/socks5.go:34-36). The listen address is restricted to loopback, so remote hosts cannot connect, and browsers cannot use the port because origin-form HTTP requests are rejected. Any local process, including processes of another local user account, can relay TCP and UDP traffic through the user's server and token while the app is connected. Leaving authentication off is a deliberate choice for system proxy mode, but it is also off when the system proxy setting is disabled. Not exercised on a desktop app build. Retest at commit 71156e1 (2026-11-19), fixed in commit 99bfbee: the app always sends "auth" (lib/core/singlink_service.dart:139) and asks for authentication whenever the system proxy is not used (lib/core/client_controller.dart:119). SingLinkStart treats a missing field as true and stops the engine when no credentials come back (core/ffi/main.go:118-133). Settings shows host, port, username and a masked password, and with the system proxy on it states that the port is open to every local app and user account (lib/ui/settings_page.dart:349-400). In protocol 23bf613 the engine generates the credentials from crypto/rand, compares them in constant time and clears them on stop. The Go and C ABI tests for refused and accepted logins passed (E-25). With the system proxy on, the default (lib/core/app_store.dart:68), the port stays open to local processes; the app now says so, as recommended.

Recommendation

Enable engine authentication whenever the system proxy is not used, show the generated credentials to the user for manual proxy configuration, and state in the UI that the local port is open to every local process when authentication is off.

Retest result

Fixed: the local proxy requires a per-session login whenever the system proxy is not used, and the app states when the port is open.

F-02InformationalFixedTest coverage

Vendor tests do not exercise the exported SingLinkTunStart descriptor duplication

CVSS
Not scored
Retest
· version commit 71156e1

Summary

The Go tests described as FFI-level call tunnel.DupFDDevice and startTun directly; no vendor test calls the exported SingLinkTunStart, and the Kotlin bridge has no automated test.

Details

core/ffi/tunstart_test.go:339-357 builds the duplicate itself before calling startTun. A local mutation that replaces DupFDDevice with NewFDDevice at core/ffi/main.go:176, so that the core takes ownership of the caller's descriptor, still passed every vendor Go test (mutation-checks.txt, M2). The audit's own ctypes harness, which calls the exported function, detected the same mutation (abi-fd-check.txt, part B). The only automated Android test is the Keystore instrumentation test; VpnBridge.kt and SingLinkVpnService.kt are untested. Retest at commit 71156e1 (2026-11-19), fixed in commit 99bfbee: core/ffi/cabi_test.go builds the c-shared library and runs a C harness (core/ffi/testdata/cabi_harness.c) that calls SingLinkTunStart, SingLinkTunStop and SingLinkStop with real pipe descriptors. It passed 13 of 13 checks, including close-on-exec of the duplicate and its release on stop, TUN failure, a busy engine and cancellation (E-25). CI sets SINGLINK_REQUIRE_CABI_TEST=1 so the test cannot be skipped. VpnBridgeTest.kt adds 12 JVM unit tests for release and stop; they were not run here because the test host has no Java runtime.

Recommendation

Add a test that calls SingLinkTunStart and SingLinkTunStop through the C ABI with real descriptors, and a Kotlin unit or instrumentation test for VpnBridge.release and stop.

Retest result

Fixed: a C ABI harness with real descriptors passed 13 of 13 checks; the new Kotlin tests were not run here.

F-03InformationalFixedDependencies

Pinned Go 1.27.3 carries a standard-library vulnerability reachable from the test node only

CVSS
Not scored
Retest
· version commit 71156e1

Summary

govulncheck reports GO-2026-6859 (net/http HTTP/1 server crash) in Go 1.27.3, fixed in 1.27.4. The only trace is in core/testnode, a loopback test helper that is not shipped.

Details

core/go.mod:3 declares go 1.27.3 and every CI job installs the version from go.mod (go-version-file), so CI-built libraries use Go 1.27.3. The reported trace is testnode/main.go:60 (io.Copy into an http.bodyEOFSignal). No trace was found from the core/ffi library that the apps load. Package and module scans reported no further vulnerabilities. Retest at commit 71156e1 (2026-11-19): core/go.mod declares go 1.27.4, govulncheck reported no vulnerability (E-20), and CI runs govulncheck v1.10.0 for the macOS, iOS, Android and Windows builds of the core.

Recommendation

Raise the go directive or toolchain line to 1.27.4 or later and run govulncheck in CI.

Retest result

Fixed: Go 1.27.4; govulncheck reports no vulnerability.

F-04InformationalMitigatedUser-facing claims

Protection wording is broader than the tunnel configuration guarantees

CVSS
Not scored
Retest
· version commit 71156e1

Summary

On mobile the connected screen reads "Protected · Traffic encrypted by SingLinkVPN" and the Android notification reads "All traffic is going through SingLinkVPN", while the code has no kill switch, no always-on support and no iOS full-capture options.

Details

lib/core/client_controller.dart:117-118 and SingLinkVpnService.kt:153-154 hold the wording. SingLinkVpnService.kt:54-58 stops the service when Android starts it without the app (always-on VPN), so always-on cannot keep a tunnel up. ios/Runner/SingLinkVpnPlugin.swift:109-116 creates the NETunnelProviderProtocol without includeAllNetworks, enforceRoutes or on-demand rules; with these defaults iOS may leave connections that existed before the tunnel outside it. The Android TUN excludes the app's own package (SingLinkVpnService.kt:99), which is required so that the core's connections to the server do not loop. Desktop wording was narrowed by the vendor (A-H03) and is accurate for proxy mode. These are configuration observations; no leak test was run on a device. Retest at commit 71156e1 (2026-11-19), changed in commit 99bfbee: the old wording is gone; the app and the Android notification now read "Device traffic goes through SingLinkVPN while connected". The Android service declares SUPPORTS_ALWAYS_ON and, when the system starts it, connects the saved profile; Settings links to the Android setting "Block connections without VPN". On iOS a "Block traffic outside the VPN" option sets includeAllNetworks and excludeLocalNetworks, but it is off by default, and enforceRoutes and on-demand rules are not used, so without it existing connections can still stay outside the tunnel. No leak test was run on a device; the vendor also lists device tests as remaining (E-27).

Recommendation

Qualify the mobile wording, support Android always-on with a CONNECT-less start path, and evaluate includeAllNetworks or enforceRoutes and on-demand rules on iOS, then confirm on devices with leak tests.

Retest result

Mitigated: wording narrowed, Android always-on and an optional iOS setting added; not confirmed on devices.

F-05InformationalMitigatedBuild configuration

macOS release configuration has neither hardened runtime nor App Sandbox

CVSS
Not scored
Retest
· version commit 71156e1

Summary

macOS/Runner/Release.entitlements disables the App Sandbox and the Xcode project sets no ENABLE_HARDENED_RUNTIME; CI produces ad-hoc signed builds only.

Details

The sandbox is off so that /usr/sbin/networksetup can be run (documented in the entitlements file). Without the hardened runtime the build cannot be notarized and offers no library-injection protection against other processes of the same user, which matters because the login Keychain item is trusted for this app. The vendor states that distribution signing and notarization are separate steps. Retest at commit 71156e1 (2026-11-19), changed in commit 99bfbee: ENABLE_HARDENED_RUNTIME is set for Release and Profile (macos/Runner.xcodeproj/project.pbxproj:509 and 666). App Sandbox is still disabled in Release.entitlements. Builds without a development team use Release-AdHoc.entitlements, which also disables library validation, and every CI macOS artifact is such an ad-hoc build. scripts/verify_macos_distribution.py refuses any build that is not Developer ID signed, timestamped, notarized and stapled, and CI checks that it rejects the ad-hoc build, but no notarized build exists yet. The privileged helper that would allow sandboxing is deferred (E-26, E-27).

Recommendation

Enable the hardened runtime for release, sign with a Developer ID and notarize before any distribution; consider moving the networksetup calls into a privileged helper so the app can be sandboxed.

Retest result

Mitigated: hardened runtime enabled and a distribution gate added; App Sandbox still off and no notarized build.

F-06InformationalFixedPrivacy

Packet tunnel logs core error text as public in the unified log

CVSS
Not scored
Retest
· version commit 71156e1

Summary

ios/PacketTunnel/PacketTunnelProvider.swift:54 and :179 log core error strings with %{public}@, so they are not redacted in the device's unified log.

Details

Core errors include wrapped dial errors ("cannot reach node: ..." in the protocol engine), which can contain the server address. Logs are visible in sysdiagnose archives and to a connected Mac. Not observed on a device. Retest at commit 71156e1 (2026-11-19), fixed in commit 99bfbee: PacketTunnelProvider.swift:56 and :182 log a fixed error category as public and the core's text as private, and a build-gate test checks this (E-26, E-27). Not checked in a device log.

Recommendation

Log error categories publicly and the error text as private.

Retest result

Fixed in source: error text is logged as private.

F-07InformationalFixedCredential storage

Ordinary metadata file keeps the server address and token subject identifier

CVSS
Not scored
Retest
· version commit 71156e1

Summary

The connection link is protected, but state.json still stores each profile's server host:port, SNI and hex token subject in plain JSON.

Details

lib/models/profile.dart:114-130 writes server, sni and subject; lib/core/app_store.dart:115-131 places state.json in Application Support on Apple platforms, %APPDATA% (roaming) on Windows and the app files directory on Android. The code does not exclude the file from iOS device backups or Windows roaming; Android backup is disabled in the manifest. These fields identify the server and the account subject, not the secret link. Retest at commit 71156e1 (2026-11-19), fixed in commit 99bfbee: settings version 4 no longer store server, SNI, subject or link (lib/models/profile.dart:159-162), and the store refuses to write these keys. Re-imports are matched by an HMAC-SHA-256 key over server and subject; its per-installation salt is kept in the same file, so the key relies on the entropy of the token subject. Migration from version 3 rewrites the file only after each protected record reads back. The settings folder is excluded from iOS and macOS backups, and Windows settings moved from roaming to local AppData. Profile names, plan and expiry stay in the file. The Dart tests for these paths passed (E-24, E-27).

Recommendation

Keep only display names and opaque references in the metadata, or exclude the file from backups and roaming profiles.

Retest result

Fixed in source: server, SNI and subject are no longer stored in the settings file, which is excluded from backups.

F-08InformationalFixedCI and supply chain

Residual build supply-chain hygiene gaps

CVSS
Not scored
Retest
· version commit 71156e1

Summary

Actions are pinned, but runner images float (macos-latest, ubuntu-latest), the Windows job may install MinGW from Chocolatey without a version pin, and the Gradle wrapper has no distributionSha256Sum.

Details

.github/workflows/build.yml:40, 204, 269, 327 (floating images); build.yml:132-133 (choco install mingw only if gcc is missing on windows-2022); android/gradle/wrapper/gradle-wrapper.properties has no checksum line. checkout steps keep the default persisted token, which is limited to contents: read. Retest at commit 71156e1 (2026-11-19), fixed in commit 99bfbee: runner images are pinned (macos-26, windows-2022, ubuntu-26.04), every checkout sets persist-credentials: false, MinGW is installed as version 14.2.0 and its gcc version is checked, and the Gradle wrapper has distributionSha256Sum. The integrity of the MinGW download relies on the Chocolatey package checksum. The vendor build-gate tests passed (E-26, E-27).

Recommendation

Pin runner images, pin or verify the MinGW package, add distributionSha256Sum, and set persist-credentials: false on checkout steps.

Retest result

Fixed: runner images, MinGW and the Gradle distribution are pinned; checkouts drop the token.

F-09InformationalNot applicableScope limitation

Prototype limits: no device acceptance of native paths

CVSS
Not scored
Retest
Not retested

Summary

Source inspection and host tests cannot replace device acceptance of the Android VpnService path, the iOS packet tunnel and Keychain sharing, macOS packaging and the Windows DPAPI and registry code.

Details

No device, emulator or simulator was started. The Android TUN descriptor path with a real VpnService descriptor, VPN consent and cancel-during-start, iOS extension termination and stop, hardware-backed key storage and Windows runtime behaviour remain unverified. The vendor reports Android emulator runs of the Go tests and an iOS simulator run of RunnerTests; these are vendor statements. The repository README states that this first-generation client is a prototype and not the current shipping app.

Recommendation

Run the platform test suites and a cancel-during-start and revoke matrix on physical Android and iOS devices before any release built from this code.

F-20InformationalOpenLocal attack surface

Copied local proxy password stays on the system clipboard

CVSS
Not scored
Retest
Not retested

Summary

The new Settings copy button writes the local proxy password to the system clipboard as plain text, where other local processes can read it and clipboard history or sync can keep it.

Details

Found during the retest at commit 71156e1 (2026-11-19). lib/ui/settings_page.dart:478 calls Clipboard.setData(ClipboardData(text: widget.value)) for the username and the password added for F-01. Any process of the same user can read the clipboard, Windows clipboard history and cloud clipboard can store or sync it, and macOS Universal Clipboard can pass it to nearby devices. Those local processes are the ones F-01 protects the port against. The password is per session, masked on screen, and copied only when the user asks.

Recommendation

Mark the copied password as concealed or transient (for example org.nspasteboard.ConcealedType on macOS, and the clipboard formats that exclude it from history and cloud clipboard on Windows) and clear it after a short time.

F-21InformationalOpenPrivacy

iOS tunnel keeps the last core error text in shared app-group settings

CVSS
Not scored
Retest
Not retested

Summary

The packet tunnel stores the full core error text, which can name the server, in the app group's UserDefaults; the backup exclusion added for F-07 does not cover that container.

Details

Found during the retest at commit 71156e1 (2026-11-19); the behaviour predates the retest commits. SharedState.setLastError (ios/PacketTunnel/PacketTunnelProvider.swift:275-282) stores the message under "lastError" in UserDefaults(suiteName: appGroup); it is called at :58 and :184 and cleared at the next start (:51). F-06 now keeps this text private in the unified log and F-07 excludes the Application Support folder from backups, but the app-group container is not excluded.

Recommendation

Store only the error category in the shared settings, or exclude the app-group container from backups.

F-10PassFixedConnection lifecycle

Android TUN descriptor double close (vendor A-04) fixed in the Go core and at the C ABI

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

SingLinkTunStart duplicates the caller's descriptor with F_DUPFD_CLOEXEC and the core only ever closes its duplicate, exactly once on every failure, cancel, panic and stop path; the Android bridge closes the original once after the core call returns.

Details

Code: core/ffi/main.go:165-184, core/ffi/tunstart.go:33-81 (handedOff guard), core/tunnel/fd.go:47-58 and 93-98, singlink-protocol engine/lifecycle.go finish and stopOwned (cleanup run once), VpnBridge.kt:45-90 (heldFds, release at most once, stop never closes), lib/platform/android.dart:207-245 (closeFd in finally). Tests run: all 10 core/ffi Go tests pass, including the process descriptor table test; mutation M1 (double close re-introduced) fails 6 of them. The audit harness called the exported SingLinkTunStart on the built dylib with a pipe as the TUN stand-in: bad link, bad JSON and a successful start against the synthetic node all left the caller's descriptor open for its single close and left no duplicate after stop (12 of 12 checks); the ownership-taking control build failed. The Dart ordering test passes against a modelled native side. Kotlin code was reviewed only. Behaviour with a real VpnService descriptor on a device was not tested (F-09).

Recommendation

Keep the ABI-level test (F-02) and confirm on a device.

F-11PassFixedDNS handling

DNS in-flight cap in the Go tunnel (vendor A-H04)

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

At most 64 upstream DNS queries are in flight per tunnel across all DNS flows; excess queries get an immediate header-only SERVFAIL with the same ID and the RD bit echoed.

Details

core/tunnel/dns.go:30-62 and 69-75. TestDNSOutstandingQueriesAreCapped and TestServfailEchoesIDAndRD pass; removing the cap (mutation M3) makes the cap test fail. DNS on UDP port 53 to any address is answered over DNS-over-TCP through the tunnel to a fixed upstream 1.1.1.1:53 (lib/platform/android.dart:121, PacketTunnelProvider.swift:100). A sustained flood on a device was not run.

Recommendation

None for the cap. Consider making the upstream resolver configurable.

F-12PassFixedPrivacy

Random profile identifiers (vendor A-H05)

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

New profile IDs are 16 bytes from Random.secure encoded as 32 lowercase hex digits; stored IDs are kept.

Details

lib/models/profile.dart:141-153; the models test generates 1000 unique IDs and checks the format and that a legacy ID is not rewritten.

Recommendation

None.

F-13PassFixedBuild configuration

Release builds load only the packaged core library (vendor A-H02)

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

In product mode the desktop candidate list contains only the library next to the executable (Windows) or in Contents/Frameworks (macOS); SINGLINK_LIB, working-directory and ancestor-folder paths exist only in debug and profile builds.

Details

lib/core/singlink_bindings.dart:149 and 175-207; Android opens the library by name from the APK and iOS links it statically. Covered by test/models_test.dart. No packaged release app was run.

Recommendation

None.

F-14PassFixedCI and supply chain

CI actions pinned to commit SHAs with least-privilege tokens (vendor A-H01)

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

All 28 action references are pinned to full SHAs that equal the commits of their tagged versions; the workflow default is permissions: {} and only the three artifact jobs add id-token and attestations write for build provenance.

Details

.github/workflows/build.yml; tag resolution with git ls-remote (ci-action-pins.txt); 14 vendor gate tests pass. The protocol is checked out at the SHA read from core/protocol-revision.txt and verified by scripts/protocol_provenance.py. Whether attestations exist for any published artifact was not checked.

Recommendation

See F-08 for remaining hygiene items.

F-15PassFixedBuild configuration

Android release signing has no debug fallback

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

Any Gradle task with Release in its name fails unless four external signing inputs are present and the keystore is not debug.keystore or in a .android folder.

Details

android/app/build.gradle.kts:64-86; the vendor gate tests for the signing script and Gradle text pass. CI builds only a debug APK named DEMO-debug. No Gradle build was run for this audit.

Recommendation

None.

F-16PassFixedConnection lifecycle

iOS stop is reported as successful only when iOS shows the tunnel down (vendor A-H06)

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

stopIfActive waits for disconnected or invalid; a timeout, a still-live status or a manager-load error is returned as a failure, and a new start does not proceed over a tunnel that did not stop.

Details

ios/Runner/SingLinkVpnPlugin.swift:194-247 and 131-135; the controller keeps the connected state when a stop fails while the core still reports running (lib/core/client_controller.dart:560-592). Dart tests pass; the Swift RunnerTests were not run because no simulator was started. Extension termination needs a signed device.

Recommendation

None in code; confirm on a device.

F-17PassFixedCredential storage

Protected credential storage and migration fail closed

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

Connection links and warning acknowledgements are stored only through native adapters: Android Keystore AES-256-GCM with the reference as associated data under noBackupFilesDir, Apple Keychain (iOS AfterFirstUnlockThisDeviceOnly, not synchronizable, shared access group), and Windows current-user DPAPI with the reference as entropy. Migration writes and reads back before committing metadata.

Details

CredentialStore.kt:29-65, apple/CredentialKeychain.swift:36-85, windows/runner/credential_store.cpp:144-189, lib/core/credential_migration.dart:16-37, lib/core/app_store.dart:160-187 and 371-433. There is no plaintext fallback in PlatformSecretStore (lib/core/secret_store.dart:33-68). The iOS extension refuses a legacy link in the provider configuration and rechecks warning consent (PacketTunnelProvider.swift:59-76). Dart storage, re-import and migration tests pass against an in-memory store; the native adapters were not executed. See F-07 for metadata that stays in plain JSON.

Recommendation

Run the Android instrumentation test and iOS RunnerTests on fresh devices.

F-18PassNot applicablePlatform configuration

Android manifest: minimal permissions and no unintended exported components

CVSS
Not applicable (no issue found)
Retest
Not retested

Summary

Only the launcher activity is exported; the VPN service is not exported and requires BIND_VPN_SERVICE; backup and device transfer are disabled; PendingIntents are immutable.

Details

android/app/src/main/AndroidManifest.xml:1-47 requests INTERNET, FOREGROUND_SERVICE, FOREGROUND_SERVICE_SPECIAL_USE and POST_NOTIFICATIONS. allowBackup is false and the backup and data-extraction rules exclude every domain. SingLinkVpnService.kt:171-177 uses FLAG_IMMUTABLE.

Recommendation

None.

F-19PassNot applicableDependencies

Protocol pin and dependency scans

CVSS
Not applicable (no issue found)
Retest
· version commit c39ce58

Summary

core/protocol-revision.txt and the go.mod pseudo-version name the same commit b9246900205c with a matching UTC commit time; go mod verify, the provenance gate, OSV for 24 Pub packages and govulncheck module scans reported no issue apart from F-03.

Details

head.txt, go-mod-verify.txt (all modules verified), build-gates.txt (protocol_provenance.py verify), osv-pub.json (0 packages with advisories), govulncheck-verbose.txt.

Recommendation

None.

Retest result

Pass: the pin names protocol commit 7822e49 (the F-01 fix of VPNL-2026-0013) with a matching UTC commit time; the provenance gate, go mod verify, go build, go vet and go test of the Go core passed.

Scope

Scope and authorisation

Only the scope listed here was tested. The absence of a finding outside this scope says nothing about the security of untested components.

In scope

Source code of github.com/SingLinkLabs/singlink-vpn-app at commit d955d0ec7d46b11332a12de41937320490fde8bd (committed 2026-11-17T21:40:15+08:00, 221 tracked files, git archive SHA-256 139bc34f0b925f14ce649311aa7445e6ffd1d09e67248e3f58f578ed1997481a), including the Flutter/Dart client, the Go core (core/), the Android Kotlin, iOS/macOS Swift and Windows C++ native code, build scripts and the GitHub Actions workflow. The pinned protocol github.com/SingLinkLabs/singlink-protocol at b9246900205cf822739965e87cf601f6af3bdffb was fetched and compiled as a dependency; its engine and SOCKS5 server were read only where the app relies on them. Focus areas: credential storage and migration, connection lifecycle and shutdown ownership, Android TUN descriptor ownership, iOS stop semantics, DNS handling in the Go core, profile ID generation, release build configuration, CI workflows, user-facing protection wording and the Android manifest. Test window: 2026-11-18.

Out of scope

  • The shipping SingLinkVPN apps and the SingLink 2.0 core, which are closed source and are not this prototype
  • A full audit of the SingLink Beta Protocol repository (read only where the app depends on it)
  • Running any native app on a device, emulator or simulator (Android, iOS, macOS app bundle or Windows)
  • Android instrumentation tests (CredentialStoreTest.kt), iOS RunnerTests and the Windows registry and DPAPI tests
  • Network leak testing, live servers, accounts and payment
  • Verification of build provenance attestations on published CI artifacts
Engagement
Self-initiated test. No vendor payment or involvement.
Authorisation
Independent review of publicly available open-source code (Apache-2.0). The repositories were cloned from GitHub; no vendor systems, accounts or live servers were accessed. Network tests used only a throwaway loopback node built from the repository (core/testnode).
Conflicts of interest
VPN Labs states that it has no business relationship with SingLink Corporation or its affiliates and received no payment or other consideration for this work. This source-code audit is not a certification by an accredited firm and no native app was run on a device.

How independent and commissioned work is separated

Reproducibility

Test environment

The set-up below is recorded so that the tests can be repeated. Tool and client versions are those in use during the test window.

Location
Not applicable (source-code audit on one workstation)
Network
Internet access used only to fetch the two repositories, Go modules and toolchain, Pub packages, GitHub tag references and vulnerability data (vuln.go.dev, api.osv.dev). Tunnel and proxy tests ran against a loopback synthetic node; its start-up handshake check may dial www.gstatic.com:443.
Test window
18 November 2026
Repetitions
Each command run once; flutter test run twice (without and with the macOS core built); descriptor harness run once on HEAD and once on a control build.
Client versions
singlink-vpn-app d955d0ec7d46b11332a12de41937320490fde8bd · singlink-protocol b9246900205cf822739965e87cf601f6af3bdffb

Devices

  • Apple Silicon Mac, macOS 27.2.1 (build 26B131), arm64

Tools

  • Flutter 3.35.6 (stable, framework 9f455d2486), Dart 3.9.2
  • Go 1.27.3 darwin/arm64, selected by core/go.mod through GOTOOLCHAIN=auto from an official go1.24.13 darwin-arm64 bootstrap (archive SHA-256 verified against go.dev/dl)
  • govulncheck v1.10.0 (golang.org/x/vuln), built with Go 1.27.3
  • OSV API v1 querybatch (api.osv.dev), queried 2026-11-17T22:11:29Z
  • Apple clang 21.0.0, git 2.54.0, Python 3.9.6
  • Audit harness abi_fd_check.py (Python ctypes) for the SingLinkTunStart descriptor contract
Evidence

Evidence and integrity

Each evidence item has a permanent ID and a SHA-256 hash published with this report. Public files can be downloaded and checked; restricted and withheld files are listed with their hash so they can be verified if released later.

  • 28items
  • 28public
  • 28verified against stored files
  • 0restricted or withheld
Evidence records for VPNL-2026-0014, with published SHA-256 hashes and the result of the integrity check against stored files.
ID Evidence SHA-256 Integrity File
E-01 Clone identity: HEAD, tree hash, file count, protocol pin and Go bootstrap checksum PublicManifest · 1.3 KB b199e371de95…b3bacfe7b199e371de95c38bd263d87246b5be3d012121add0e11dc60da3d28db3bacfe7 Verified Open file
E-02 git log of the cloned branch (35 commits) PublicLog · 5.1 KB Commit author e-mail addresses as published in the public repository. b4b0823a6e36…3e017181b4b0823a6e3656034a2de3d7c277c39221d8cc333cde81b309b6c03c3e017181 Verified Open file
E-03 go test -v ./... in core/ PublicLog · 2.5 KB Also see go-build.txt, go-vet.txt, go-vet-windows.txt, go-mod-download.txt, go-mod-verify.txt and go-list-m-all.txt in the same folder. 4baea302080c…1a0eed3e4baea302080cde5259904e004cbba67a0b990eb9e641c437e925443c1a0eed3e Verified Open file
E-04 go test -race ./... in core/ PublicLog · 420 B d5e5e4c10374…5b2e0fbbd5e5e4c10374e878e9bad2880f4b22eed7771e2a39cdfdd692d1c04a5b2e0fbb Verified Open file
E-05 flutter test --reporter expanded, without and with the macOS core PublicLog · 17 KB The run without the core is flutter-test.txt; the core build log is core-build-macos.txt. Local path prefixes replaced with <workdir>. 01293f11c177…1ee7d70e01293f11c177e3fae08ca935708b85acb40e5e2b154b3062afa3adcb1ee7d70e Verified Open file
E-06 flutter analyze PublicLog · 730 B flutter-pub-get.txt and flutter-version.txt in the same folder. 35d9a9fcd654…f114238235d9a9fcd654eaa885fed41c3ed7c7465b55e24e415cdee0f50d9cf1f1142382 Verified Open file
E-07 macOS core build (make -C core macos) with provenance stamp PublicLog · 1.5 KB Local path prefixes and the local user name replaced. e93de6b161cb…3317bd28e93de6b161cbce6e5ca634912c5a6ef85aa7d2c996e82395ddd24ce43317bd28 Verified Open file
E-08 govulncheck ./... in core/ (text, verbose and JSON) PublicLog · 1000 B Two earlier attempts that failed to load packages (wrong tool build and GOROOT) are kept as govulncheck-attempt1-built-with-go1.26.txt and govulncheck-attempt2-goroot-1.24.txt. Local path prefixes replaced with <workdir>. 7e6598f14d25…0f1f32147e6598f14d257ef352faab43bb11f4f1ec4332b9bfdf491ded5719580f1f3214 Verified Open file
E-09 govulncheck -show verbose ./... PublicLog · 1.5 KB govulncheck.json holds the machine-readable output. e4a1d53b80a7…4e0862b4e4a1d53b80a7822c0e53b0c800490afdffacc30dad104054ae5a8bc24e0862b4 Verified Open file
E-10 OSV querybatch results for pubspec.lock PublicDataset · 3.3 KB Produced by harness-osv_pub.py. a9515f42b36f…4b060290a9515f42b36f46cc5a9ea928d8ebfd91a5125911d8b02419003dfc434b060290 Verified Open file
E-11 Independent C-ABI descriptor check of SingLinkTunStart, with control build PublicLog · 2.0 KB Harness scripts: harness-abi_fd_check.py and harness-abi_driver.sh. The synthetic link is not recorded. Two annotations were added after the run and are marked in the file; local path prefixes replaced with <workdir>. c074b01e004f…ab3d9866c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866 Verified Open file
E-12 Mutation checks: vendor tests against undone fixes PublicLog · 2.2 KB Mutations applied in the local clone only and reverted; git status clean afterwards. 664618c6e377…e89ba87e664618c6e3772dd6f4821b7ed0467219d6bcf5906c5d705cfa60ed4ae89ba87e Verified Open file
E-13 Vendor-claimed fixes and their verification status PublicReport · 5.2 KB Assessment summary, not tool output. 78c80ee80418…933a9e1778c80ee80418cb58658d3cf5437d59edda861fed063ff4ba2413c9b6933a9e17 Verified Open file
E-14 Vendor build gate tests and protocol provenance verification PublicLog · 1.4 KB 85267e28fd24…a41871b485267e28fd24bc7ee1d680832e5efb04082aa57daa4e0b6829315d78a41871b4 Verified Open file
E-15 Pinned GitHub Actions compared with upstream tags PublicLog · 930 B f0b90a62114c…df4bb6aff0b90a62114c958012ae1fb82d8df6c840e6b11f70f88adf7f6b09f2df4bb6af Verified Open file
E-16 Assessment notes: limits and steps not performed PublicReport · 5.1 KB a79ca6b156da…3b618686a79ca6b156da5e122b8f98035625bb169faf367bb35516eb0cad76d03b618686 Verified Open file
E-17 Source excerpts with HEAD line numbers referenced by the findings PublicReport · 41 KB Generated with git show HEAD:<path> from the two clones; Apache-2.0 source. 3ecd63885470…7926192c3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c Verified Open file
E-18 SHA-256 checksums of all evidence files PublicManifest · 2.7 KB d24b2ed2c263…751ba56ed24b2ed2c2631bf8a559b413c532a3c58f9cd5775ce4950421978fc0751ba56e Verified Open file
E-19 Retest: protocol pin update in commit c39ce58 PublicLog · 1.6 KB Protocol pin, provenance gate, go mod verify, go build, go vet and go test of the Go core with Go 1.27.4 at app commit c39ce58. b952a1c6d9d8…94b26918b952a1c6d9d8d2cb49a44908c58a1f06a97d71cc4a9b5f0d5737ae7e94b26918 Verified Open file
E-20 Retest: Go core checks at commit 71156e1 PublicLog · 2.3 KB Commits since c39ce58, protocol pin, provenance gate, go mod verify, go build, go vet, go test, go test -race and govulncheck of the Go core with Go 1.27.4 and protocol 23bf613. 146c1412bdba…d75b052d146c1412bdbab16b6f62a14fa000a132d168730cfeddd32a016e9fd0d75b052d Verified Open file
E-21 Retest: macOS core library build PublicLog · 1.2 KB make -C core macos at 71156e1. 6b8ec30e4fd2…867779c06b8ec30e4fd2a040b7982e573b9c0ed3c8d5ced8fd1d2f443ee26e63867779c0 Verified Open file
E-22 Retest: Flutter version PublicLog · 687 B flutter --version (3.35.6, the version pinned in CI). c594ef61dc79…2b8023e2c594ef61dc7981240bf20be33c5792fc936f02e2dd6ad8e1b5c8aaa32b8023e2 Verified Open file
E-23 Retest: flutter analyze PublicLog · 1.0 KB flutter analyze at 71156e1. 4502a6d5d4cd…f75767ff4502a6d5d4cdffdca5566441970068e130aaabf83d9bcef9e2111788f75767ff Verified Open file
E-24 Retest: flutter test with the macOS core built PublicLog · 20 KB flutter test --reporter expanded at 71156e1 after make -C core macos. ebb29669f67f…cc00f363ebb29669f67fcda97f4448c0f206a95a24a09925435396ff6b08dd34cc00f363 Verified Open file
E-25 Retest: C ABI harness and local proxy login tests PublicLog · 2.5 KB SINGLINK_REQUIRE_CABI_TEST=1 go test -v -run CABI|StartLocal|TunStart ./ffi on a copy of 71156e1; vendor files unchanged. 800c6122e05f…29a21c83800c6122e05f8dd4c8e0f1053bef2667610ae59c1aebea5bc30542f429a21c83 Verified Open file
E-26 Retest: vendor build-gate tests PublicLog · 2.8 KB python3 -I scripts/test_security_build_gates.py -v on a copy of 71156e1. c1473c9a6a99…be4b1ad0c1473c9a6a99663d7f09c50168b199519603c39e1f91d65bf3657a22be4b1ad0 Verified Open file
E-27 Retest: source excerpts for F-01 to F-08 and the new findings PublicLog · 8.0 KB Commands and output, run in a fresh clone at 71156e1. b19df4e4ff9f…cec6c6adb19df4e4ff9f78a4c20cd2dab20cadd051409e2524540340e3abb522cec6c6ad Verified Open file
E-28 Retest: SHA-256 checksums of the retest files PublicManifest · 690 B shasum -a 256 over E-20 to E-27 as produced. 19fab45b4143…f3ae2f3319fab45b4143a31a4d3cefe32e26397bebae2c5c2a2f02285d8ec05cf3ae2f33 Verified Open file

Evidence manifests

What a hash proves

A SHA-256 hash proves a file has not changed since publication; it does not by itself prove that the conclusions are correct.

Right of reply

Vendor response

Vendors are offered a right of reply before publication and at any time afterwards. Statements are published as supplied and are clearly separated from our findings.

No response requested

No vendor response was requested for this record.

Vendor
SingLink Corporation
Disclosure

Disclosure

How and when the vendor was informed, and which technical details are published.

Disclosure level
Public
Vendor notified
Embargo until
No embargo

Public disclosure: All technical details of the findings are published.

The subject is public open-source code. No finding at medium severity or above was identified. F-01 is published in full because the unauthenticated local proxy is already described in the vendor's own public documentation (protocol README: optional auth; docs/SECURITY-AUDIT.md item I-10). The vendor addressed the open findings, crediting VPN Labs, in commits 99bfbee to 71156e1 on 2026-11-19; the retest was published the same day.

Coordinated disclosure policy

Versions

Version history

Every change after first publication is listed here with a new version number. Nothing is changed silently.

  1. Version 1.0

    Initial publication.

  2. Version 1.1

    Retest of the protocol pin at app commit c39ce58, which only moves the pin to protocol commit 7822e49 (fix for VPNL-2026-0013 F-01): provenance gate, go mod verify, build, vet and Go core tests passed (E-19). No other app change; findings unchanged.

  3. Version 1.2Current

    Retest at commit 71156e1 (protocol 23bf613): F-01, F-02, F-03, F-06, F-07 and F-08 fixed; F-04 and F-05 mitigated; new informational findings F-20 and F-21; retest evidence E-20 to E-28 added.

Corrections and retractions policy

Background

Background and definitions

Where this record fits: the product’s review dossier, definitions of the terms it uses and research that explains the tested behaviour.

Citation

Cite this report

Cite the report ID and the version you relied on. The permanent URL always resolves to the current version; earlier versions are described in the version history. Citations refer to the authoritative English record.

Permanent URL

https://vpn.com.de/reports/VPNL-2026-0014

Reference (APA style)

VPN Network Research Labs. (2026). SingLink VPN open-source app prototype: source-code security audit at commit d955d0e (Report No. VPNL-2026-0014, Version 1.2). https://vpn.com.de/reports/VPNL-2026-0014

BibTeX

@techreport{VPNL-2026-0014,
  author      = {{VPN Network Research Labs}},
  title       = {{SingLink VPN open-source app prototype: source-code security audit at commit d955d0e}},
  institution = {VPN Network Research Labs},
  type        = {Security Audit},
  number      = {VPNL-2026-0014},
  year        = {2026},
  month       = nov,
  date        = {2026-11-18},
  version     = {1.2},
  url         = {https://vpn.com.de/reports/VPNL-2026-0014},
  urldate     = {2026-11-25},
  langid      = {british},
  keywords    = {source-code-audit, open-source, flutter, go, android, ios, macos, windows},
  abstract    = {Independent source-code audit of the open-source SingLink VPN app prototype (commit d955d0e, protocol b924690) with host builds, tests and dependency scans, and a retest at commit 71156e1. No critical, high or medium issues were found. At the retest the low-severity local proxy issue and five informational findings were fixed, two were mitigated and two new informational findings were recorded. No native app was run on a device.},
  note        = {Version 1.2, last updated 2026-11-19.}
}

RIS

TY  - RPRT
ID  - VPNL-2026-0014
TI  - SingLink VPN open-source app prototype: source-code security audit at commit d955d0e
AU  - VPN Network Research Labs
PY  - 2026
DA  - 2026/11/18
PB  - VPN Network Research Labs
SN  - VPNL-2026-0014
M3  - Security Audit
ET  - Version 1.2
UR  - https://vpn.com.de/reports/VPNL-2026-0014
Y2  - 2026/11/25
LA  - en-GB
DB  - VPN Labs Report Registry
AB  - Independent source-code audit of the open-source SingLink VPN app prototype (commit d955d0e, protocol b924690) with host builds, tests and dependency scans, and a retest at commit 71156e1. No critical, high or medium issues were found. At the retest the low-severity local proxy issue and five informational findings were fixed, two were mitigated and two new informational findings were recorded. No native app was run on a device.
KW  - source-code-audit
KW  - open-source
KW  - flutter
KW  - go
KW  - android
KW  - ios
KW  - macos
KW  - windows
N1  - Version 1.2, last updated 2026-11-19.
ER  -