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
- What the problem is and where it is: the component, the file or the address.
- The steps to reproduce it, or a proof of concept.
- What an attacker gains from it.
- The version you tested: the CLI release, the app version, or the commit.
Please do not include real request contents or other people's data.
What happens next
- We acknowledge your report within 3 business days.
- We give a first assessment within 10 business days.
- We update you at least every 14 days.
- For critical and high findings, we ship a fix or give a mitigation plan within 30 days.
- We practise coordinated disclosure: 90 days from your report by default, sooner when a fix ships, or later by agreement.
Scope
- The
ripcordcommand-line tool. - The hub and relay code.
- Northglass's deployments at
hub.getripcord.app,relay.getripcord.appandgetripcord.app. - The iPhone app.
- The protocol, in
protocol/SPEC.md.
Out of scope
- Volume-based denial of service.
- Social engineering.
- Physical access to an unlocked device.
- Attacks that need a compromised sender machine.
- Third-party services, such as Cloudflare and Apple.
- Deployments run by others. A protocol or code bug you find there is still in 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
- The latest
ripcordCLI release. - The current App Store version of the app.
- The deployed hub and relay.
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.
| Attacker | Can | Cannot |
|---|---|---|
| A hub operator, or a compromised hub | See 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 attacker | Nothing beyond TLS metadata. | Read or change anything: requests are end-to-end encrypted and signed. |
| A thief with a locked phone | See 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 code | Try 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 service | Delay 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.