70

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?

top 17 comments
sorted by: hot top controversial new old
[-] vinay_clubsall@lemmy.world 3 points 12 hours ago

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

  1. Redo backend/api so it is more robust, while doing that it will also become Lemmy API compatible
  2. Fix client so it adapt to any API changes
  3. Move from cloudflare workers to docker, so it can be self hosted
  4. Move from D1 to postgres (D1 has 10GB limit, ClubsAll db is already 5GB), so it is scalable
  5. 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.

[-] Blaze@feddit.org 2 points 12 hours ago
[-] nickwitha_k@lemmy.sdf.org 6 points 1 day ago

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:

  1. 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,

  1. 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".
[-] SorteKanin@feddit.dk 26 points 2 days ago

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.

[-] Blaze@feddit.org 12 points 2 days ago* (last edited 2 days ago)

OP mentioned typescript, next, React in another comment, but no backend language

[-] SorteKanin@feddit.dk 13 points 2 days ago

Yea - when it comes to a security review, it's really the backend that matters the most though.

[-] catloaf@lemm.ee 5 points 2 days ago

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.

[-] vinay_clubsall@lemmy.world 0 points 2 days ago

Typescript, Next, Cloudflare

[-] SorteKanin@feddit.dk 5 points 2 days ago

TypeScript for the backend too? Sorry, can't help with that. But I'd say just open source it anyway.

[-] Blaze@feddit.org 3 points 2 days ago* (last edited 2 days ago)

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?

[-] flamingos@feddit.uk 2 points 2 days ago

You can write backbends in Typescript, It's what the *keys use.

[-] Blaze@feddit.org 2 points 2 days ago

Thanks, I didn't know

[-] liaizon@social.wake.st 3 points 2 days ago* (last edited 2 days ago)

#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

[-] solrize@lemmy.world 9 points 2 days ago

Why another reddit competitor? There is already Lemmy.

[-] SorteKanin@feddit.dk 13 points 2 days ago

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.

[-] Blaze@feddit.org 7 points 2 days ago

You can have a look at this post for the context: https://lemmy.world/post/20694710

[-] vinay_clubsall@lemmy.world 5 points 2 days ago

I think lemmy left a lot to be desired.

this post was submitted on 14 Oct 2024
70 points (96.1% liked)

Fediverse

28051 readers
481 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS