FYI: Lemmy.world and other instances were hacked. Beehaw.org took itself down to mitigate risks

https://programming.dev/post/538972

FYI: Lemmy.world and other instances were hacked. Beehaw.org took itself down to mitigate risks - programming.dev

Drawing attention on this instance so Admins are aware and can address the propagating exploit.

I feel like we've had enough posts about this now?
I’m not sure you understand how sorting works. This was probably posted in multiple comms in multiple instances.

And this is why you don't trust tankies. It's very easy to compromise the software and put back doors into it.

Use kbin instead

Tbf, there are far more pressing reasons for not trusting Tankies... Instances getting hacked is for sure aggravating, but it isn't the gulag-backed paranoid ultra-corrupt authoritarian hellhole they so admire and wish to expand globally.
One is a step to the other.
This is the dumbest possible take about the situation, my lord.
I realize that you’re using ‘my lord’ as a bit of an exclamation here, but I initially read it as you addressing the commenter as your lord. it just made me imagine you with a heavily British accent, going full medieval peasant style to mock the guy. I found that quite humorous.
Something something landed gentry
Spreading FUD over a group of people's intent with their software that they personally use is an odd take, when kbin could very well have similar vulnerabilities in its codebase. Federation is good as part of limiting the attack vector one of many implementations and a subset of all servers hosting and routing media content. Kbin is just another set of federated content servers, with there being no guarantee of who develops the software being inherently more competent than those who develop Lemmy.

And this is why you don’t trust tankies

What are you referring to here?

The Lemmy devs are ideological fans of communist China.

They're likely to cooperate with them down the line and take actions that compromise their software, send data to others who are in their circle, and so on and so forth.

A lot of people say since Lemmy is open source you can trust it, but open source isn't a protection against malicious code. Here you can see an example of just how easy it is to sneak something by. Even though this wasn't a malicious example it still allowed admin accounts to be compromised

You seem to be coming up with conspiracy theories, don’t you?

And you don’t seem to know how (developing) software works, and that people aren’t infallible when it comes to avoiding bugs.

Popularity just also increases the attack surface to a project, all these bugs can absolutely also occur in kbin. Unless software is mathematically proved (which is practically impossible in this context), it’s always possible that there is a bug lurking around the corner.

And you don’t seem to know how (developing) software works, and that people aren’t infallible when it comes to avoiding bugs.

I'm literally a professional software developer.

I'm also telling you that people are fallible, bugs are easily missed, and you shouldn't trust a project to be secure just because it's open source.

Popularity just also increases the attack surface to a project, all these bugs can absolutely also occur in kbin.

Yes.

And kbin doesn't have developers that have reason to attempt to create and support malicious code. You can trust them to at least attempt to keep the code base clean in good faith. You can't trust Lemmy to do the same.

Why shouldn’t I trust Lemmy?

I mean the devs are now finally able to finance themselves via donations, after years of work on a project I’ve always aspired to make (but don’t have the necessary drive and time for it). There are also a lot more developers now with lemmy. kbin is still

Just because you obviously don’t share their political view, doesn’t mean that they don’t want this thing to be censorship-resistant and impossible to take down (no matter whether it’s a left or right authoritarian state/entity). They are closer to anarchism and marxism, than they’re to Chinas (authoritarian) version of “communism” (as the right wing media likes to simplify this rather complex topic…).

Everyone is more or less political, but it’s far fetched to allege the conspiracy that the devs are working together with the chinese government or something weird like that.

Why shouldn’t I trust Lemmy?

They are literally ideologically aligned with a state that runs the largest mass censorship program in the world.

I mean the devs are now finally able to finance themselves via donations

Doesn't help. They're still potentially malicious actors.

Just because you obviously don’t share their political view,

It's just a sliiiight bit more extreme than a small difference.

I also love how you're jumping goal posts here after your other point totally failed to land.

They are closer to anarchism and Marxism

They literally regularly praise and support China through their moderation and consider negative talk about China western propaganda.

It’s just a sliiiight bit more extreme than a small difference.

Like you’re on the other side of the spectrum (i.e. Nazi)?

Doesn’t help. They’re still potentially malicious actors.

Yeah in that sense everyone is a potential malicious actor, but it’s much less likely if all the code is publicly visible (open source), that this happens. Now especially as there are now a lot more people watching over the code and potentially future contributions (code review).

I trust these guys a lot more than most politicians or big companies (whether they’re obviously authoritarian like in china, russia or “democratic” like in the USA). Transparency is a much more important factor than ideology/political views IMHO (e.g. they could publicly claim that they’re rightwing, while they’re tankies and vice versa).

But to me all your comments feel like rootless conspiracy anyway…

Like you’re on the other side of the spectrum (i.e. Nazi)?

No, I would consider them being a bunch of Nazis just as bad. Any idealistically extreme group should never ever ever control platforms like these in any way.

I trust these guys a lot more than most politicians or big companies

Cheap ass copout reasoning there. You're still trusting code you shouldn't.

You’re still trusting code you shouldn’t.

In case you haven’t understood my previous argument. I trust code I can actually read and reason about (compared to e.g. reddit, facebook etc.). And just to prove my point, I am already looking over the codebase of lemmy, because there are obviously a lot of things that can still be improved, but malicious intent I haven’t found yet. And if I have missed something, other people will certainly find such things, and if that’s the case (which I don’t believe) then shit will certainly hit the fan.

kbin is also open source, and I’m happy that there are other projects with a similar vision as lemmy (the choice for PHP is an absolute mystery for me, but whatever floats your boat I guess). More (non-malicious) implementations always improve the fediverse in many ways.

I trust code I can actually read and reason about

Unless you're auditing the code yourself you can't. This is my point. The fact something is open source does not and will never protect you unless you go out of your way to do the herculean task of auditing it yourself.

And even if you audited it, guess what happens next week? Next year? The bigger the system gets the more valuable it is a target. I don't expect anything malicious to happen now. I expect it to happen once the growth phase is over.

At the end of the day it all falls down to trust.

Sorry, but I start to believe that you’re not actually a(n experienced) software engineer with open source experience. The codebase isn’t that big and complex, though admittedly it’s big enough that I haven’t checked every detail yet, but again, I’m by far not the only person that watches, reads, reasons and audits the code, and that’s what makes open source so secure. Btw. I can absolutely reason about code I’m reading, I’m not exactly sure what you mean with auditing, but for me that is reading and understanding what the code does…

The bigger the system gets the more valuable it is a target

Well the bigger an open source project gets, the more contributors (not always, but definitely in this case) have insight into the codebase and more likely see malicious intent. So in that regard: it will get safer over time.

So in that regard: it will get safer over time.

That's true, but it'll never be "safe" thanks to the malicious actors controlling pull request and being easily able to bypass most eyeballs with minor or major changes.

The world will never be safe… (increasingly accelerated by climate change). The point that the devs are malicious actors still has to be proven, and I don’t see any evidence yet. They have their own instance that they control and censor/moderate (and openly so btw.), I’m totally fine with that, but the open source project certainly doesn’t have the intent to be malicious (well to some regard in taking reddits userbase ^^).

Anyway I’m not continuing feeding the troll, have a nice day and please don’t fall to conspiracy theories (believing that the lemmy devs are malicious actors is probably the first step in that direction…)

The world will never be safe… (increasingly accelerated by climate change)

Alright, with this wild tangent I'm done here.

Ahh I just hit a wound. Just checked your history, of course how could I not see it, a climate-change denier as well, had to be… Well so you’re probably already lost then…

Guy, climate change is an obvious and currently happening thing that I 100 percent believe is real and needs to be handled.

Going on wild tangents about how climate change makes everyone not save in a discussion about software security is the problem.

I know you’re getting it from all angles right now, but

Do you have a source for their support of Communist China? I know they’re purported communist, but I didn’t notice any outright support of the Chinese form of communism.

Not trying to argue, but genuinely trying to stay informed

Check out lemmy.ml, which is the devs instance. You'll see it very quickly.
I think to get the best view of their political stance is to read dessalines essays.
Essays

A few essays on communism

essays

Thank you for the link. It’s interesting to see a lot of these points. It’s a massive undertaking, and is illuminating to see the other side of the coin, as it were.

Too much to go through in one sitting but a lot to swallow

Lmao you very clearly have absolutely no idea what you’re talking about.

I dislike tankies myself, but this was absolutely not a backdoor.

I literally said this wasn't in my comment. This is evidence of how easy it is to sneak in a back door.

This comment further underlines to me that you have absolutely no idea what the fuck you’re talking about.

You’re out of your element, Donny.

And you're aggressively confidently wrong. Evidence by the fact that you give literally zero reasoning.

The fact a bug like this can happen is clear and obvious evidence for how these things can happen, and this was just stupidity, not targeted malice.

Lmao go touch grass my guy.

It’s not a backdoor. It wasn’t malicious. Yes, some major contributors are tankies, but that doesn’t really matter. That’s the beauty of OSS: everyone can see the code, which means everyone can spot sketchy shit - either malicious or completely accidental - and fix it. The fact that a patch was published in a matter of literally hours is confirmation of this.

If this was a malicious exploit, it’d have been obscured far more, it would likely encompass more than a handful of insecure data-handling statements, and we’d have seen a LOT more instances getting popped.

It’s not a backdoor. It wasn’t malicious

Read my comment again. I literally said this wasn't. I said this is evidence that it could be easily done in the future.

everyone can see the code, which means everyone can spot sketchy shit - either malicious or completely accidental - and fix it.

Didn't help in this case. Open Source doesn't fix malicious contributions, and when the project owners are the malicious source your have no safeguards. Trust is still essential.

If this was a malicious exploit, it’d have been obscured far more,

Ex-fucking-xactly

I’m not going to litigate the entire topic of trust within the context of software and systems engineering with you.

This is the sort of Reddit interaction that I don’t miss.

"I'm going going to explain why you're clearly wrong and I'm clearly right because that would open me up to making arguments that can actually be argued against".

You treat open source like it's a magic sprinkle to get trustworthy code. It isn't, and when malicious actors control the code base and write the majority of the code it is hilariously easy to sneak many bugs in over the years. Even projects like Linux, run by people you can actually trust, have issues with third party contributors despite incredibly rigerous approval process.

I'm damn well aware of how this works, and you believe open source gives you security that simply does not exist.

OSS is not magic. Never claimed it was.

At this point, I am no longer sure what you’re trying to argue about.

But regardless of the knowledge you may or may not have, your comment pattern seems to be that of a troll, so you get the honor of being the first user I’m gonna block on lemmy! <3

Haha, I came to the same conclusion, but to be fair he’s not from lemmy, he’s just a lost soul in the fediverse (nothing against kbin though) strenuously believing that the devs of lemmy have evil intent and sell us all to “communist china” lol.

But regardless of the knowledge you may or may not have, your comment pattern seems to be that of a troll

Yeah. "Reddit behavior". Coming from the guy summoning every bad faith argument they can.

This is a ridiculous take and fairly toxic. Don't ruin any communities with unnecessary hate. It's unwanted.

And this is why you don't trust tankies. It's very easy to compromise the software and put back doors into it.

This is hardly a back door. The lemmy devs just screwed up.

Use kbin instead.

Kbin had a fix for an SQL injection exploit the other week. Both probably still have security holes that haven't yet been identified.

There are more eyes on the software as the userbase grows, and people are going to find more flaws. That's just the way things go.

This is hardly a back door.

I literally said it wasn't in my comment, it's evidence of how easy it is to put one in down the line despite the fact this is open source software.

You must not understand how open source works

Well he absolutely must learn how open source works.

But he doesn’t understand how it works.

(Sorry for the correction…)

McCarthy, is that you?

This is just getting too big too fast.

Lots of things change when you grow too fast, one of them is that any stupid failure will be found and exploited.
The project will mature and get a better security process, that has nothing to do with politics.

This comment is so idiotic that its least stupid explanation is that it’s a false flag by a tankie to make their critics look like idiots.
Its open source and a lot of people are looking at it. The odds it has a back door intentionally put there are slim to none. It would get noticed.
Did they catch this?

Don’t know, I don’t have enough information. Though my point were if it were intentional. I am going to hazard a guess by how they are scrambling to send out patches that it probably wasn’t intended by the creators.

The kind of developers that would put a back door in their software probably are also working on things with far more value potential than an open source forum where they could easily be caught. Perhaps like banks or weapons depots.

No. They didn't catch this. It compromised an administrator on a massive instance.

It wasn't intentional. It proves that when it is intentional it'll be easily done and it's a mistake to trust the Lemmy code base.

And the problem was fixed right afterwards and is currently being pushed out for admins to update to. Look, like it or not, shit happens. Expecting it to be full proof is unrealistic. It is a young software.

Just because it happened unintentionally, doesn’t prove that we can’t trust the developers to not put back doors in. Even if they did, why would they? What is there to gain for the developers adding a backdoor to it? Versus the risk of doing so? Is it ever worth the trouble when it is very much possible to find out if they did?

Lemmy has no financial value. That is the point. We don’t use credit cards here, people rarely use their names, email verification isn’t mandatory on all instances, passwords are potentially useful but you still need to know who they belong to. It is just such a great risk to their reputation for such a small gain.

And the problem was fixed right afterwards

Which is expected. When it comes to security the fact it happened at all is the problem.

I don't expect the software to be fool proof. All software has bugs and problems, but this software is specifically developed by bad actors who will eventually use the platform to fuck you over.

Just because it happened unintentionally, doesn’t prove that we can’t trust the developers

The developers aren't trustworthy on the account of their extremist ideology, not on account of this bug happening. This bug is evidence that despite the fact that this project is open source you should not just brush off that extremist ideal as "no big deal".

Lemmy has no financial value.

And immense social value.

We can argue non stop about politics, but that isn’t the point. Whether or not we agree with their politics is irrelevant to their ability to build a social platform. Until we start to see their beliefs affecting their software decision making in a negative way, we cannot complain about it. As they may or may not have popular opinions, that is a very good reason for them to have a great platform. So they can share them without fear of retaliation.

However, they have so far done nothing to show they can’t be trusted to not make unbiased or malicious software. It is incredibly rude to assume they will.

If you have evidence showing they cannot be trusted, please come forth with it. We need to know it.

Until we start to see

You'll be about a billion days too late and the entire network will have been compromised for ages. You don't operate on a "oh let's just trust the authoritarian communists until they do something bad" policy.

Alright, so what do they plan to do? Compromise Lemmy, sure. Then what? What do they gain? Propaganda?

Basically pull data on various accounts (IP address, activity history, etc), people, and trends. They could promote given posts or suppress posts or hide things from moderators. They could distribute whatever malware they might like, target specific accounts that way....

The possibilities are many.