Evidence item · SingLink VPN
VPNL-2026-0014/E-11Independent C-ABI descriptor check of SingLinkTunStart, with control build
Evidence VPNL-2026-0014/E-11 (text/plain, 2.0 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
c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866- Computed from stored file
c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866- Compared
- (registry load)
- Result
- Identical
Item details
- Evidence ID
- VPNL-2026-0014/E-11
- Record
- VPNL-2026-0014 · version 1.2
- Kind
- Log
- Media type
- text/plain
- Size
- 2.0 KB (2,080 bytes)
- Captured
- Access level
- Public File published and downloadable by anyone. How access levels work
- File name
- abi-fd-check.txt
Note 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>.
Findings citing this evidence
-
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-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.
File preview
# Independent C-ABI descriptor check of SingLinkTunStart/SingLinkTunStop (Python ctypes, pipe as TUN stand-in).# date: 2026-11-17T22:19:14Z; go: go version go1.27.3 darwin/arm64; python: Python 3.9.6# harness: abi_fd_check.py written for this audit (not vendor code); node: core/testnode (synthetic, loopback, fresh keys; link not recorded)## A: core/build/macos/libsinglink.dylib built from HEAD (sha256 a43f23c65b914cdd4a590ff51b32b5713006aa6a6f35173c4a52f7a0dbc3844d)PASS bad link: reply ok=false: {"error": "singlink: link has no credentials", "ok": false}PASS bad link: caller fd still open after the call: fd 4 inode 2179429881172862983PASS bad link: no leaked duplicate (EPIPE after caller close): write endPASS bad JSON: reply ok=false: {"error": "invalid character 'n' looking for beginning of object key string", "ok": false}PASS bad JSON: caller fd still open: fd 4PASS bad JSON: no leaked duplicate: write endPASS synthetic node: reply ok=true: {"ok": true}PASS synthetic node: caller's close of its own fd succeeds (core did not take it): fd 4PASS synthetic node: core duplicate alive while running: write end accepts dataPASS synthetic node: SingLinkTunStop ok: {"ok": true}PASS synthetic node: duplicate closed after stop (EPIPE): write endPASS synthetic node: status running=false after stop: {"running": false, "listen": "tun", "up": 0, "down": 0, "conns": 0, "since": 0, "lastError": ""}12 of 12 checks passed# exit status: 0## B: control (expected to FAIL). Same source with ffi/main.go:176 changed to take ownership (NewFDDevice instead of DupFDDevice); built to a scratch path, source revertedTraceback (most recent call last): File "<workdir>/tools/scripts/abi_fd_check.py", line 65, in <module> still_open = os.fstat(r).st_ino == inoOSError: [Errno 9] Bad file descriptor# exit status: 1<workdir>/tools/scripts/abi_driver.sh: line 17: 83210 Terminated: 15 go run ./testnode < $F > $O 2>&1 [node stopped manually after the run: the harness held the fifo open]## git status after revert (empty = clean)
Preview of the stored file, read from disk when this page was rendered.
Verify this file yourself
Expected SHA-256: c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866. 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 abi-fd-check.txt https://vpn.com.de/evidence/files/VPNL-2026-0014/abi-fd-check.txt
curl ships with current Linux distributions, macOS and Windows 10/11.
echo "c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866 abi-fd-check.txt" | sha256sum -c -
Prints “OK” when the file matches and “FAILED” when it does not. Run sha256sum abi-fd-check.txt on its own to print the hash for a manual comparison.
echo "c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866 abi-fd-check.txt" | shasum -a 256 -c -
Prints “OK” when the file matches. Run shasum -a 256 abi-fd-check.txt on its own to print the hash for a manual comparison.
(Get-FileHash -Algorithm SHA256 -LiteralPath '.\abi-fd-check.txt').Hash -eq 'c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866'
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-11: Independent C-ABI descriptor check of SingLinkTunStart, with control build [Log, text/plain]. In: SingLink VPN open-source app prototype: source-code security audit at commit d955d0e (VPNL-2026-0014, version 1.2). SHA-256 c074b01e004f032f873f75332706634ff5bc4bc4960961f94f88538cab3d9866. Captured 2026-11-17T22:19:14Z. https://vpn.com.de/evidence/VPNL-2026-0014/E-11
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-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-17VerifiedSource excerpts with HEAD line numbers referenced by the findings 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