ParallelPath 0.0.1: security test report
Date: 2026-10-24. Scope: the server (ppserver), the client engine (Windows, Android and web), the web app, the call page and the TURN relay, at version 0.0.1. It collects every round of testing during development: the core platform (findings 1-15); private conversations, permissions, choosing who to call, the tone model and help (16-19); and who may bring families onto the server, the file explorer's operations (moving and copying folders, copies into another family, bulk removal, restore, files shared in messages) and the right-click menus (20-22).
Method: an automated attack suite run against a real server over post-quantum TLS on loopback (server/e2etest/pentest_test.go), with real attackers holding their own keys and sessions. Plus targeted tests (access_test.go, repin_test.go, callrestart_test.go, internal/turn/turn_test.go, internal/backup), a code review of the authorisation paths, a dependency scan (govulncheck), and live testing of the web app in a browser engine and the Android app on an emulator. All the tests run with every build (tools/build-release.ps1).
Summary
| # | Finding | Severity | Status |
|---|---|---|---|
| 1 | A parent who joined but was never approved could remove the approved parents | Critical | Fixed |
| 2 | An unapproved parent could rotate the family to a key they generated (and read everything new) | Critical | Fixed |
| 3 | A member without a key could plant a bogus key for a new member's device (key poisoning) | High | Fixed |
| 4 | Automatic key rotation would have handed the new key to a device restored from a recovery code before the family re-approved it | High | Fixed during development |
| 5 | TURN relay could reach other UDP services on the server's own address | Medium | Fixed |
| 6 | Malformed STUN packet could crash the server (pion/stun GO-2026-6163), with no sign-in needed | Medium | Fixed (dependency updated) |
| 7 | Daily backups didn't include the families' encrypted files | Medium (availability) | Fixed |
| 8 | Blocked accounts' devices still counted as holding the family's key | Low | Fixed |
| 9 | Web app CSP allowed inline styles | Low | Fixed |
| 10 | Permissions-Policy blocked location for web check-ins | Functional | Fixed |
| 11 | The TLS server's certificate key (not the CA key) is stored unsealed in the data folder | Low | Accepted (see below) |
| 12 | A device that briefly loses its connection during a lock or unlock could show "offline" while connected | Functional | Fixed |
| 13 | On Ubuntu the call relay never started under the hardened systemd service | Functional (calls) | Fixed |
| 14 | ppserver uninstall --purge left the backup folder behind when the data was in the encrypted container | Low | Fixed |
| 15 | Unsigned Windows setups are blocked outright where Smart App Control or similar app control is on | Distribution | Open: needs a code-signing certificate |
| 16 | Children's names never reached their family (their device refused to post its own name record) | Functional | Fixed |
| 17 | Section visibility within a family is enforced by the server, not by separate keys | Design limit | Accepted, documented |
| 18 | "Voice only" is enforced by the apps (a call's kind is end-to-end encrypted, so the server can't see it) | Design limit | Accepted, documented |
| 19 | A professional with a history window saw no names (names posted before the window were hidden with it) | Functional | Fixed: devices post names again inside the window, under the current key only |
| 20 | Any account holder (a parent included) could start any number of family spaces, so families could be brought onto the server without its operator | Medium (authorisation) | Fixed |
| 21 | The server couldn't tell a private journal from a family, so a journal could be given members | Low | Fixed |
| 22 | "Save a copy" writes a decrypted file outside the app; copies within a family share the encrypted file | Design note | Accepted, documented |
Findings
1. Unapproved parent could remove the approved parents (critical)
A parent invite code joins someone as a parent *waiting for approval*: approval is when an existing parent compares safety numbers and shares the family's keys. The server only checked the role, so the joined-but-unapproved account could remove both approved parents, locking the family out of its own record. Anyone who got hold of a leaked invite code could do this.
Fix: parent powers (inviting, family settings, removing people) need an *approved* parent: one whose calling device holds the family's current key. And an approved parent can't be removed by the other parent at all. Neither co-parent can lock the other out; the server's operator can block an account if that's ever genuinely needed. A parent still waiting for approval can be removed. Covered by TestPentest.
2. Unapproved parent could take over the family's key (critical)
A rotation had to re-key every approved device, but the server didn't check *who* rotated. A parent without the key could make a new key, wrap it to every approved device, and so read everything written after.
Fix: only a device that holds the current key may rotate, and only a device that holds a key may share it. Covered by TestPentest.
3. Key poisoning (high)
For the same reason, a member without a key could post a grant for a key it made to a newly joined device, which would keep that key and ignore the real one. Fixed by the same rule as finding 2.
4. Rotation and recovered devices (high, found while building automatic rotation)
Automatic rotation (monthly, and whenever a device that held the key is revoked or its owner removed, blocked or out of their access window) originally re-keyed *every* device of every member. That included a device just restored from a recovery code, before the family had compared safety numbers and approved it.
Fix: a rotation must re-key exactly the devices that hold the current key, and the server refuses any other device. New devices still wait for approval. Covered by TestRecovery and TestPentest.
5. TURN relay reaching the server's own services (medium)
So that two callers can meet on the same relay, it must be allowed to send to its own address. TURN permissions cover a whole IP, though, so a signed-in device could send UDP through the relay to any service on the server (DNS, NTP, VPN), arriving from the server itself.
Fix: relay sockets drop datagrams to the server's own address unless they go to the relay's port range. Loopback, link-local, multicast and the server's other addresses stay refused. Covered by TestGuardedRelaySockets and TestRelayAccess.
6. Unauthenticated crash through STUN (medium)
govulncheck: pion/stun/v3 v3.0.1 panics on a malformed XOR-MAPPED-ADDRESS (GO-2026-6163), reachable from the TURN listener without signing in. Fix: updated to v3.1.5 (and pion/dtls v3.1.4). govulncheck now reports no reachable vulnerabilities in any module. One remaining advisory is in golang.org/x/crypto/openpgp, which ParallelPath doesn't import.
7. Backups without files (medium, availability)
Daily backups copied the database only, so restoring one would have lost every photo, receipt and document. Fix: backups now keep an incremental copy of the encrypted files (blobs/). They're still ciphertext.
8. Blocked accounts and rotation (low)
Blocking an account stops it signing in, but its devices still counted as holding the key, so no rotation happened. Fix: blocked accounts count as "shouldn't hold the key"; the families rotate away from them.
9. Inline styles in the web app's CSP (low)
style-src 'unsafe-inline' wasn't needed. Removed, and checked in a real browser engine: no CSP violations, and the app renders.
10. Location blocked for web check-ins (functional)
The API's Permissions-Policy said geolocation=(), which blocked the web app's own optional location on check-ins. Now geolocation=(self).
11. TLS certificate key unsealed (accepted, low)
The local CA's key is sealed with the OS key store, but the server certificate's key (tls-leaf.key, 200 days, can only vouch for this server's names) is a file in the data folder. That folder is readable only by the service and administrators, and it's on an encrypted volume. Stealing it would also need control of the network path, and all family content is end-to-end encrypted anyway. It may be sealed in a later version.
12. Stale "offline" after lock and unlock (functional)
When the app locked and unlocked, the old connection's shutdown could report "offline" after the new connection had reported "online". Status updates from a replaced connection are now ignored.
13. Relay blocked by the service sandbox (functional)
Found by installing a test build in a throwaway Ubuntu (WSL) clone. The unit allowed only AF_UNIX, AF_INET and AF_INET6, but listing network interfaces (the relay's networking, and its own-address check) needs netlink. The relay failed to start with a warning, so calls across networks would have had no relay. Fix: AF_NETLINK added to RestrictAddressFamilies; systemd-analyze security still scores 1.1.
14. Purge left the backups (low)
The purge read the backup folder from the config, but by then the encrypted data volume was closed. Fix: the folder is read before anything stops, and it's also kept in /etc/parallelpath/install.json.
15. Unsigned setups and app control (open)
Windows Sandbox on this build of Windows now enforces app control, and it blocks both unsigned setups ("An Application Control policy has blocked this file"). PCs with Smart App Control on would do the same. The setups need code signing before public release. They were verified in the sandbox before this policy applied (m5-m6), and haven't changed since apart from the version and wording.
16. Children's names (functional)
A child's device treated read-only access as "can't post anything", including the encrypted record carrying its own name, so families saw "Member 34823f" instead of the child's name. The device now follows the same rule as the server: anyone may post their own name; everything else follows their permissions.
17. Server-enforced sections (accepted)
A family's sections (chat, calendar, expenses, documents, info bank) share the family's epoch keys. Hiding a section from someone is done by the server never sending them its items. A compromised server could send them anyway, and the person's device could decrypt them. Private conversations have separate keys, so for content that must stay away from some family members, use a private conversation. The family's audit log (metadata only) stays visible to every member, because each device verifies the whole chain.
18. Voice-only calls (accepted)
Whether a call is voice or video is inside the end-to-end encrypted call set-up, so the server can't enforce "voice only"; the apps do. The server does enforce who may call whom.
20. Starting families without the operator (medium)
Reported by the product owner: the server let any signed-in account create a family space. A server invite (admin only) was meant to bring one family onto the server, but its person - or anyone they invited, the other parent included - could then start more and invite whole other families into them, bypassing the operator. Now every account has an allowance (Person.FamiliesLeft): a server invite gives one family, a family invite none, and only the admin portal (signed in, CSRF-protected, recorded in the server's audit chain) can give more. The server checks it on every family creation. Accounts from earlier test builds keep their one family only if they hadn't started one. The apps only offer "New family space" when it's allowed. Tests: TestFamilyAllowance, TestFamilyAllowanceLegacy, TestFileExplorer, the portal tests.
21. Journals indistinguishable from families (low)
The private journal is a space only its owner's devices hold keys for, but the server stored it like a family, so a (modified) app could invite people into it or open a conversation there. A journal is now created as one (kind=journal in its signed creation intent), one per person; the server refuses invites into it and conversations in it. Journals from earlier test builds aren't marked; the apps never invite into them.
22. Saved copies and shared files (accepted)
"Save a copy" deliberately writes a normal, decrypted file where the person chooses (Downloads, a USB stick). It's recorded like an opening (a download in the family's audit log), and the dialogs say the copy isn't encrypted. A copy made within a family points at the same encrypted file (same per-file key) rather than uploading it again; everyone in the family could already open the original, so nobody gains access. A copy into another family is decrypted on the device and encrypted again under that family's keys, and the other family never learns about the source.
What was attacked and held
- Families and journals: both parents tried to start a family (through the app and the API): refused with 403. A second journal, an invite into a journal, an unknown space kind and an out-of-range allowance were refused. The allowance could only be changed through the admin portal with a session and the CSRF token, and was used up after one family (
TestFamilyAllowance,TestFileExplorer, portal tests). - File explorer: moving a folder that holds someone else's file, removing it, restoring someone else's removed file, moving a folder into itself and moving without a reason were all refused; every move, removal and restore is a signed revision with its reason, and removed files stay openable (
TestFileExplorer).
- Private conversations: an outsider and a never-approved parent tried to read a conversation's space, items, audit log and keys, and to ring it. Others tried to start a conversation in the family as an unapproved parent or an outsider, plant a key in a conversation they aren't in, change someone's permissions without being their approved inviting parent, and invite someone into a conversation. All refused (
TestPentest). - Permissions: a child received no items from a section not shared with them, couldn't write in the family chat, couldn't ring the whole family, and couldn't be put in a conversation with someone a child may not message. A conversation's other people didn't ring for a call that wasn't theirs, and the other parent couldn't read it. Only the inviting parent could change the child's permissions; taking calls away took effect at once. A section shared later arrived in full, and removing the child re-keyed the conversation (
TestPermissionsAndConversations). - Tone model and help: both run in the engine with no network access of their own; they read only the draft or question passed to them. The model is a fixed array of weights compiled into the engine (no loading of files or code at run time).
- No session: every signed-in route (22 of them), with no token, a made-up token or a malformed one: all
401. - An outsider with an account on the same server: reading another family's space, items, audit log and keys; inviting, changing settings or removing members there; relaying call signals to it; recording audit entries in it; downloading its files by ID; posting items into it; uploading files into it: all refused.
- A member pretending to be someone else: items signed by one device but claiming another person; replaying another member's item; revising another member's message: all refused (signatures and authorship are checked on the server, and again by every client).
- Professionals: reading history from before their window (hidden by the server; their devices never get those epoch keys); posting; windows outside the access period: refused.
TestProfessionalHistoryWindow. - Children: writing when chat is off; anything other than messages and reactions when it's on; changing the setting: refused.
TestChildrenChat. - Input handling: encoded path traversal in API and web app paths, NUL bytes, 5,000-character IDs, a 3 MiB body, unknown JSON fields, truncated JSON, reusing an existing family's ID: all
4xx, never5xx, never a file from the data folder. - Sessions: a signed-out token stops working; a sign-in challenge can't be replayed.
- Transport: TLS 1.2, and TLS 1.3 with only classical key exchange (X25519 or P-256), are refused at the handshake.
- Brute force: unauthenticated endpoints (sign-in, enrolment, linking, recovery) are rate-limited per address; 200 rapid attempts are throttled. Recovery IDs that don't exist return nothing.
- Headers: HSTS,
nosniff, a strict CSP (no inline script or eval),frame-ancestors 'none'(the call page:'self'only),Referrer-Policy: no-referrer, COOP/CORP andCache-Control: no-storeon every response. - Certificate changes: an app follows a new certificate only when the server signs the change with its pinned long-term key. A different certificate without that statement, or with a statement for another certificate, is refused.
TestCertificateChange. - Admin portal (
internal/portaltests): nothing works signed out; one-time links can't be reused; every change needs the CSRF token; TOTP codes can't be replayed; five failures lock the account; the network allow-list hides the portal from other addresses. - TURN relay: wrong passwords and expired usernames get no allocation; loopback peers are refused.
- Reports: a report with one changed character fails verification; spreadsheet cells that start like a formula are neutralised (CSV injection).
- Local call bridge (Windows and Android): loopback only, a random 256-bit token on every request (constant-time comparison), and the Android WebView only loads the call page from 127.0.0.1.
- Android: backups and device transfer are off for the app, screenshots are blocked in release builds, cleartext traffic is allowed only to 127.0.0.1, the call screen and file provider aren't exported, and WebView debugging is enabled only in debug builds.
Not covered (yet)
- A third-party penetration test and code audit.
- Separate keys per section within a family (see finding 17).
- Calls between Firefox or Safari and Chromium-based apps. All Chromium-based clients (Edge, Chrome, Android) use the same frame-encryption API and are tested; Firefox and Safari use another, and mixed calls aren't tested yet.
- TURN across two real NATs, and Let's Encrypt with a real domain.
- The Windows setups aren't code-signed yet.