Not discrediting Open Source Software, but nothing is 100% safe.

@[email protected]
link
fedilink
English
2142Y

Luckily there are people who do know, and we verify things for our own security and for the community as part of keeping Open Source projects healthy.

@[email protected]
link
fedilink
English
122Y

Though one of the major issues is that people get comfortable with that idea and assume for every open source project there is some other good Samaritan auditing it

I would argue that even in that scenario it’s still better to have the source available than have it closed.

If nobody has bothered to audit it then the number of people affected by any flaws will likely be minimal anyway. And you can be proactive and audit it yourself or hire someone to before using it in anything critical.

If nobody can audit it that’s a whole different situation though. You pretty much have to assume it is compromised in that case because you have no way of knowing.

@[email protected]
link
fedilink
English
32Y

Oh definitely, I fully agree. It’s just a lot of people need to stop approaching open source with an immediate inherent level of trust that they wouldn’t normally give to closed source. It’s only really safer once you know it’s been audited.

@[email protected]
link
fedilink
English
52Y

Have you seen the dependency trees of projects in npm? I really doubt most packages are audited on a regular basis.

@[email protected]
link
fedilink
English
1012Y

Open source software is safe because somebody knows how to audit it.

@[email protected]
link
fedilink
English
202Y

It’s safe because there’s always a loud nerd who will make sure everyone knows if it sucks. They will make it their life mission

@[email protected]
link
fedilink
English
52Y

Will that nerd be heard or be buried under the scrutiny?

@[email protected]
link
fedilink
English
52Y

I’ll listen to them because I love OSS drama. But you’re right that they may just get passed over at large

andrew
link
fedilink
English
44
edit-2
2Y

And to a large extent, there is automatic software that can audit things like dependencies. This software is also largely open source because hey, nobody’s perfect. But this only works when your source is available.

@[email protected]
link
fedilink
English
62Y

Except when people pull off shit like Heartbleed.

andrew
link
fedilink
English
112Y

See my comment below for more of my thoughts on why I think heartbleed was an overwhelming success.

And you help make my point because openssl is a dependency which is easily discovered by software like dependabot and renovate. So when the next heartbleed happens, we can spread the fixes even more quickly.

@[email protected]
link
fedilink
English
32Y

Enterprise software inventory can unfortunately be quite chaotic, and understanding the exposure to this kind of vulnerability can take weeks if not longer.

@[email protected]
link
fedilink
English
122Y

My very obvious rebuttal: Shellshock was introduced into bash in 1989, and found in 2014. It was incredibly trivial to exploit and if you had shell, you had root perms, which is insane.

env x=‘() { :;}; echo vulnerable’ bash -c “echo this is a test”

@[email protected]
link
fedilink
English
192Y

Also because those people who can audit it don’t have a financial incentive to hide any flaws they find

Rob Bos
link
fedilink
English
262Y

safe**R** not safe. Seriously how is this a hard concept.

@[email protected]
link
fedilink
English
7
edit-2
2Y

*cough* Heartbleed *cough*

@[email protected]
link
fedilink
English
12Y

I came here looking for this comment.

andrew
link
fedilink
English
29
edit-2
2Y

Man we would have been so much better with plaintext communications everywhere, right?

You cite heartbleed as a negative but a) SSL would never have proliferated as it has without openssl and b) the fix was out in under a week and deployed widely even faster.

The alternative, proprietary crypto, would have all the same problems including the current laggards, but likely without everyone understanding what happened and how bad it was. In fact, it probably wouldn’t have been patched because some manager would’ve decided it wasn’t worth it vs new features.

@[email protected]
link
fedilink
English
12Y

the fix was out in under a week

I don’t disagree with this, but your point about automatic audits… It’s always a learning curve to prevent silly shit like heartbleed from getting into the system. But the idea that there was no check against this when it was first PR’d seems almost absurd. This is why sticking hard to API and design specs and building testing around them is so important.

I’m sure they learnt a valuable lesson there.

Muddybulldog
link
fedilink
English
42Y

I think the point that’s more relevant to the original post is that while the speed with which fixes were rolled out were admirable, the flaw existed for years before anybody noticed it.

@[email protected]
link
fedilink
English
32Y

it would have been way worse, because it would have been less discoverable in a closed source software by someone somewhere

Muddybulldog
link
fedilink
English
1
edit-2
2Y

Devil’s Advocate…

Codenomicon, the company who actually named the flaw, didn’t find the bug via the source code. They were building a security product and when testing that product against their own servers exposed the flaw. Open Source was not a factor in this discovery.

Google HAD discovered the flaw via the source code, exactly two days earlier.

In this case, the bug was 0.267379679% more discoverable due to being open source versus being closed.

@[email protected]
link
fedilink
English
-192Y

Lol u mad

andrew
link
fedilink
English
13
edit-2
2Y

I’m not mad, just disappointed.

In all seriousness though, I just disagree and I think it’s important to note the inaccuracy of thinking that a bug, which is famous only because it was deliberately publicized and deliberately open source, is anything but a huge win compared to what would likely have played out had the most popular SSL library in the world been proprietary and closed.

@[email protected]
link
fedilink
English
-32Y

What do you disagree with? Heartbleed was a vulnerability in OpenSSL. It affected millions of computers.

@[email protected]
link
fedilink
English
22Y

that is a big problem. it was quickly fixed and i dont see how it does proprietary software any favors…

@[email protected]
link
fedilink
English
1
edit-2
2Y

The only person in the whole thread talking about proprietary software is that guy.

This is a thread about how the accepted wisdom that many eyes make open source software more secure is based on the assumption that someone else is effectively auditing the code base which has been proven over and over again not to be true.

E: I just looked at this thread and now everyone is talking about proprietary software. It would be cool if the progression of time made fools of us all, but it looks like it’s just me this time.

@[email protected]
link
fedilink
English
312Y

“Transparent and accountable government is a waste of time because I personally don’t have the time to audit every last descision.”

OP, you are paranoid beyond belief.

@[email protected]
link
fedilink
English
6
edit-2
7M

deleted by creator

@[email protected]
link
fedilink
English
92Y

Even audited source code is not safe. Supply-chain attacks are possible. A lot of times, there’s nothing guaranteeing the audited code is the code that’s actually running.

@[email protected]
link
fedilink
English
392Y

You shouldn’t automatically trust open source code just because its open source. There have been cases where something on github contains actual malicious code, but those are typically not very well known or don’t have very many eyes on it. But in general open source code has the potential to be more trustworthy especially if its very popular and has a lot of eyes on it.

@[email protected]
link
fedilink
English
22Y

It’s one reason I haven’t rushed to try out every lemmy app that has come out yet.

ѕєχυαℓ ρσℓутσρє
link
fedilink
English
9
edit-2
2Y

“I don’t care about free speech because I have nothing to say.” Doofus.

@[email protected]
link
fedilink
English
412Y

no , but I know a bunch of passionate geek are doing it.

@[email protected]
link
fedilink
English
612Y

But eventually somebody will look and if they find something, they can just fork the code and remove anything malicious. Anyways, open source to me is not about security, but about the public “owning” the code. If code is public all can benefit from it and we don’t have to redo every single crappy little program until the end of time but can instead just use what is out there.
Especially if we are talking about software payed for by taxes. That stuff has to be out in the open (with exception for some high security stuff - I don’t expect them to open source the software used in a damn tank, a rocket or a fighter jet)

@[email protected]
link
fedilink
English
212Y

Fun fact*: the software in the most advanced dildos come from old missile guidance systems the government isn’t using anymore.

*not a fact, but hopefully fun.

@[email protected]
link
fedilink
English
172Y

Maybe not a fact but I will still accept it as canon

@[email protected]
link
fedilink
English
112Y

No, missle.

@[email protected]
link
fedilink
English
22Y

Agreed.

Yuumi
link
fedilink
English
82Y

this was indeed fun

@[email protected]
link
fedilink
English
22Y

Thanks 😁

@[email protected]
link
fedilink
English
32Y

That’s the neat part, you don’t!

@[email protected]
link
fedilink
English
42Y

I have doubt about the Linux kernel being properly audited.

@[email protected]
link
fedilink
English
-22Y

A little scary to contemplate since some of the code comes from the NSA

@[email protected]
link
fedilink
English
19
edit-2
2Y

I’m pretty sure the code submitted by the NSA has had more people look over it than any other snippet in there.

@[email protected]
link
fedilink
English
32Y

Probably there’s more to it. Who know maybe the active developers were contacted by secret services to add something kinky.

@[email protected]
link
fedilink
English
12Y

Code buddy neighbor turning out to be an NSA undercover op would make a great TV show

Lvxferre
link
fedilink
English
72Y

I have doubt about the Linux kernel being properly audited.

Torvalds is doing it so he has more reasons to chain insults. “I SAID NO REGRESSIONS, YOU BUNCH OF %#$%%&#$@#$%#&%#!!!”

@[email protected]
link
fedilink
English
10
edit-2
2Y

I mean, what’s a “proper audit”?
most audits my company does are a complete smoke and mirrors sham. But they do get certifications. Is that “proper”?

I’m pretty confident that the code-quality of linux is, on average, higher than that of the windows kernel. And that is because not only do other people read and review, the programmer also knows his shit is for everyone to see. So by and large they are more ashamed to submit some stringy mess that barely works

@[email protected]
link
fedilink
English
1
edit-2
2Y

I just had a thought, and thought of sharing it. I prefer to be skeptical and until properly convinced, why should I blindly believe in something?

That said, I personally use Linux and BSD kernels, and I’m quite thankful for FOSS movement to exist in our reality.

@[email protected]
link
fedilink
English
22Y

compared to what?

@[email protected]
bot account
link
fedilink
English
482Y

Do you know how to audit the code?

Yes?

oscar_falke
link
fedilink
English
312Y

I don’t. But I trust you

@[email protected]
bot account
link
fedilink
English
12Y

Just learn the basics and you don’t need to trust. Like… everything science.

@[email protected]
link
fedilink
English
12Y

Now audit the linux kernel

@[email protected]
bot account
link
fedilink
English
12Y

No.

@[email protected]
link
fedilink
English
22Y

Fair enough

@[email protected]
link
fedilink
English
132Y

LGTM

@[email protected]
link
fedilink
English
112Y

Let’s go to Mars?

Possibly linux
link
fedilink
English
02Y

I don’t use the term “open source”. I say free software because giving someone else control over your computing is unjust. The proprietor of the program has absolute control over how the program works and you can not change it or use alternative versions of it

@[email protected]
link
fedilink
English
52Y

You guise look at the code?

@[email protected]
link
fedilink
English
42Y

Of course. I don’t understand any of it, but it can’t hurt check for a stealData function.

MinusPi (she/they)
link
fedilink
English
52Y

That you formated that appropriately means you still know more about code than the vast majority of people

@[email protected]
link
fedilink
English
112Y

I have never. But someone has.

@[email protected]
link
fedilink
English
112Y

Everyone thinks this, so no one does it.

It’s like the bystander effect.

@[email protected]
link
fedilink
English
62Y

Depends on the software, you can bet your ass people are auditing the Linux kernel every day.

Create a post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
  • 1 user online
  • 828 users / day
  • 79 users / week
  • 904 users / month
  • 2.75K users / 6 months
  • 0 subscribers
  • 2.98K Posts
  • 32.1K Comments
  • Modlog