ParallelPathdocumentation

ParallelPath security overview

What ParallelPath protects, against whom, and how. The full design is in ARCHITECTURE.md, and the latest security test report is PENTEST-0.0.1.md.

What's protected

A family's record: messages, files, calendar, expenses, documents, the info bank, journals, names and calls. It must stay confidential (only the family can read it), intact (nobody can change or delete it unseen) and attributable (every action provably made by a given person's device).

Who it's protected against

AdversaryWhat they can't do
Someone who breaks into the server, or a dishonest operatorRead any family content, or change it unseen. They hold only ciphertext, public keys and metadata; every item and audit entry is signed by family devices, and each family's audit chain is checked by every member's app.
A network attackerRead or alter traffic. TLS 1.3 with hybrid post-quantum key exchange only; certificates are pinned; the content is end-to-end encrypted as well.
A future quantum computer recording traffic nowDecrypt it later. Every key exchange and wrap is hybrid ML-KEM + classical, and signatures are hybrid ML-DSA + classical.
The other parent (or anyone in the family)Rewrite history, deny what they sent, read your private journal or a private conversation they're not in, lock you out of the record, or take over the family's keys.
Someone who finds an invite codeDo anything beyond waiting for approval: they get no keys and no parent powers until a parent compares safety numbers and approves them.
An account holder (any member, a parent included)Bring new families onto the server: a server invite (admin only) allows exactly one family; more need the operator's allowance, checked by the server. A journal is one per person and never takes members.
Someone with a stolen deviceRead anything without the passphrase (Argon2id). A revoked device can't sign in, and the family's keys are rotated away from it.

Out of scope: a device that is itself compromised while unlocked (malware on a parent's phone sees what that parent sees), and metadata the server needs for delivery (who is in which family, sizes, times).

Cryptography

PurposeAlgorithm
Encrypting keys to a deviceHPKE: ML-KEM-1024 + P-384, HKDF-SHA512, AES-256-GCM
Signatures (identities, devices, items, audit, reports)ML-DSA-87 + Ed25519, both must verify
ContentAES-256-GCM, a fresh key per item and per file chunk
HashingSHA3-512
PassphrasesArgon2id
TransportTLS 1.3, X25519MLKEM768 / SecP384r1MLKEM1024 only
CallsWebRTC (DTLS-SRTP), plus end-to-end frame encryption: AES-256-GCM with per-device keys derived from a per-call key that's shared under the family's post-quantum keys

All of it comes from Go's standard library (the FIPS 140-3-validated code base): crypto/mlkem, crypto/mldsa, crypto/hpke. The same Go engine runs on Windows, Android and (compiled to WebAssembly) in the browser, so there's one implementation to get right.

Key controls

Reporting a vulnerability

Please report security issues privately to DarkCipher Systems (DarkCipher0x) through the contact on the project's website, not in a public issue. Include the version and the steps to reproduce.