Ripcord

Ripcord Security Policy

Reporting a vulnerability

Email hello@northglass.io with "Security" in the subject. Once the repository is public, you can also use GitHub's private vulnerability reporting: https://github.com/Northglass-Labs/ripcord/security/advisories/new

Do not open a public issue for a vulnerability.

What to include

Please do not include real request contents or other people's data.

What happens next

Scope

Out of scope

Safe harbour

Research done in good faith within this policy will not meet legal action from Northglass. Good faith means no privacy violations, no degrading the service, and no access to other people's data.

Supported versions

Recognition

With your consent, we credit you in the fix's release notes. There is no paid bounty.

Threat model

Ripcord assumes that the hub, the relay and the network can be hostile. The table shows what each attacker can do and what each cannot.

AttackerCanCannot
A hub operator, or a compromised hubSee metadata: inbox and device IDs, timing and sizes, and the names you gave your iPhone and your computers. Drop or delay requests, which fails closed.Read a request. Inject a request the phone accepts. Forge or replay an answer: answers are bound to the request ID, the card hash and the expiry.
The relay operator (Northglass)See what each push carries: the push token and capability, the hub's address, the random IDs of the inbox, the computer and the request, the expiry, the encrypted request when it fits, and timing. Drop pushes. Send a notification of its own for a real request, with its own text on the lock screen.Read or forge a request or an answer. Get an answer from its own text: Approve on a notification the app did not write never answers, and the request waits in the app with its verified text.
A network attackerNothing beyond TLS metadata.Read or change anything: requests are end-to-end encrypted and signed.
A thief with a locked phoneSee that notifications arrive, subject to the iOS preview setting.Approve. Unlock or Face ID is required, and the keys never leave the Secure Enclave. You can revoke the phone from your computer: ripcord unpair <number or name>, with the number or name from ripcord devices, or ripcord unpair --all.
Someone who photographs a pairing QR codeTry to pair first.Finish pairing: the command-line tool shows the phone's name and the code and waits for your yes, and the pairing slot is single-use and expires in 10 minutes.
A flood or a denial of serviceDelay answers.Cause an approval: limits apply, and failure is closed.

Out of scope: a compromised sender machine

An attacker who controls the computer that sends requests can send requests and read the answers. Ripcord does not defend against that, because the sender is the agent's own machine.

A missing answer is never a yes

If no answer arrives, because the request expired, the phone is offline or a hub dropped it, Ripcord never treats that as an approval. A request that does not verify is blocked, and its contents are never shown.