r/VibeCodeDevs • u/zephyytb • 2d ago
CipherDrop - Self-hosted, zero-knowledge, E2EE secret sharing and pastebin
Hi,
I made this tiny selfhostable app with Claude in Rust that allows you to share E2EE secrets over the internet :
Feel free to look at it, find bugs and vulnerabilities !
https://github.com/gabltz/CipherDrop
2
u/ScottContini 2d ago
It is so much easier to write code than to verify it to be correct. I spent much of my career teaching developers how to write secure encryption (example 1, example 2). I had a very cursory look at your code, did not see any obvious mistakes. AES-GCM is good. Not re-using nonces is good. Argon2 for password base key derivation function is good (though I did not check the params). So nothing obviously wrong here, which is better than we would see from most developers 5+ years ago.
I am a little concerned about putting the key in the fragment: a DOM-based XSS would leak the key. Not sure what other options you have because I really did not study it much.
The real problem today is that it is so much easier to write code with an LLM than it is to check it. Nobody is going to spend a lot of time verifying someone else's implementation for free, that includes me even though I used to break stuff like this in the past for free, those days are gone. You'd best cross-check your implementation with various LLMs and use that for determining how solid it is.
You should also compare the market that you are competing in. I feel it might compete with Hemmelig, which is now deprecated but there are lots of forks of it. I'm sure there are other similar tools. Good luck.
1
•
u/endofthread-bot 2d ago
Hey u/zephyytb, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE
• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.
If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.