Evidence item · SingLink VPN
VPNL-2026-0014/E-17Source excerpts with HEAD line numbers referenced by the findings
Evidence VPNL-2026-0014/E-17 (text/plain, 41 KB) was captured on 17 November 2026 for record VPNL-2026-0014 (Security Audit), “SingLink VPN open-source app prototype: source-code security audit at commit d955d0e”. The file is public. The SHA-256 of the stored file matches the published hash.
Integrity check
This site recomputes the SHA-256 hash of the stored file each time the registry loads and compares it with the hash published in the record. How evidence is hashed at capture is described in our evidence-handling methodology.
Verified
The SHA-256 hash computed from the stored file when the registry was loaded is identical to the hash published in the record. The file has not changed since the hash was published.
- Published SHA-256
3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c- Computed from stored file
3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c- Compared
- (registry load)
- Result
- Identical
Item details
- Evidence ID
- VPNL-2026-0014/E-17
- Record
- VPNL-2026-0014 · version 1.2
- Kind
- Report
- Media type
- text/plain
- Size
- 41 KB (42,142 bytes)
- Captured
- Access level
- Public File published and downloadable by anyone. How access levels work
- File name
- source-excerpts.txt
Note Generated with git show HEAD:<path> from the two clones; Apache-2.0 source.
Findings citing this evidence
-
F-01 Low Fixed
Desktop local proxy accepts connections without authentication
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.
-
F-02 Informational Fixed
Vendor tests do not exercise the exported SingLinkTunStart descriptor duplication
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.
-
F-04 Informational Mitigated
Protection wording is broader than the tunnel configuration guarantees
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.
Also cites: E-27
-
F-05 Informational Mitigated
macOS release configuration has neither hardened runtime nor App Sandbox
macOS/Runner/Release.entitlements disables the App Sandbox and the Xcode project sets no ENABLE_HARDENED_RUNTIME; CI produces ad-hoc signed builds only.
-
F-06 Informational Fixed
Packet tunnel logs core error text as public in the unified log
ios/PacketTunnel/PacketTunnelProvider.swift:54 and :179 log core error strings with %{public}@, so they are not redacted in the device's unified log.
-
F-07 Informational Fixed
Ordinary metadata file keeps the server address and token subject identifier
The connection link is protected, but state.json still stores each profile's server host:port, SNI and hex token subject in plain JSON.
-
F-08 Informational Fixed
Residual build supply-chain hygiene gaps
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.
-
F-10 Pass Fixed
Android TUN descriptor double close (vendor A-04) fixed in the Go core and at the C ABI
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.
-
F-11 Pass Fixed
DNS in-flight cap in the Go tunnel (vendor A-H04)
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.
-
F-12 Pass Fixed
Random profile identifiers (vendor A-H05)
New profile IDs are 16 bytes from Random.secure encoded as 32 lowercase hex digits; stored IDs are kept.
Also cites: E-05
-
F-13 Pass Fixed
Release builds load only the packaged core library (vendor A-H02)
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.
Also cites: E-05
-
F-15 Pass Fixed
Android release signing has no debug fallback
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.
Also cites: E-14
-
F-16 Pass Fixed
iOS stop is reported as successful only when iOS shows the tunnel down (vendor A-H06)
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.
Also cites: E-05
-
F-17 Pass Fixed
Protected credential storage and migration fail closed
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.
Also cites: E-05
-
F-18 Pass Not applicable
Android manifest: minimal permissions and no unintended exported components
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.
File preview
# Source excerpts referenced by the findings, taken from the cloned HEAD d955d0ec7d46b11332a12de41937320490fde8bd# and the pinned protocol b9246900205cf822739965e87cf601f6af3bdffb. Line numbers are those of HEAD.=== lib/core/singlink_service.dart:96-101 (git show HEAD:lib/core/singlink_service.dart) 96 @override 97 Future<OpResult> start({required String link, required String listen}) => 98 _op(() { 99 final cfg = jsonEncode({'link': link, 'listen': listen}); 100 return _json((b) => b.start(cfg)); 101 });=== core/ffi/main.go:97-113 (git show HEAD:core/ffi/main.go) 97 //export SingLinkStart 98 func SingLinkStart(config *C.char) (res *C.char) { 99 defer guard(&res) 100 var cfg struct { 101 Link string `json:"link"` 102 Listen string `json:"listen"` 103 Auth bool `json:"auth"` 104 } 105 if err := json.Unmarshal([]byte(C.GoString(config)), &cfg); err != nil { 106 return fail(err) 107 } 108 if err := eng.Start(cfg.Link, cfg.Listen, engine.Options{Auth: cfg.Auth}); err != nil { 109 return fail(err) 110 } 111 user, pass := eng.Credentials() 112 return out(map[string]any{"ok": true, "username": user, "password": pass}) 113 }=== singlink-protocol@b924690 engine/engine.go:50-58 50 // Options tunes Start. 51 type Options struct { 52 // Auth requires a random SOCKS5 username/password (returned by 53 // Credentials) so other local users and apps cannot use the tunnel. 54 // Leave it off when the port is used as the system proxy, since many 55 // applications do not support SOCKS5 authentication. 56 Auth bool 57 } 58 === singlink-protocol@b924690 socks5/socks5.go:30-40 30 31 // Server accepts SOCKS5 clients. 32 type Server struct { 33 Client *singlink.Client 34 // Username and Password, if set, require RFC 1929 authentication so 35 // other local users and apps cannot borrow the tunnel. 36 Username, Password string 37 // MaxSessions caps concurrent client connections (default 512). 38 MaxSessions int 39 40 mu sync.Mutex=== core/ffi/main.go:145-191 (git show HEAD:core/ffi/main.go) 145 // SingLinkTunStart relays all device traffic arriving on a TUN file 146 // descriptor from the OS VPN API through the node in config: 147 // 148 // {"link":"singlink://...","mtu":1500,"dns":"1.1.1.1:53","appleHeader":false} 149 //
Preview of the stored file, read from disk when this page was rendered. Open the full file
Verify this file yourself
Expected SHA-256: 3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c. Download the file and run one of these commands in the same folder. Or drop the file into the in-browser verifier — it is hashed locally, never uploaded.
curl -fsSL -o source-excerpts.txt https://vpn.com.de/evidence/files/VPNL-2026-0014/source-excerpts.txt
curl ships with current Linux distributions, macOS and Windows 10/11.
echo "3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c source-excerpts.txt" | sha256sum -c -
Prints “OK” when the file matches and “FAILED” when it does not. Run sha256sum source-excerpts.txt on its own to print the hash for a manual comparison.
echo "3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c source-excerpts.txt" | shasum -a 256 -c -
Prints “OK” when the file matches. Run shasum -a 256 source-excerpts.txt on its own to print the hash for a manual comparison.
(Get-FileHash -Algorithm SHA256 -LiteralPath '.\source-excerpts.txt').Hash -eq '3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c'
Get-FileHash prints the hash in upper case; the -eq comparison in PowerShell is case-insensitive, so True means the file matches.
Chain of custody
The chain of custody shows when this evidence was created and every point at which it, or the record citing it, changed state. The dates come from the record itself; the final step is the automated check this site performs every time the registry loads.
-
Captured
Evidence recorded at Not applicable (source-code audit on one workstation). Within the test window 18 November 2026 – 18 November 2026.
-
Test window closed
The initial test window for VPNL-2026-0014 ended. Later retests, if any, are listed in the record versions below.
-
Record version 1.0
Initial publication.
-
Record 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.
-
Record version 1.2
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.
-
Integrity re-checked
Automated check by this site at registry load: Verified — Stored file matches the published hash.
Under our evidence-handling procedure the original file is hashed immediately after capture and kept read-only; analysis happens on copies. Redacted versions are separate files with their own hashes. A published file is never replaced: a corrected file receives a new evidence ID and the record gets a dated history entry. Read the full integrity & chain-of-custody policy
Cite this evidence
VPN Network Research Labs (2026). Evidence VPNL-2026-0014/E-17: Source excerpts with HEAD line numbers referenced by the findings [Report, text/plain]. In: SingLink VPN open-source app prototype: source-code security audit at commit d955d0e (VPNL-2026-0014, version 1.2). SHA-256 3ecd638854709480d9eb5de3c31cd1d27aa52bca3ecc05f533ad431b7926192c. Captured 2026-11-17T22:24:44Z. https://vpn.com.de/evidence/VPNL-2026-0014/E-17
Other evidence in this record
-
VPNL-2026-0014/E-01VerifiedClone identity: HEAD, tree hash, file count, protocol pin and Go bootstrap checksum ManifestPublic
-
VPNL-2026-0014/E-02Verifiedgit log of the cloned branch (35 commits) LogPublic
-
VPNL-2026-0014/E-03Verifiedgo test -v ./... in core/ LogPublic
-
VPNL-2026-0014/E-04Verifiedgo test -race ./... in core/ LogPublic
-
VPNL-2026-0014/E-05Verifiedflutter test --reporter expanded, without and with the macOS core LogPublic
-
VPNL-2026-0014/E-06Verifiedflutter analyze LogPublic
-
VPNL-2026-0014/E-07VerifiedmacOS core build (make -C core macos) with provenance stamp LogPublic
-
VPNL-2026-0014/E-08Verifiedgovulncheck ./... in core/ (text, verbose and JSON) LogPublic
-
VPNL-2026-0014/E-09Verifiedgovulncheck -show verbose ./... LogPublic
-
VPNL-2026-0014/E-10VerifiedOSV querybatch results for pubspec.lock DatasetPublic
-
VPNL-2026-0014/E-11VerifiedIndependent C-ABI descriptor check of SingLinkTunStart, with control build LogPublic
-
VPNL-2026-0014/E-12VerifiedMutation checks: vendor tests against undone fixes LogPublic
-
VPNL-2026-0014/E-13VerifiedVendor-claimed fixes and their verification status ReportPublic
-
VPNL-2026-0014/E-14VerifiedVendor build gate tests and protocol provenance verification LogPublic
-
VPNL-2026-0014/E-15VerifiedPinned GitHub Actions compared with upstream tags LogPublic
-
VPNL-2026-0014/E-16VerifiedAssessment notes: limits and steps not performed ReportPublic
-
VPNL-2026-0014/E-18VerifiedSHA-256 checksums of all evidence files ManifestPublic
-
VPNL-2026-0014/E-19VerifiedRetest: protocol pin update in commit c39ce58 LogPublic
-
VPNL-2026-0014/E-20VerifiedRetest: Go core checks at commit 71156e1 LogPublic
-
VPNL-2026-0014/E-21VerifiedRetest: macOS core library build LogPublic
-
VPNL-2026-0014/E-22VerifiedRetest: Flutter version LogPublic
-
VPNL-2026-0014/E-23VerifiedRetest: flutter analyze LogPublic
-
VPNL-2026-0014/E-24VerifiedRetest: flutter test with the macOS core built LogPublic
-
VPNL-2026-0014/E-25VerifiedRetest: C ABI harness and local proxy login tests LogPublic
-
VPNL-2026-0014/E-26VerifiedRetest: vendor build-gate tests LogPublic
-
VPNL-2026-0014/E-27VerifiedRetest: source excerpts for F-01 to F-08 and the new findings LogPublic
-
VPNL-2026-0014/E-28VerifiedRetest: SHA-256 checksums of the retest files ManifestPublic