News for hackers. Stuff that matters.
Re:A mistakenly published password exposed Mercedes-Benz sou... by sauercrowd on Tuesday January 30, 2024 @04:59AM (#39188227)
?

Why?

Re:A mistakenly published password exposed Mercedes-Benz sou... by INTPenis on Tuesday January 30, 2024 @05:15AM (#39188353)
I'm not the person you replied to but I agree, because it's related to public safety.

Same with aviation software.

Anything that deals with public safety should be audited by the public.

Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Tuesday January 30, 2024 @05:26AM (#39188442)
It should be audited by professionals, but available for public reviews / additional audits.

General folks and even most devs do not have the skills to audit code.

Re:A mistakenly published password exposed Mercedes-Benz sou... by INTPenis on Tuesday January 30, 2024 @05:31AM (#39188477)
Nothing prevents the owner of the code to audit it themselves, but everyone else should also be able to.

I think if you release code related to important everyday things like cars, everyone who is able will want to take a look. And you never know who will think outside the box and stumble across something they can then escalate and investigate with other people who are more capable. It happens in open source all the time.

Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Tuesday January 30, 2024 @12:07PM (#39192620)
Auditing your own code doesn't help if you have a blindspot. You will miss it while developing and auditing.

> Everyone who is able will want to take a look.

This is not true. Auditing is very skill intensive and time intensive. There needs to be compensation for it either direct (you pay for professional auditors) or indirect (you're an academic and you get reputation and grants for breaking WPA3, SGX, Mega or SIKE, or fame for breaking the PS3).

You can easily get in a situation with "The Emperor has no clothes" where everyone thought open-source code must have been audited by someone because it's open, when in fact no one did because they didn't care or had no incentives.

Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Tuesday January 30, 2024 @06:07AM (#39188683)
We live now in a world where the most qualified people are explicitly not part of the old definition of "qualified professionals"
Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Tuesday January 30, 2024 @12:08PM (#39192637)
What do you mean?
Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Tuesday January 30, 2024 @12:30PM (#39192969)
There's a lot of airplane enthusiasts which have very extensive knowledge in the field but never will be included in any of these "qualified professional" lists.

The knowledge nowadays is spread.

Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Tuesday January 30, 2024 @12:50PM (#39193235)
Do they have background in fuzzing or formal verification? That's what you need if you want to make high-assurance software.
Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Tuesday January 30, 2024 @01:52PM (#39194050)
I'm sure there's a lot of people specialized in that as well
Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Wednesday January 31, 2024 @01:20AM (#39200616)
There isn't
Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Wednesday January 31, 2024 @01:26AM (#39200651)
And here 2 years to find a buffer overflow vulnerabity in glibc that was found via a fuzzer: https://news.ycombinator.com/item?id=39194093

In a library used on billions of devices.

Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Wednesday January 31, 2024 @04:13AM (#39201669)
if that was a private project at some company, it would still probably be there. In the long run openness always win. That's what inevitably happens in a world where the knowledge is accessible to anybody.
Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Wednesday January 31, 2024 @10:44AM (#39205130)
It's a project used by millions of people yet it took 2 years.

What about projects used by 10~50 people?

Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Wednesday January 31, 2024 @11:15AM (#39205539)
What kind of strange argument is this? If it wasn't public, it would have never been found at all.

I'm going to trust more a project peer reviewed by the best devs on the planets compared to some homebrew homemade software where the devs allegedly know better than everybody else (and they don't)

Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Wednesday January 31, 2024 @11:54AM (#39206051)
Your argument is that asking for professional auditor is not necessary for open-source code.

My argument is that open-source is not enough when high-assurance is needed and devs or end-user should still ask for a professional audits.

Re:A mistakenly published password exposed Mercedes-Benz sou... by realusername on Wednesday January 31, 2024 @12:39PM (#39206805)
I'm not saying professional auditors are useless, just that they will never reach the feedback you get from peer reviews and are not a replacement for peer reviews anyways.

We're not in the 90s anymore and it's time to acknowledge that the software world and even the world in general has changed. Knowledge is now spread and the most knowledgeable devs aren't working at an audit firm and might not even hold a computer degree!

Re:A mistakenly published password exposed Mercedes-Benz sou... by mratsim on Wednesday January 31, 2024 @02:33PM (#39208234)
The people who found the bug in glibc worked at an audit firm.

Peers aren't enough. Finding vulnerabilities require training and an adversarial mindset that is rare.

There is a reason why in cryptography people say "don't roll your own crypto"

Re:A mistakenly published password exposed Mercedes-Benz sou... by thaumasiotes on Tuesday January 30, 2024 @05:26AM (#39188439)
Maybe we could start with this much less general principle:

Whenever the output of software is offered as evidence against you in court, you should be entitled to the source code of the software.

Re:A mistakenly published password exposed Mercedes-Benz sou... by calgoo on Tuesday January 30, 2024 @05:42AM (#39188541)
The post office workers in the UK who where f-ed over by the government because the software was reporting things incorrectly could really have used this as well. Should all our financial systems be open source too?

Maybe it should be like Copyright or patents, you can keep things private for a while for an advantage, but then you would need to release all code as open source / public domain or similar? It should also be available before that to be reviewed by professionals following a formal process of some sort.

Re:A mistakenly published password exposed Mercedes-Benz sou... by adh636 on Tuesday January 30, 2024 @06:52AM (#39189032)
> Should all our financial systems be open source too?

Yes.

Re:A mistakenly published password exposed Mercedes-Benz sou... by jacquesm on Tuesday January 30, 2024 @05:59AM (#39188635)
That's really a good thing you are on to there.
Re:A mistakenly published password exposed Mercedes-Benz sou... by thaumasiotes on Wednesday January 31, 2024 @01:01AM (#39200507)
More downvotes than upvotes. :/
Re:A mistakenly published password exposed Mercedes-Benz sou... by jacquesm on Wednesday January 31, 2024 @01:27AM (#39200660)
HN doesn't like calls to take responsibility for what we produce. Regulation and responsibility are anathema here. But no worries, the world is fortunately a lot larger than that and little by little the tide seems to be turning towards holding the producers of software accountable for the works they produce, just like every other engineering discipline.

I can't wait.