Hello everyone, We built clubsall, a frontend for federated content. Since the goal is to help build a reddit competitor, open sourcing is the logical next step.
However, without a review, I am afraid website could get hacked quickly.
Does someone with experience in scanning code for security issues or white hat hacking wants to help increase confidence so I can open source it?
Obscurity is not security, so you could argue that you should just open source it anyway. Any security holes present are also there right now - the fact that the source code is not available is irrelevant.
But if you insist, it may help if you say what programming language is used.
OP mentioned typescript, next, React in another comment, but no backend language
Yea - when it comes to a security review, it’s really the backend that matters the most though.
Agreed. Open source it and let everyone review it.
But even if you don’t have experience, it’s easy to gain. Start with OWASP, find some static code analysis tools, and run fuzzers. It’s a good start.
Typescript, Next, Cloudflare
TypeScript for the backend too? Sorry, can’t help with that. But I’d say just open source it anyway.
I already mentioned those in another comment (https://lemmy.world/comment/12877250) with React as well, but those are all frontend languages.
Which languages was used for the backend?
You can write backbends in Typescript, It’s what the *keys use.
Thanks, I didn’t know
Why another reddit competitor? There is already Lemmy.
Well there are in fact other options than Lemmy already, like Mbin and Piefed. This is good - more options means users have more choices and they all still interoperate so everyone can choose what they want without being separated.
You can have a look at this post for the context: https://lemmy.world/post/20694710
I think lemmy left a lot to be desired.
As someone who works in software engineering and has experience in multiple languages, infosec, as well as working through compliance with multiple certification standards, I’d be happy to help, provided one of two conditions is met:
- You pay me my salary rate, with a minimum of 10 hours, half in advance and report available after receipt of full payment (grew up with tradespeople and a lot about working with clients comes from what I learned from them).
Or,
- The code base is fully, and permanently open-sourced, prior to code review. This means licensing under GPL, LGPL, MIT, or BSD licenses, or equivalent, not “source available”.
Update on this request: A developer approached me and is not only helping me with review and fix security issues. We found quite concerning security issues, so I think the decision to have another person look at this was right one.
We discussed and found that we need to do following work
- Redo backend/api so it is more robust, while doing that it will also become Lemmy API compatible
- Fix client so it adapt to any API changes
- Move from cloudflare workers to docker, so it can be self hosted
- Move from D1 to postgres (D1 has 10GB limit, ClubsAll db is already 5GB), so it is scalable
- Move production to a VM or k8s cluster so we can host our own DB, backend and frontend instead of CF workers
We have some work to do but will have a good product at the end of it. We will update further once we get this work done. Thanks to everyone to your thoughts and offers to help.
Good luck!
#ClubsAll (a threadiverse/lemmy/mbin/piefed web frontend project) want to open source it and are looking for someone to do a code review/security analysis first… Are you into security and the fediverse *and* stuff being open source? Then respond here!
found via this post [https://lemmy.world/post/20828200] on Lemmy by ClubsAll dev @vinay_clubsall
:fediverse: #fediverse #infosec #fedidev #floss
https://clubsall.com/