cd ~
$ cat ~/security.md Open-Source

Security

Our mission is to protect your privacy through proven cryptographic protocols and transparent security practices.

# Last updated: 8 November 2026

Cryptographic Protocols

PQXDH Key Agreement

Kursal uses the Post-Quantum Extended Diffie-Hellman (PQXDH) protocol to establish shared secrets when initiating conversations.

Double Ratchet + ML-KEM Braid

All message exchanges use the Double Ratchet algorithm, providing both forward secrecy and post-compromise security.

We did not invent any of this. Kursal builds on Signal's specifications through libsignal, and on libp2p for the networking.

Current Limitations

Kursal has not been audited by an independent third party, and it is public beta software. Use it accordingly. If your safety depends on a messenger today, use one that has been audited.

Some weaknesses exist and are inherent to the design.

  • ▸ Your IP address is visible to your contacts and relays. Use Tor or a VPN if that matters to you.
  • ▸ Encryption protects content, not the fact that you are using Kursal at all.
  • ▸ Contacts added with a Long-Term Code have weaker forward secrecy for the first few messages of a conversation.

Vulnerability Disclosure

Security is at the core of Kursal. We encourage responsible disclosure of any vulnerabilities and are committed to addressing issues promptly.

Found a Vulnerability?

If you've discovered a security issue that might impact user privacy or safety, we'd greatly appreciate your help in reporting it.

Submit Vulnerability Report
  • ▸ Please provide detailed steps so we can reproduce and verify the issue.
  • ▸ We kindly ask for 90 days to release a fix before public disclosure.
  • ▸ We'll try our best to acknowledge your report within 48 hours.

Safe Harbour

If you research Kursal in good faith and stay within the scope below, we consider your testing authorised. We will not start or support any legal action against you for it, and if a third party comes after you over research we authorised, we will say so publicly and in writing. Accidents happen while testing: if you break something or reach data you did not expect to reach, stop, tell us, and we will treat that as part of the report.

In Scope

  • ▸ kursal.chat and its subdomains
  • ▸ The Kursal client, on any platform
  • ▸ The protocol, the cryptography, and the paper
  • ▸ Nodes and relays we operate ourselves
  • ▸ Anything you run yourself, against yourself

Out of Scope

  • ✗ Denial of service, load testing, or traffic flooding
  • ✗ Nodes and relays run by the community, not by us
  • ✗ Anything belonging to another user: messages, mailboxes, accounts, devices
  • ✗ Social engineering, phishing, or physical access

No Bug Bounty

We sadly do not pay for reports. Kursal is a student project with no revenue, and the money simply is not there.

Our Commitment

  • ▸ Credit in our security acknowledgments (if desired)
  • ▸ Regular updates on our progress addressing the issue
  • ▸ Transparent communication throughout the process

siGithub General Issues

For bugs, feature requests, and non-security issues, please open an issue on GitHub:

siGithub Open GitHub Issue

Security Practices

Code Security

  • ▸ All code is open source and publicly auditable
  • ▸ Continuous dependency vulnerability monitoring

Infrastructure

  • ▸ All communications are end-to-end encrypted
  • ▸ Resistant decentralized network

# For more details on our cryptographic implementation, read our technical paper or review the source code.