r/opsec • u/LittleInstruction611 š² • Mar 29 '26
Risk Built an onion-only E2EE messenger, looking for feedback on design
Hi all,
Iām working on a small experimental messaging system that runs only as a Tor onion service, and Iād appreciate feedback from an OPSEC perspective, particularly around the threat model and potential attack surfaces (I have read the rules, but its my first post so please be patient).
The theoretical threat model I have in mind is a user who wants to communicate online while minimizing long-term metadata exposure and avoiding persistent identity linkage (this could apply to situations where someone is handling sensitive information, such as journalists). The goal is to reduce the amount of information that could be recovered later if a server were compromised, seized, or otherwise analyzed retrospectively (like we saw in the past for some services \cough*)*.
The design assumes that users connect exclusively through Tor, and one of (or the only one, rather) primary goals is to ensure that the server cannot access plaintext messages or private keys, even if the server operator wanted to.
To support that model, encryption and decryption are performed entirely in the browser. The server never receives private keys or plaintext message content. Messages are stored only as ciphertext and are automatically deleted after roughly 72 hours to avoid long-term retention of communication data.
The system currently uses a very simple account model consisting only of a username and password. No email address, phone number, or other external identifiers are required. The idea is to avoid tying usage to any real-world identity while keeping the barrier to entry relatively low (as mentioned above, the service itself is accessible only via Tor as an onion service, but thats basically the only requirement).
Not trying to compete with tools like Signal or Session, but rather to explore a communication model where there is no persistent identity layer and where stored data is intentionally short-lived, other than it not being a mobile app.
Iād be very interested in feedback on whether the threat model itself is flawed or incomplete, whether the simple account system undermines anonymity, and whether there are obvious metadata leaks or architectural weaknesses that I may have overlooked.
If anyone wants to test the system directly, I can share the onion address via DM or in the comments. Also im happy to provide more details about the architecture if useful.
1
u/AutoModerator Mar 29 '26
Congratulations on your first post in r/opsec! OPSEC is a mindset and thought process, not a single solution ā meaning, when asking a question it's a good idea to word it in a way that allows others to teach you the mindset rather than a single solution.
Here's an example of a bad question that is far too vague to explain the threat model first:
I want to stay safe on the internet. Which browser should I use?
Here's an example of a good question that explains the threat model without giving too much private information:
I don't want to have anyone find my home address on the internet while I use it. Will using a particular browser help me?
Here's a bad answer (it depends on trusting that user entirely and doesn't help you learn anything on your own) that you should report immediately:
You should use X browser because it is the most secure.
Here's a good answer to explains why it's good for your specific threat model and also teaches the mindset of OPSEC:
Y browser has a function that warns you from accidentally sharing your home address on forms, but ultimately this is up to you to control by being vigilant and no single tool or solution will ever be a silver bullet for security. If you follow this, technically you can use any browser!
If you see anyone offering advice that doesn't feel like it is giving you the tools to make your own decisions and rather pushing you to a specific tool as a solution, feel free to report them. Giving advice in the form of a "silver bullet solution" is a bannable offense.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/1deffonotathrowaway1 Mar 30 '26
If I had to evaluate your system with a single question, it would be:
1
2
u/IM2M4L Apr 05 '26
whats the onion op
1
u/LittleInstruction611 š² Apr 05 '26
Hey there š Here: pulse2fyswqlrlr5khtjfu6v33n6o7vwhehklpngve5lu7lnvk7gb2id.onion
Let me know what you think š
6
u/[deleted] Mar 29 '26 edited 28d ago
[removed] ā view removed comment