Pretty impressed with the introductory paragraph if I'm to be honest. Very well articulated and avoids calling out anything in particular, because like the author, it isn't one thing or another. Nice write up!
> You discover you can’t rely on others, so you work around them. You start bundling more stuff. Soon enough your workload goes beyond your ability. Software development becomes “every chatbot for itself”. The nightmare becomes worse, and the wheel keeps turning.
This is already happening. I do it myself admittedly. It's faster/easier to just do it yourself, fork it privately, fix the issues, move on. I'm not defending this, just pointing it out.
> This is already happening. I do it myself admittedly. It's faster/easier to just do it yourself, fork it privately, fix the issues, move on.
This is basically the opensource ethos. The source is provided for you to alter and fix on your own. If you feel charitable, you can share back a patch, but that is not required in the absolute sense, just if you want to be a part of the community.
Acting like open source developers is required to give support and fixes is pretty much a perversion of the movement. They are not your IT admins or contracted vendors
> Is software less secure these days? It’s tempting to say yes. I’d love to blame the corporate sector for egotistically dumping low quality software on us. I’d love to blame marketing-oriented people developing stuff with the sole goal of making a profit. I’d love to blame Rust for getting people obsessed about memory safety, and ignoring the kinds of vulnerabilities that aren’t caught by the compiler. Finally, I’d really love to blame slop. But the truth is, I don’t know. That’s really beside the point.
I get it's besides the point and the point of the article is really interesting. That paragraph just caught me off guard because it does read like real accusations.
Is the rust thing the unfunny coincidence of developers that never cared about security but took up the marketing? It sure wasn't my experience that rust overshadowed non-memory-safety security.
It was however my experience that a large number of devs do not care about security at all.
Also, maybe it is again about different experiences, but the software I remember from the past was insanely insecure. Access controls that boil down to "please don't open the files of others", most login forms being SQL injectable, all traffic local and global being unencrypted even when better options where long available...
> It sure wasn't my experience that rust overshadowed non-memory-safety security.
Reading about any project that got rewritten in rust, or any project that is a rust rewrite of something else, security seems to be the only reason for the effort (and license change, but that's never mentioned).
> It was however my experience that a large number of devs do not care about security at all.
Oh absolutely. Most people think "security" is something that someone else should take care of.
> Reading about any project that got rewritten in rust, or any project that is a rust rewrite of something else, security seems to be the only reason for the effort (and license change, but that's never mentioned).
Yeah I get that part, but was that to the detriment of other forms of security? (I am glad to learn that I missed something there, I just didn't notice it at the time)
Only to the extent that the rust rewrites had another opportunity to write logic bugs. Uutils is a strong example: they've been tripping over all the sharp edges in the POSIX API that the GNU coreutils spent years dealing with.
From outside it looks like only thing they consider is specific of type memory safety that Rust offers. While many other possible pitfalls and side channels and so on. And these have had decades of fixes in tools they are replacing.
Computing is massively complicated. And sometimes issues are not obvious before they are found. And some of them might require leaps of logic or chains of leap of logics...
I don't think it's zero consideration. And Rust does have better tools for reducing those pitfalls than a lot of other languages, they just aren't as strong as the memory safety guardrails.
I do agree that RIIR is not a panacea for bugs and security problems, though. Especially for coreutils it's fairly obvious that there are a lot of other concerns that will make a rewrite take a long time to reach maturity. I think Ubuntu is certainly being, uh, 'bold' by trying to replace them with uutils, to put it politely. I don't really have a problem with uutils itself: it's not unreasonable to build alternatives to the GNU coreutils in and of itself.
Who do we blame on the security nightmare we all live in?
All of us.
There has been a long time misunderstanding of computers by pretty much everyone for as long as they've been around. And that is computers are dangerous. Much in the same way weapons grade uranium can be dangerous. The thing is each computer in of itself isn't that dangerous. It's an emergent phenomenon where you reach a critical mass and suddenly all your computers can become an explosive problem.
And because of that nature you can't point your finger at one particular person, at one particular platform. At one particular choice and say "that's the fault right there". It's all of us that created this problem at will take all of us to get out of it.
Now, I have a particular beef with the responsible disclosure people for ignoring Darwin. They did an excellent job of hiding the dangers of computers for decades under the guise of "people will play nice and you'll always have time to fix your problems before they are ruthlessly exploited". We today we should all know that idea is dead, buried, and the bones have turned to dust.
There are likely a great number of things we are going to have to decouple from networks unless we want to continuously have them presenting dangers to users and the public at large.
People build big, complex systems and get the rewards, I think.
Part of the issues is for sure negligence, but the other part is inevitable IMO. It’s in our gene to go fast, build fast and fix things while the thing is still running. It’s just the way we are.
Yeah. I actually agree that we should tread lightly. I’m the kind of people who want to think through stuffs (at least for the things we do care about) on paper before doing something.
But as you said the majority of the people don’t think like that. I don’t want to get fired, so I move fast and break things if I have to.
I am not sure security is in such a bad place as everybody describes it. Have we had a major incident on something critical? (banking system, nuclear safety, planes, etc.). If not, my conclusion is that maybe the measures taken (where they are required) are mostly working.
Taking things slow just "because something bad might happen" doesn't sound like a rationality driven stance. An engineer analyzes trade-off, takes some risks, and mitigates for others. The company management does the same and some do it well, some do it badly and suffer.
Considering that companies leak data left and right while nothing is done to stop or even punish that, I almost come to the conclusion that we don’t care about security, I mean even our own security, that much.
It’s a lot of noises made by the security researches but apparently ordinary people think losing your identity from an iPhone 0-day is completely different from losing your iPhone —- can’t blame them.
I personally think that lots of some type of data should be considered "potentially not private" from the start, like address, phone number, email, date of birth. Yes, do not write it on a public website, but don't expect it either to be a "secret". Anybody with an interest will find it out one way or another.
The "loosing of identity" is an idea that stupid systems and organizations come up with, when they don't want to change their horribly designed system. Random example: should you be able to open a bank account just with a photo of your ID ? I would say no. And yet, in some places it is possible. Can I do something about it? Partially yes, when asked for a photo of my ID I add text over the photo like "This is to be used only for a health claim and nothing else.". Is that affected by AI ? I would say that it is not that easy distinguish it from the other issues (social engineering, rogue employees with access to data, etc.)
And besides the horribly designed system, you need to consider stupid people as well. I know a (young) guy that wrote their PIN on their credit card, left the card in the locker room of a gym, had the card stolen, than complained to the bank (without admitting they wrote the PIN of course) and got couple of thousands back.
Hospitals and pipelines get hit with ransomware and critical services get slowed or stopped. Journalists get targeted with spyware and occasionally murdered. Industrial plants get wrecked by malware. I would not describe this as “mostly working.”
I’m bullish on airgapped networks and tools like NNCP (nncpgo.org) that facilitate communications via floppynet
It will require some rearchitecting and reevaluation of core assumptions, but there’s no reason that non real-time services can’t go asynchronous like Nostr or email, at least for those of us who care about security
People laugh, but this makes lot of sense, so, perhaps your "smart" fridge needs some update some times, or it needs to communicate that some parts a wearing out. This does not mean the thing needs to be online 24/7. At some point it does make sense to just plug it in every now and then, the costs of the previous hacks certainly justify some manual steps, but you can do it electronically as well.
Btw, https://nncpgo.org/ does not work? What is it, I mean floppynet is just some name I assume.
Try www.nncpgo.org, if that doesn’t work there is the quux mirror at
nncp.mirrors.quux.org
Floppynet is another name for sneakernet, i.e. transferring files between computers offline via USB or such. NNCP lets you send network packets this way. If you have a system that’s built around a single request-response pair then this works well.
> I’ve been also doing meaningless version bumps (with no real changes or no changes that applied to Gentoo) so that our packages don’t get reported as being “outdated”. It’s a hassle and it sucks, but it saves people from worrying.
Maybe that was actually a bad thing to do? I mean, of course, no one wants to be the guy that is the friction there, because the pressure will be immense. But someone _has_ to be to break this clearly broken dynamic?
I think if maintainers refocus, and upgrade their tooling to involve more AI, they can keep up with the speed. Maybe the software they maintain doesn't need that many packages, a tiered system, faster EOLs or fewer releases. And whatever can be automated, should be. AI companies could offer credits or discounts for this work, for select people, like how sometimes software is free for voluntary or open source work.
"I’ve been also doing meaningless version bumps (with no real changes or no changes that applied to Gentoo) so that our packages don’t get reported as being “outdated”. It’s a hassle and it sucks, but it saves people from worrying."
How else would you communicate to users: "We checked and we think we are not impacted by the upstream release"? Now I know a version bump does not exactly mean "we checked". But both users and tools seem to have that as the implicit semantics.
Do you have to? Are you being paid to provide this peace of mind?
The user could also just default to assuming that everything is fine (or just.. you know.. use the source to check themselves), but if their business model doesn't allow for that, the "known safe" statement would be something that IMO can be monetized.
It is after all primarily a compliance need and not necessarily always a genuine human need.
They aren't always meaningless. Some packages are straight up broken. I've got a bug report on my backburner for clang causing firefox/thunderbird to crash on armv9.2... just because it works for you doesn't mean it works for everyone.
One question that has always puzzled me is why maintainers keep complaining without doing the obvious: just keep whatever pace you want, and signal to users that you simply cannot follow up the pouring of security issues —- please contribute back and use at your own risk.
It seems that some OSS projects have this complaining culture that maintainers keep complaining about things such as corporations taking the code without code or monetary contribution, and the mounting security issues, without doing much of it.
I guess it’s because I’m not a product people in my heart. Everything I dumped on GitHub is just for myself to record and I don’t really care whether anyone uses or not. But people with a product mind feels that they want as many people to enjoy their products, so they feel certain responsibilities to fix everything, but then get burned by the human side of the things.
I think it’s because a lot of open source developers have a cultural memory of struggling to get permission to use open source in the first place. Skipping security patching is what rolls that back until your choices will be Microsoft and Red Hat.
That, and the previous events told me that the current OSS model is not exactly working. It works when it works but for many OSS projects out there it doesn't work. I don't know what's the solutions people are going to try out, but essentially, this might be a bigger problem than I thought.
> 1. write it yourself for 1x-5x-10x the amount of resources
But our new CEO¹ says we are all going to be 10x-15x-20x more productive if we fully embrace AI, so we'll at worst break even and maybe even be 20x ahead!!!!1!!!!!!
--------
[1] I don't know if it is for show, if he is completely naive and believes what he is saying, or if he thinks everyone else is thick and will take his word as gospel, but I think his “everyone will be 10x or more productive”, “but it will be easier, not more stressful”, and “it won't affect jobs at all”, is an impressive collection of BS.
Not sure why Red Hat (or say Canonical) would remain a choice in this case. It took them forever to handle CVE-2026-98432. Meanwhile Debian patched right away.
I don’t use llms to code, but I have to deal with vibecoded code and that is in itself a risk, but it also pushes me to do a lot of work and lower my guard, some coworker or client sends you a 10kloc project they made in a day and now you have like 20 hours of work to just review the code if I want to work at my pace.
writing code without an llm agent is already an extreme position which makes me almost unemployable, if I had to add the restriction of not working with vibecoders I wouldn’t even get volunteer or shitty work
Interesting that some places still allow people to not use LLM. I’m looking for such places —- but looks like your team is already using LLM so it’s sooner or later.
"Interesting that some places still allow people to not use C"
That was the reality when I started programming. Then the compilers got good enough that no rational person or organization would program in assembly language.
For a while, we would use the C compiler and then tweak the assembly by hand. Can't remember the last time I did that.
I think for OSS to succeed, they gotta have corporation support -- it's either they hire people who contribute back, or they directly send money. Linux is the perfect example. ESR called it the Bazzar, which might be true before 2.0, but after that I think it is mostly the companies that contributed the most important code so that, eg, the companies themselves can use it without licensing costs. So it's more like the Catholics (Cathedral) against the Protestants.
I'm not so sure. All I know is that the current situation is not healthy and I think a world with less direct corporate involvement and more diverse, "throw it over the fence", not for reputation building projects on the one hand and more corporate funds directed transparently into initiatives would be better.
> just keep whatever pace you want, and signal to users that you simply cannot follow up the pouring of security issues
Unfortunately security is the one thing no one can afford you to skimp on. Something that allows a successful exploit, especially with RCE holes that can allow an exploit to spread itself very quickly, isn't just an inconvenience for those running the affect software because the whole network could potentially suffer. Even those who are fully patched up or not directly affected at all will suffer as the problems affect services they use, directly or otherwise, or just consume bandwidth and other resources.
I don't have a solution, I'm not sure there is a good one ATM (several replies with “just throw your own AI at the pile!” suggestions no more fleshed out then “draw the rest of the owl” in 3… 2… …), but the ignoring admitting defeat and not processing security reports can't be a good option. This is why the slop reports are such a big issue: they hide the better reports (be they entirely human made, AI assisted, or mostly AI driven with good human review).
There always were crap bug reports, of course, but human slop comes in much more slowly than fully automated AI slop so doesn't take nearly as much effort to process.
> complaining without doing the obvious: […] signal to users that you simply cannot follow up the pouring of security issues
Unfortunately this will simply kill trust, and for good reason. It is better than quietly not keeping up with security issues, but only by a little.
The point is, if that trust builds on everyone hoping the owner to maintain the project without enough help/$$$, maybe they shouldn't put that trust from the beginning?
There’s no inherent obligation to keep up with security issues, but if you aren’t, you should shut the project down. Otherwise you’re providing a hazard. It’s like if you have a playground you let local kids use for free. If people keep finding rusty nails sticking out of posts, you had damned well better fix them.
Security isn’t some abstract thing. You’re playing with people’s lives. It’s not something you have to worry about if your projects are unused or have no potential exposure to malicious data. But if your projects are used and do get exposed to malicious data, then you do have a responsibility to keep up with security issues as they’re reported.
You need to put up a notice (DO NOT USE AS 107 SECURITY ISSUE NOT FIXED PLEASE CONTRIBUTE BACK IF YOU WANT TO USE) at the top. It's not a playground and we are dealing with adults here. In the real world companies making knives are not sued if someone kills someone else with the knife the produced. It is a hazard that the USERS should be aware of.
Right, because a knife being used as a knife is the same sort of thing as a file compression library being used to take over someone’s computer. Be serious.
> but if you aren’t, you should shut the project down. Otherwise you’re providing a hazard. It’s like if you have a playground you let local kids use for free.
Except we're talking adults, not children. You shouldn't be picking up random pieces of code and expecting them to be appropriate for your use, then pointing blame at the author when it turns out it wasn't. Especially when the licenses for that code explicitly say they are without warranty. You are not entitled to software maintenance by default.
> But if your projects are used and do get exposed to malicious data, then you do have a responsibility to keep up with security issues as they’re reported.
This is totally crazy. In what world is random code you find lying around not your own responsibility for choosing to use? If you want specific behavior from the maintainer of code, pay them for it. If they're not willing, hire someone who it.
We’re not talking about random bits of code online. We’re talking about major open source projects with real users. This isn’t your half assed PNG reader that you tossed up on GitHub after a weekend and a grand total of five other people ever looked at it. This is serious projects with serious users. The post I replied to mentioned “maintainers.” “Random code you find lying around” does not have “maintainers.”
Can we talk about the actual issue at hand instead of whatever this is? You’re not helping the discussion by veering off like this and you’re not helping your own argument either. “A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
Gotcha. Your original post just said "real users", not "major open source project", which meaningfully changes where the line is.
>“A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
Good thing I didn't say anything to that effect.
Though, for what it's worth, if the PHP project maintainers did go "we aren't going to keep up with security anymore". That's 100% up to them. That they did what they did in the past does not entitle the world to their work forever. If a project you rely on changes its stance in a way problematic for you. Stop using it. If that kind of change potentially happening is problematic for you, negotiate an actual contract with the author, vendor it into your project and fix it on your own schedule, or build it entirely yourself.
They are random bits of code online. Have you ever read any of their licenses or disclaimers? Here is the GPLv2:
"NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
How about MIT:
"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
Just because you wish for random bits of code online to be serious projects for "serious users" does not make that true. Almost the entire problem with the industry is that basically every redistributor is unserious in their usage or inclusion of dependencys, both open source and proprietary; depending on imagined guarantees that literally nobody ever made resulting in our very unserious level of security. If you face the unpleasant reality, it will no longer be a wonder why the industry is having these problems and has been for literal decades.
I’ll freely admit they have no legal liability. There is a professional, ethical responsibility to fix exploitable vulnerabilities as they are found (and make reasonable efforts to prevent new ones) if your project actually gets real use and is presented as actively maintained.
I agree that dependencies are often taken far beyond what they should be. But I don’t see that as central to the issue. Some dependencies are inevitable. If those dependencies are open source then they’re going to have some variant of your quoted disclaimer and no explicit guarantee that they have any particular security posture. Even if they aren’t* open source, they probably have something like that in their license agreement. Is the expectation that either I give up on security, or I get custom agreements for (or directly maintain) every part of my software stack from the hypervisor on down?
It seems like your attitude is either incompatible with software existing on networks, or incompatible with collaboration and open source. I doubt that’s what you mean but I don’t see how you envision this working.
No, commercial organizations have a professional, ethical responsibility to not provide lay consumers defective products. Their choice to use suppliers or components which provide no guarantees means the responsibility for ensuring the implicit guarantees provided to their lay customers falls squarely on their shoulders.
That is how it works in literally every other commercial field. Only software companys have wiggled out of the standard legal obligations every other commercial entity is subject to.
You are arguing that it is acceptable for companys to abdicate their responsibility to their customers because they chose to use systems unfit for purpose. That is the status quo, and that is what is wrong with the field that has gotten us all into this mess. The systems being deployed right now are unfit for existing on networks and have been unfit for existing on networks for literal decades.
To their credit, OSS has been saying that in gigantic, big bold text the entire time. It is the greedy assholes ignoring that to make a buck and then complaining about the consequences of their own actions that are at fault. “I can not make money if I have to do it right” is not and has not ever been a excuse even if the world has not caught up to it yet.
If a organization includes software that is not fit for purpose and they do not take responsibility for it, then they are not “serious”. But at least they have company because this industry is almost entirely filled with and run by unserious people.
Of course, but that is a bad faith non-sequitur on your part.
In contrast, it is obvious to even the most casual observer that when a creator states their system is “WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE” that it is not fit for purpose. It is eminently fair to believe a system is not fit for purpose when the creators say as much. And they quite clearly and literally say it is not.
It is your problem if you choose to ignore it, unless they are deceptively marketing it to you.
Yes, and you also should not use such software as components unless you are willing to bear the responsibility for them.
This is not a targeted knock on OSS. They are being truthful about their guarantees and they are, generally speaking, not targeting lay consumers or being personally enriched providing unfit products to lay consumers.
The problem is with everybody wrapping up software that is not fit for purpose and selling it to unsuspecting customers and then claiming their suppliers have a “professional, ethical responsibility” for things the suppliers never agreed to for free because it lines the wrappers pockets.
It is the problem of the people wrapping it up for purposes it was never designed for that need to bridge that gap as it is in literally every other industry.
If some dude on the internet chooses to be a maintainer of an important project in their spare time, they’re bringing that stress on themselves, I’m not doing it.
You mean you don't do backups and do not have contingency plans for attacks?
> If some dude on the internet chooses to be a maintainer of an important project in their spare time, they’re bringing that stress on themselves, I’m not doing it.
If you aren't doing the bare minimum, like having backups, in your $DAYJOB and expect some maintainer to prevent stuff from ever happening, you're giving a bad name to the profession and you should probably do something else in your life.
I think there is something like a chain of complaining.
Maintainers get a lot of complaining from users.
So they also complain a lot.
Then when they complain publicly, someone on HN complains about maintainers complaining.
To continue the chain, I think someone now will want to complain about HN complaining about people complaining, and so on...
> just keep whatever pace you want, and signal to users that you simply cannot follow up the pouring of security issues —- please contribute back and use at your own risk.
This attitude is fine for new features and even most bugs, but security vulnerabilities have the problem that once they're public you're on a deadline that just expired. Everybody needs the patch now and it's much more efficient for upstream to do it once than to have individual users each trying to do it themselves.
And then if you want to be the maintainer, you have to be the maintainer. Whereas if you don't then that's fine but at that point people either need someone else to do it or need to stop using the code.
“You need to patch this urgent 9.8 CVE that doesn’t effect me and can only be triggered in this really niche case that 99% of users will never run in to yesterday or I will post about it repeatedly on hacker news”
If it effects your cherry pick the patch, if it doesn’t then live with it.
The reality is no human can keep up with it and I don’t think LLMs are good enough at weeding out which RCE actually deserves attention right now.
Its a catch 22, but how about you own the code you run, in the OSS spirit.
> “You need to patch this urgent 9.8 CVE that doesn’t effect me and can only be triggered in this really niche case that 99% of users will never run in to yesterday or I will post about it repeatedly on hacker news”
Things with a 9.8 score that don't actually matter sometimes happen, but they're not the common case. So then just patch that one and make them shut up.
> The reality is no human can keep up with it
That seems like an exaggeration. We'll also see to what extent this is temporary. Right now LLMs are finding 10+ year old vulnerabilities, what happens once those are patched? Can't find them at an unsustainable pace once there aren't as many to find.
> Its a catch 22, but how about you own the code you run, in the OSS spirit.
Install a Linux distribution on your machine and you're running a billion lines of code, and the same code as millions of other people. An individual obviously can't maintain that amount of code and it also doesn't make sense for millions of people to duplicate the same work as each other.
> That seems like an exaggeration. We'll also see to what extent this is temporary
Do you want to be on a distro security team at this point in time?
How do you find the 1-2 actually important reports when you are getting bombarded by reports by everything that has access to a terminal?
Clearly they are keeping up, at least from what we can see, but who says that they aren’t letting things fall throughout the cracks, not because of any fault of their own but because of the sheer avalanche of reports.
It’s easy to complain when you are not the one doing the maintenance.
Feel free to post your open source project here, Im sure one or two people here would happily start a few thousand vulnerability scan sessions up for you and you can feel the pain yourself.
Maybe it's the AI vendors that should take on the security and maintenance of open source software, or at least provide the tokens for free. They're benefiting enormously from training on OSS, and their tools are making it easier for hackers to find security holes. It's like we have finally found an adequate way to fund the development of OSS: the agents do the work, the LLM vendors supply the tokens, the project maintainers direct the agents.
The only solution IMO is less software. We really need a revival of Suckless-style minimalism, a commitment to rally around a select group of carefully maintained applications that don’t try to be everything to everyone. OpenBSD is like this to a degree, with the software that’s maintained by the core team. In fact, OpenBSD would be a great place to make a stand.
Not everyone has to agree on this, and not everyone has to participate, just a critical mass that can share the burden. New and more complex software will always be generated, especially in the age of LLMs; let the bulk of the bugs fall here. Linux can be the software you run in an untrusted VM when you need to program that weird USB gadget using some guy’s vibecoded slop.
I think it's one of the hidden costs of freedom that the open source ecosystem gives. The angle I wonder about is how many alternatives there are for certain software components and put out for general public use, each exploring a slightly different approach or scratching the author's particular itch/need. It's a great benefit that it's possible, but I'm not sure how to wrangle the human side of the problem if you tried to get a fraction of them to merge their efforts.
I think you can only manage it with a small core team that sets the vision and sticks by it firmly. OpenBSD does this for core software, with the ports tree as a place with looser restrictions and a broader software catalog. I think of third party packaging (like Flatpak which is not available for OpenBSD, or applications distributed through pip) as the next circle outwards. A distro arranged like this should be able to walk the tightrope of core security with optional flexibility.
The key is tight control over the most important OS functions and applications. With more resources that bubble can be expanded a little, but there’s probably a limit.
My chief concern is while security improvements are good, often it feels like the AI vendors are selling a "cure" for an "illness" they created.
All told though, what it looks most like is we're exiting the final tails of the era of "Human-scale software", and into some mega scale where individuals won't be able to keep up unaided. Looking at architecture of buildings, it isn't often the case huge projects can be fully understood by one person. Everything becomes eventually too vast, too large, to seriously rekon with.
I do enjoy "tree falls in forest but nobody heard them" arguments, but being uncaught supposes that also the lumberjack didn't notice and take the wood quietly.
That all said, I didn't make any claims about if it were secure to begin with whatsoever.
Does anyone even remember the quaint "computer virus" problems of the 90s? Some of these circles of hell have been completely forgotten. What level of hell are we on?
> I’d love to blame Rust for getting people obsessed about memory safety, and ignoring the kinds of vulnerabilities that aren’t caught by the compiler.
It's challenging to accept such a statement when the past 30 days have featured no less than six extremely high-profile memory safety bugs in critical infrastructure (PHP, Brotli, nginx, Java, Ruby...). No compiler can prevent bugs in application logic, but automatically catching the most common and exploitable class of bugs should be a compelling feature and it's surprising to see it positioned as somehow a bad thing.
For real. With automated security vulnerability discovery and exploitation, security-by-thinking-very-very-hard isn’t really going to fly for much longer.
In my experience over 90% of C/C++ developers are basically unaware of alternatives to fine grained allocation with malloc()/free() or new/delete. Many have heard of pool allocators, but they almost invariably see it as something even more complicated or tricky, applicable only in high performance code (meaning, not theirs). Very few have heard of arena allocation as a way to massively simplify lifetime management.
Now OK, temporal memory safety isn't the only problem. But it is the costliest and most difficult to solve at the language level. So imagine a langage that only helps with spatial memory safety (systematic bounds checks in debug or release-safe modes), and their programmers stick to the simpler allocation schemes like arenas.
It won't get rid of all the memory vulnerabilities. But it may very well get rid of enough of them that they cease to be a priority. It might even be a better tradeoff overall than a borrow checker or even a better security tradeoff, depending how much friction the borrow checker adds.
On the other hand, we should not underestimate the productivity boosts of strict static analysis, most notably type systems: I have experienced first hand the advantages of being told with ruthless precision why my pathetic attempt at a program didn't deserve to be even started. It's a tighter feedback loop than even a REPL (though I like it best when I have both), and speeds us up in many cases, including exploratory programming.
Multiple studies have found that drivers are deliberately more careful in cases of percieved or actual danger. The metaphorical extension being that someone driving with a chef's knife instead of an airbag is quite motivated to avoid hitting things.
I'm not sure why this wouldn't generalize to other behaviors including coding, and that's the argument against the "language1" is safer than "language2" discussion. Left with only that distinction, the coder is less likely to take extra precautions just as Americans who are safer wearing their seatbelt choosing to travel above the speed meant to be safe for the road and it's inhabitants, ignoring the fact that their seatbelt does not protect pedestrains or fauna.
That the lanuage does technically offer a statistical safety advantage provides no assurance against foot-gunning, despite offten being portrayed as such.
The analogy you have at the start there doesn't match this situation because rust doesn't make it _harder_ to write memory safety bugs in the normal course of coding, it makes it impossible (excluding unsafe code, which truly is exceptional).
I don't know if there's really a good analogy for driving cars because it would have to be a completely eliminated class of error, like "drivers drive slower and are less likely to hit potholes when they perceive danger, i.e. on a road with many potholes, however if we eliminated all potholes in existence, drivers hit even fewer potholes".
Anyway, humans stopped coding sometime this year, so it's all kinda a moot point.
No one gives a shit how much care driver takes, only how common they cause accidents and how severe the injuries are. If wearing seatbelts increases accidents by 20% (which is a wild assumption already) but decreases injuries by 50% then that's worth it.
Same with coding: no one cares if you abstain from ASan and UBSan if the end result has no memory safety bug. Unfortunately, times and times and times and times again have shown that thinking "I just need to write perfect C code" does not help reduce memory safety bugs, while using Rust does.
Why? Because making a Rust program with more intricate memory access rules compile is way way more annoying than in C. This is intended.
> That the lanuage does technically offer a statistical safety advantage provides no assurance against foot-gunning
The zero-cost memory safety provided by Rust is enforced by the compiler restricting all kinds of foot-gunning, sometimes even stupidly (unlike in GC languages where the GC just cleans up all the bullet wounds). Saying Rust let users foot-gun themselves easily is one thing, but saying it's easier to foot-gun in Rust than in C is unfathomable.
We call them footguns, but no foots are actually shot. At least not to the people who are responsible for avoiding them. Car accidents however can be life changing. So analogy to driving doesn't hold.
> The metaphorical extension being that someone driving with a chef's knife instead of an airbag is quite motivated to avoid hitting things.
This analogy does not hold up. Nobody sane would seriously advocate that everybody drive around with a chef's knife just because it makes the driver more careful.
Humans make mistakes. We are exposed to the mistakes of other humans. There are factors that are out of our control.
The only serious approach to safety given this reality is defense in depth. Removing layers of defense because "it will make the humans behave more carefully" in other layers is fallacious reasoning.
> Nobody sane would seriously advocate that everybody drive around with a chef's knife just because it makes the driver more careful.
That is the sort of thing some people advocate in the vehicle case though. They suggest reducing visibility etc. on purpose even though it actually makes it harder to avoid a collision because some drivers overcompensate and then the e.g. -15% you get from people being more cautious is more than the +12% you get from drivers not being able to see pedestrians as easily.
But there are a few problems with the theory. The first is that they hardly ever do long-term studies, and then people may not stay more cautious once they get used to the change even though you've permanently reduced visibility. The second is that if you make a road feel more dangerous then some people would avoid the road, and then you measure fewer collisions on it because it has less traffic, but you're only moving the collisions somewhere else while still actually reducing visibility on that road.
And the third is that it's a false dichotomy. There are ways to make a road less dangerous other than making it feel more dangerous, and we should prefer those over the ones that impose countervailing costs.
Typically the same people who advance the flawed theory of "induced demand" to obstruct the construction of housing or roads, or advocate conversion of a lane that carries thousands of cars per hour into a dedicated bus lane that carries two 40-passenger buses per hour.
In general the people who don't like cars and correspondingly latch onto theories that would make things worse for people who have to drive.
And even if that driver drove around extremely carefully with the chefs knife instead of an airbag, the death rate would undoubtedly be higher at any comparable level of utility. The only safe way to drive like that is to not drive at all.
Regardless of the actual statistics regarding seatbelts, the analogy makes very little sense.
As a programmer I am not the driver. If I was, I might truly be more careful. But the drivers are people far away that I don't know and don't really care about.
Because there is no real negative personal consequence for shipping unsafe code faster. To the contrary, that behaviour is often rewarded by organisations.
It's not perfect or absolute, but the unsafe way in Rust is often harder. As the simplest example, raw pointer operations have less syntactic sugar, so using them is less ergonomic.
> As the simplest example, raw pointer operations have less syntactic sugar, so using them is less ergonomic.
It's more typing, but it's also less thinking because you get the code to compile immediately. And if you don't like typing then that's easy, just write "unsafe" once inside a function that you can call in 500 different places.
At some point you have to actually care or it's not going to work out.
> just write "unsafe" once inside a function that you can call in 500 different places
It's usually the opposite. If you're being forced to write unsafe, odds are there's a crash bug about to appear (the word "forced" was very specifically chosen, I've been in both of these positions quite a few times).
And if you're not being forced to write unsafe, not writing it really is easier. Precedence of operations means that if you want to call a method/access a field of a raw pointer, it's a minimum of `(*a).` to access it. A reference is just the `.`.
I feel like you're not understanding what I mean by easier.
Suppose there is a point in the code where the compiler can't verify that it's safe to access the object but you want to do it anyway. You've transferred ownership of it to e.g. a third party library, while still keeping and using a naughty reference to it. Avoiding this would require you to restructure the code, which could be a lot of work. But the boss wants you to do it now instead of all the refactoring needed to do it right.
And everything's fine as long as the thing that does own the object doesn't release it before you expect it to. Just like C. Or maybe even worse, since now you're explicitly promising the library it can do what it likes with the object and then breaking your promise at your convenience.
> I feel like you're not understanding what I mean by easier.
> Suppose there is a point in the code where the compiler can't verify that it's safe to access the object but you want to do it anyway. You've transferred ownership of it to e.g. a third party library, while still keeping and using a naughty reference to it. Avoiding this would require you to restructure the code, which could be a lot of work. But the boss wants you to do it now instead of all the refactoring needed to do it right.
That's exactly what I thought every time I added 'unsafe' where I "knew" it was fine, even though the compiler told me I couldn't. And the vast majority of those times, within a day, I had to track down "the program now segfaults erratically". It's not _every_ time, but the vast majority of them. Certainly enough that when I now get into the same situation, the easier option is to make it certain that the object isn't being freed (wrap it in a refcount and call it a day, no unsafe in sight).
My frustration with many anti-anti Rust arguments is that they are basically strawmans. "Use unsafe because it's faster to write" is not something that happens in real life to any significant extent. Unsafe is often slower and more awkward to write - not always - but in many cases it is. And the culture of Rust is anti-unsafe to a fault sometimes. People avoid it even when it's the easier option. Even LLMs avoid it unless you explicitly ask or it's genuinely necessary (IME)
> And the culture of Rust is anti-unsafe to a fault sometimes.
But that's the thing. The culture isn't the language, so if it's the culture which is doing the work then giving the language to someone with a different culture yields a different result.
I've made a plugin to valgrind that stabs the engineer with a knife when they do unsafe things. Does the engineer accomplish their next task with rust or C?
Fortunately, we have statistics to show that actually Rust does reduce memory safety vulnerabilities, so we don't have to speculate about whether it actually helps.
Engineering is about tradeoffs. Memory safety vs currently working software needs to be a carefully considered position. It's not like Rust is a add-on tooling that you add to your workflow. Rewrite are costly, not because of the time to write code, but the effort required to make sure that every spec is replicated to each exact details. And even Rust advocates are not willing to pay it (other than a few random cases).
Luckily there haven't been any critical vulnerabilities in high-profile Rust code discovered the past 30 days like HTTP request smuggling in Actix, UAF DF and OOB in SurrealDB, OOB in Apache Arrow, sandbox escapes in wasmtime/cranelift, sandbox escapes in cap-primitives....
Whether this is true or not, it's positioned as a bad thing because time and effort spent on memory safety isn't purely an additive benefit. It can actively reduce memory safety (high-perf Rust software needing more unsafe than we care to admit, and unsafe Rust being harder to write correctly than normal C), and it can fight against time spent focusing on other serious vulns (e.g., the cap-primitives issue is important because we're failing to do things as simple as when we run literally arbitrary code bothering to make sure it's the right code).
And that's only from a security perspective where legitimately informed and intelligent people disagree about whether Rust actually reduces vulns in high-performance code (again, whichever side you fall on, that's the argument being made). There's additional pushback against Rust when people would otherwise be silent about its security shortcomings because it has enough other tradeoffs in its design to hinder other metrics developers care about, like speed of feature delivery (or, in the age of vibecoding, cost of tokens and therefore also speed of correct feature delivery).
If we're going to beat up on Java for having some bad hand optimized internals... guess what, Rust has it in spades, with more than a dozen memory corruption CVEs over the years.
Yes, memory-safe languages are better for application development. But Rust is not unique here; most GC'd languages satisfy the requirement.
I thought about what hardening techniques there are for dealing with RCE in a process but short of SELinux policies I can't really think of anything that might help.
The problem is ultimately that any RCE can overcome any in-process security mechanism you come up with. If you have an RCE, the security logic has to be enforced by a process that is not a victim of an RCE.
The best way to deal with a threat model with inevitable RCE is to ultimately give up and come up with a general RCE mitigation.
For example, a hypothetical ISA could mark valid entry points for functions and if you skip them, the process aborts. This prevents using just the last instruction of a gadget but ultimately I think even that type of mitigation is useless against an LLM. You are simply better off doing your bounds checks.
I'm talking about RCEs, because most in-process security measures work best if they cannot be bypassed and an RCE is always an implied bypass.
Edit: Rust the language does not operate on the C concept of ambient authority. Rust's STD unfortunately does.
> Rust the language does not operate on the C concept of ambient authority. Rust's STD unfortunately does.
Rust's standard I/O abstractions are intended to be cross-platform, which means they're unfortunately going to be approximately the lowest common denominator of what the platforms natively provide. If you're okay with not strictly adhering to cross-platform abstractions, then the cap-std crate is the state of the art: https://crates.io/crates/cap-std
PHP is not written in PHP. Ruby is not written in Ruby. The bugs were in C code. The fact that a language is meant to be memory-safe doesn't mean its actual implementation is.
You seemed to imply that the issues the comment you responded to were not memory-safety issues. But all of them were memory-safety issues. That has nothing to do with PHP or Ruby being memory-safe languages. Their underlying runtime is written in C, and that's why a bug in the runtime for a memory-safe language can still have memory-safety implications.
It doesn't seem like he's talking about logic errors, the focus on package managers of his previous post seems to comment on the overall build process where cargo/build.rs is compiled to a binary and then executed during the build phase without any sandboxing or isolation.
Making it extremely easy to collaborate with large numbers of packages and maintainers, while also making it difficult to audit (packaged source code not linked to a particular git commit).
There are plenty of valid complaints that don't touch application logic or memory safety. Coming from someone who likes aspects of rust despite these problems, there is certainly room for improvement at the package ecosystem levels.
> I’ve been also doing meaningless version bumps (with no real changes or no changes that applied to Gentoo) so that our packages don’t get reported as being “outdated”.
This requirement… is supremely stupid. A package should be “outdated” when the next version exists, and not because it exceeds a certain age. Who cares how old a package is? So long as it continues to operate as expected, does not make use of anything explicitly deprecated, and does not suffer from any exploits, it should be golden.
Some argument can also be made for a new(er) release of the language it is written in, but that can be handled with a language fork that contains the latest language’s features, and not a new version. And like, major language versions, not f*king point releases.
"Vulnerabilities are reported at unprecedented rates."
I think the author misses a key bit of context, which is that the vunerabilites are not in new code, but in existing code that has been around for years. The number of vunerabilities has not increased, only our ability to identify and report them.
The author has a different point. It's the reports that matter, more precisely, the knowledge of those vulns. What they are writing about is about the increase in maintenance burden, and the risk that their work becomes unfeasible. The context you mention doesn't factor into this, in my opinion.
Yeah.. as someone that makes this kind of security product, the most difficult part is to make sure it doesn't give false alarms or pop up too frequently.
The result of this I think is that AI use will become unavoidable, at least in security sensitive projects. I know that some projects resist or ban AI usage and I don't think it will be sustainable. At the very least you will need to verify any new changes you make don't introduce new vulnerabilities rather than just relying on human review like the past.
I think having an active community around your products can help you a lot. I have published a number of open-source projects, and people from my community (which was built way before I started shipping open-source apps) helped me with issues, PRs, and messages.
I see formal methods as one of the only definitive solutions to the security threats that will continue to escalate
Mission-critical software will have to shift away from auditing and move towards proof that definitely establishes certain exploits are provable impossible within a system
"Make illegal states unrepresentable" is an idea that will have to be taken as far as possible for reasons of security with burden of proof upfront instead of "trust me bro".
This kind of discipline already exists in certain forms of high-stakes software engineering like avionics, medical devices etc but it feels like it will have to disseminate
I use Gentoo, and like it a lot. I automated away most of the burdensome tasks (except for circular dependencies) and I'm using more offline software than ever, even on my phone. I think you can articulate incentives and systemic changes you'd like, and help make them, but it's probably not too useful to overthink it beyond that. People can prioritize accordingly.
> Complex software involves complex trees of dependencies
That's your problem right there. And your solution too. Way too many things that would benefit from a local solution is instead delegated to a dependency of under-evaluated (if at all) long term reliability.
Just because most complex software has an unreasonably large transitive closure of dependencies, doesn't mean they all have to. Some don't, and in my opinion the exceptions ought to be the norm.
> And even if we disregard truly invalid junk [bug] reports, there’s a lot left, and you have to deal with them somehow.
Sounds like a perfect us of AI. Use AI to validate the reports, bubble up the verified ones with proposed fixes and have a approver review, approve, and implement.
If you don't read anything else in the article read this:
"I’ve said this before and I’ll say it again: most projects aren’t really prepared to handle security issues. And it’s not just about triage. It’s about having LTS or security branches, it’s about making proper security releases with minimal changes. Unfortunately, it’s quite common for security fixes to be combined with new features, deprecations, API changes. In extreme cases, people are caught with their metaphorical pants down, and suddenly need to make a security release in the middle of a major rewrite, or along with barely tested new code. And then, people downstream discover that they need to quickly deal with major API changes to upgrade past a vulnerable version. These things keep piling up."
Our priors on the open source supply chain have been broken.
prologic | a day ago
prologic | a day ago
This is already happening. I do it myself admittedly. It's faster/easier to just do it yourself, fork it privately, fix the issues, move on. I'm not defending this, just pointing it out.
skydhash | 21 hours ago
This is basically the opensource ethos. The source is provided for you to alter and fix on your own. If you feel charitable, you can share back a patch, but that is not required in the absolute sense, just if you want to be a part of the community.
Acting like open source developers is required to give support and fixes is pretty much a perversion of the movement. They are not your IT admins or contracted vendors
ketzu | a day ago
I get it's besides the point and the point of the article is really interesting. That paragraph just caught me off guard because it does read like real accusations.
Is the rust thing the unfunny coincidence of developers that never cared about security but took up the marketing? It sure wasn't my experience that rust overshadowed non-memory-safety security.
It was however my experience that a large number of devs do not care about security at all.
Also, maybe it is again about different experiences, but the software I remember from the past was insanely insecure. Access controls that boil down to "please don't open the files of others", most login forms being SQL injectable, all traffic local and global being unencrypted even when better options where long available...
LtWorf | a day ago
Reading about any project that got rewritten in rust, or any project that is a rust rewrite of something else, security seems to be the only reason for the effort (and license change, but that's never mentioned).
> It was however my experience that a large number of devs do not care about security at all.
Oh absolutely. Most people think "security" is something that someone else should take care of.
ketzu | a day ago
Yeah I get that part, but was that to the detriment of other forms of security? (I am glad to learn that I missed something there, I just didn't notice it at the time)
rcxdude | a day ago
Ekaros | a day ago
Computing is massively complicated. And sometimes issues are not obvious before they are found. And some of them might require leaps of logic or chains of leap of logics...
rcxdude | 20 hours ago
I do agree that RIIR is not a panacea for bugs and security problems, though. Especially for coreutils it's fairly obvious that there are a lot of other concerns that will make a rewrite take a long time to reach maturity. I think Ubuntu is certainly being, uh, 'bold' by trying to replace them with uutils, to put it politely. I don't really have a problem with uutils itself: it's not unreasonable to build alternatives to the GNU coreutils in and of itself.
tosapple | a day ago
i'm still nervous about the fcc and all the visits to the hardware manufacturers we've been through recently.
edit: they probably had to get serious with the stragglers and move the exploits up the chain into the hardware itself.
pixl97 | a day ago
All of us.
There has been a long time misunderstanding of computers by pretty much everyone for as long as they've been around. And that is computers are dangerous. Much in the same way weapons grade uranium can be dangerous. The thing is each computer in of itself isn't that dangerous. It's an emergent phenomenon where you reach a critical mass and suddenly all your computers can become an explosive problem.
And because of that nature you can't point your finger at one particular person, at one particular platform. At one particular choice and say "that's the fault right there". It's all of us that created this problem at will take all of us to get out of it.
Now, I have a particular beef with the responsible disclosure people for ignoring Darwin. They did an excellent job of hiding the dangers of computers for decades under the guise of "people will play nice and you'll always have time to fix your problems before they are ruthlessly exploited". We today we should all know that idea is dead, buried, and the bones have turned to dust.
There are likely a great number of things we are going to have to decouple from networks unless we want to continuously have them presenting dangers to users and the public at large.
markus_zhang | a day ago
Part of the issues is for sure negligence, but the other part is inevitable IMO. It’s in our gene to go fast, build fast and fix things while the thing is still running. It’s just the way we are.
Ekaros | a day ago
It is not in everyone's genes. But those people have certainly won. Even more so with AI.
Maybe when we are building actually critical stuff taking much slower approach could be for better even if it takes lot longer.
markus_zhang | a day ago
But as you said the majority of the people don’t think like that. I don’t want to get fired, so I move fast and break things if I have to.
As they said, we test in production.
vladms | a day ago
Taking things slow just "because something bad might happen" doesn't sound like a rationality driven stance. An engineer analyzes trade-off, takes some risks, and mitigates for others. The company management does the same and some do it well, some do it badly and suffer.
markus_zhang | a day ago
It’s a lot of noises made by the security researches but apparently ordinary people think losing your identity from an iPhone 0-day is completely different from losing your iPhone —- can’t blame them.
vladms | 22 hours ago
The "loosing of identity" is an idea that stupid systems and organizations come up with, when they don't want to change their horribly designed system. Random example: should you be able to open a bank account just with a photo of your ID ? I would say no. And yet, in some places it is possible. Can I do something about it? Partially yes, when asked for a photo of my ID I add text over the photo like "This is to be used only for a health claim and nothing else.". Is that affected by AI ? I would say that it is not that easy distinguish it from the other issues (social engineering, rogue employees with access to data, etc.)
And besides the horribly designed system, you need to consider stupid people as well. I know a (young) guy that wrote their PIN on their credit card, left the card in the locker room of a gym, had the card stolen, than complained to the bank (without admitting they wrote the PIN of course) and got couple of thousands back.
wat10000 | 23 hours ago
iamnothere | a day ago
It will require some rearchitecting and reevaluation of core assumptions, but there’s no reason that non real-time services can’t go asynchronous like Nostr or email, at least for those of us who care about security
teekert | 23 hours ago
Btw, https://nncpgo.org/ does not work? What is it, I mean floppynet is just some name I assume.
iamnothere | 23 hours ago
Floppynet is another name for sneakernet, i.e. transferring files between computers offline via USB or such. NNCP lets you send network packets this way. If you have a system that’s built around a single request-response pair then this works well.
Longer explanation here: https://www.complete.org/dead-usb-drives-are-fine-building-a...
keybored | a day ago
hypfer | a day ago
Maybe that was actually a bad thing to do? I mean, of course, no one wants to be the guy that is the friction there, because the pressure will be immense. But someone _has_ to be to break this clearly broken dynamic?
stephbook | 18 hours ago
hypfer | 16 hours ago
logicallee | a day ago
ethin | 19 hours ago
npteljes | 17 hours ago
PeterStuer | a day ago
How else would you communicate to users: "We checked and we think we are not impacted by the upstream release"? Now I know a version bump does not exactly mean "we checked". But both users and tools seem to have that as the implicit semantics.
hypfer | a day ago
The user could also just default to assuming that everything is fine (or just.. you know.. use the source to check themselves), but if their business model doesn't allow for that, the "known safe" statement would be something that IMO can be monetized.
It is after all primarily a compliance need and not necessarily always a genuine human need.
nubinetwork | a day ago
TZubiri | a day ago
PeterStuer | 18 hours ago
TZubiri | 11 hours ago
You guys are made up your own dimension huh.
How about just reading the READMEs with your human eyes
markus_zhang | a day ago
It seems that some OSS projects have this complaining culture that maintainers keep complaining about things such as corporations taking the code without code or monetary contribution, and the mounting security issues, without doing much of it.
I guess it’s because I’m not a product people in my heart. Everything I dumped on GitHub is just for myself to record and I don’t really care whether anyone uses or not. But people with a product mind feels that they want as many people to enjoy their products, so they feel certain responsibilities to fix everything, but then get burned by the human side of the things.
acdha | a day ago
markus_zhang | a day ago
63stack | a day ago
As a company you have 3 options, you let employees use open source or:
1. write it yourself for 1x-5x-10x the amount of resources
2. license it from a big vendor for $$$
If they want to get (even more) entrenched into the dogcrap that microsoft is doing lately, be my guest, I will lose 0 sleep over this.
What is the "struggling" here?
dspillett | 23 hours ago
But our new CEO¹ says we are all going to be 10x-15x-20x more productive if we fully embrace AI, so we'll at worst break even and maybe even be 20x ahead!!!!1!!!!!!
--------
[1] I don't know if it is for show, if he is completely naive and believes what he is saying, or if he thinks everyone else is thick and will take his word as gospel, but I think his “everyone will be 10x or more productive”, “but it will be easier, not more stressful”, and “it won't affect jobs at all”, is an impressive collection of BS.
Palmik | 22 hours ago
sam_lowry_ | 22 hours ago
That's the "none was fired for buying IBM mentality".
bashkiddie | 21 hours ago
red-iron-pine | 18 hours ago
literally why we paid for Docker licenses from Mirantis
TZubiri | a day ago
I don’t use llms to code, but I have to deal with vibecoded code and that is in itself a risk, but it also pushes me to do a lot of work and lower my guard, some coworker or client sends you a 10kloc project they made in a day and now you have like 20 hours of work to just review the code if I want to work at my pace.
writing code without an llm agent is already an extreme position which makes me almost unemployable, if I had to add the restriction of not working with vibecoders I wouldn’t even get volunteer or shitty work
markus_zhang | 22 hours ago
intrasight | 22 hours ago
That was the reality when I started programming. Then the compilers got good enough that no rational person or organization would program in assembly language.
For a while, we would use the C compiler and then tweak the assembly by hand. Can't remember the last time I did that.
markus_zhang | 20 hours ago
otabdeveloper4 | 19 hours ago
mystifyingpoi | 18 hours ago
imtringued | 18 hours ago
You're testing that your software is running. That's all you know from running the test.
LtWorf | 15 hours ago
weinzierl | 23 hours ago
It all changed when it turned into a competition to show off and please companies and with the rise of permissive licenses.
markus_zhang | 23 hours ago
weinzierl | 22 hours ago
markus_zhang | 22 hours ago
dspillett | 23 hours ago
Unfortunately security is the one thing no one can afford you to skimp on. Something that allows a successful exploit, especially with RCE holes that can allow an exploit to spread itself very quickly, isn't just an inconvenience for those running the affect software because the whole network could potentially suffer. Even those who are fully patched up or not directly affected at all will suffer as the problems affect services they use, directly or otherwise, or just consume bandwidth and other resources.
I don't have a solution, I'm not sure there is a good one ATM (several replies with “just throw your own AI at the pile!” suggestions no more fleshed out then “draw the rest of the owl” in 3… 2… …), but the ignoring admitting defeat and not processing security reports can't be a good option. This is why the slop reports are such a big issue: they hide the better reports (be they entirely human made, AI assisted, or mostly AI driven with good human review).
There always were crap bug reports, of course, but human slop comes in much more slowly than fully automated AI slop so doesn't take nearly as much effort to process.
> complaining without doing the obvious: […] signal to users that you simply cannot follow up the pouring of security issues
Unfortunately this will simply kill trust, and for good reason. It is better than quietly not keeping up with security issues, but only by a little.
markus_zhang | 22 hours ago
wat10000 | 23 hours ago
Security isn’t some abstract thing. You’re playing with people’s lives. It’s not something you have to worry about if your projects are unused or have no potential exposure to malicious data. But if your projects are used and do get exposed to malicious data, then you do have a responsibility to keep up with security issues as they’re reported.
markus_zhang | 22 hours ago
wat10000 | 22 hours ago
Bjartr | 22 hours ago
Random code you find online is a knife with a malicious wielder unless you have an affirmative, not presumed, reason to believe otherwise.
Bjartr | 22 hours ago
Except we're talking adults, not children. You shouldn't be picking up random pieces of code and expecting them to be appropriate for your use, then pointing blame at the author when it turns out it wasn't. Especially when the licenses for that code explicitly say they are without warranty. You are not entitled to software maintenance by default.
> But if your projects are used and do get exposed to malicious data, then you do have a responsibility to keep up with security issues as they’re reported.
This is totally crazy. In what world is random code you find lying around not your own responsibility for choosing to use? If you want specific behavior from the maintainer of code, pay them for it. If they're not willing, hire someone who it.
wat10000 | 22 hours ago
Can we talk about the actual issue at hand instead of whatever this is? You’re not helping the discussion by veering off like this and you’re not helping your own argument either. “A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
Bjartr | 21 hours ago
>“A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
Good thing I didn't say anything to that effect.
Though, for what it's worth, if the PHP project maintainers did go "we aren't going to keep up with security anymore". That's 100% up to them. That they did what they did in the past does not entitle the world to their work forever. If a project you rely on changes its stance in a way problematic for you. Stop using it. If that kind of change potentially happening is problematic for you, negotiate an actual contract with the author, vendor it into your project and fix it on your own schedule, or build it entirely yourself.
Veserv | 21 hours ago
"NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
How about MIT:
"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
Just because you wish for random bits of code online to be serious projects for "serious users" does not make that true. Almost the entire problem with the industry is that basically every redistributor is unserious in their usage or inclusion of dependencys, both open source and proprietary; depending on imagined guarantees that literally nobody ever made resulting in our very unserious level of security. If you face the unpleasant reality, it will no longer be a wonder why the industry is having these problems and has been for literal decades.
wat10000 | 19 hours ago
I agree that dependencies are often taken far beyond what they should be. But I don’t see that as central to the issue. Some dependencies are inevitable. If those dependencies are open source then they’re going to have some variant of your quoted disclaimer and no explicit guarantee that they have any particular security posture. Even if they aren’t* open source, they probably have something like that in their license agreement. Is the expectation that either I give up on security, or I get custom agreements for (or directly maintain) every part of my software stack from the hypervisor on down?
It seems like your attitude is either incompatible with software existing on networks, or incompatible with collaboration and open source. I doubt that’s what you mean but I don’t see how you envision this working.
Veserv | 18 hours ago
That is how it works in literally every other commercial field. Only software companys have wiggled out of the standard legal obligations every other commercial entity is subject to.
You are arguing that it is acceptable for companys to abdicate their responsibility to their customers because they chose to use systems unfit for purpose. That is the status quo, and that is what is wrong with the field that has gotten us all into this mess. The systems being deployed right now are unfit for existing on networks and have been unfit for existing on networks for literal decades.
To their credit, OSS has been saying that in gigantic, big bold text the entire time. It is the greedy assholes ignoring that to make a buck and then complaining about the consequences of their own actions that are at fault. “I can not make money if I have to do it right” is not and has not ever been a excuse even if the world has not caught up to it yet.
If a organization includes software that is not fit for purpose and they do not take responsibility for it, then they are not “serious”. But at least they have company because this industry is almost entirely filled with and run by unserious people.
wat10000 | 12 hours ago
Veserv | 11 hours ago
In contrast, it is obvious to even the most casual observer that when a creator states their system is “WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE” that it is not fit for purpose. It is eminently fair to believe a system is not fit for purpose when the creators say as much. And they quite clearly and literally say it is not.
It is your problem if you choose to ignore it, unless they are deceptively marketing it to you.
SoftTalker | 18 hours ago
Veserv | 17 hours ago
This is not a targeted knock on OSS. They are being truthful about their guarantees and they are, generally speaking, not targeting lay consumers or being personally enriched providing unfit products to lay consumers.
The problem is with everybody wrapping up software that is not fit for purpose and selling it to unsuspecting customers and then claiming their suppliers have a “professional, ethical responsibility” for things the suppliers never agreed to for free because it lines the wrappers pockets.
It is the problem of the people wrapping it up for purposes it was never designed for that need to bridge that gap as it is in literally every other industry.
LtWorf | 15 hours ago
We know very well that big vendors cannot be trusted with security. Plan accordingly and build redundancy.
Do not put stress on some dude on the internet who does this in his spare time.
wat10000 | 12 hours ago
If some dude on the internet chooses to be a maintainer of an important project in their spare time, they’re bringing that stress on themselves, I’m not doing it.
LtWorf | 2 hours ago
You mean you don't do backups and do not have contingency plans for attacks?
> If some dude on the internet chooses to be a maintainer of an important project in their spare time, they’re bringing that stress on themselves, I’m not doing it.
If you aren't doing the bare minimum, like having backups, in your $DAYJOB and expect some maintainer to prevent stuff from ever happening, you're giving a bad name to the profession and you should probably do something else in your life.
eliasdorneles | 23 hours ago
Maintainers get a lot of complaining from users. So they also complain a lot. Then when they complain publicly, someone on HN complains about maintainers complaining.
To continue the chain, I think someone now will want to complain about HN complaining about people complaining, and so on...
markus_zhang | 13 hours ago
AnthonyMouse | 19 hours ago
This attitude is fine for new features and even most bugs, but security vulnerabilities have the problem that once they're public you're on a deadline that just expired. Everybody needs the patch now and it's much more efficient for upstream to do it once than to have individual users each trying to do it themselves.
And then if you want to be the maintainer, you have to be the maintainer. Whereas if you don't then that's fine but at that point people either need someone else to do it or need to stop using the code.
jpc0 | 19 hours ago
“You need to patch this urgent 9.8 CVE that doesn’t effect me and can only be triggered in this really niche case that 99% of users will never run in to yesterday or I will post about it repeatedly on hacker news”
If it effects your cherry pick the patch, if it doesn’t then live with it.
The reality is no human can keep up with it and I don’t think LLMs are good enough at weeding out which RCE actually deserves attention right now.
Its a catch 22, but how about you own the code you run, in the OSS spirit.
AnthonyMouse | 18 hours ago
Things with a 9.8 score that don't actually matter sometimes happen, but they're not the common case. So then just patch that one and make them shut up.
> The reality is no human can keep up with it
That seems like an exaggeration. We'll also see to what extent this is temporary. Right now LLMs are finding 10+ year old vulnerabilities, what happens once those are patched? Can't find them at an unsustainable pace once there aren't as many to find.
> Its a catch 22, but how about you own the code you run, in the OSS spirit.
Install a Linux distribution on your machine and you're running a billion lines of code, and the same code as millions of other people. An individual obviously can't maintain that amount of code and it also doesn't make sense for millions of people to duplicate the same work as each other.
jpc0 | 3 hours ago
Do you want to be on a distro security team at this point in time?
How do you find the 1-2 actually important reports when you are getting bombarded by reports by everything that has access to a terminal?
Clearly they are keeping up, at least from what we can see, but who says that they aren’t letting things fall throughout the cracks, not because of any fault of their own but because of the sheer avalanche of reports.
It’s easy to complain when you are not the one doing the maintenance.
Feel free to post your open source project here, Im sure one or two people here would happily start a few thousand vulnerability scan sessions up for you and you can feel the pain yourself.
StilesCrisis | a day ago
dools | a day ago
snk | a day ago
iamnothere | a day ago
Not everyone has to agree on this, and not everyone has to participate, just a critical mass that can share the burden. New and more complex software will always be generated, especially in the age of LLMs; let the bulk of the bugs fall here. Linux can be the software you run in an untrusted VM when you need to program that weird USB gadget using some guy’s vibecoded slop.
keyringlight | 23 hours ago
iamnothere | 23 hours ago
The key is tight control over the most important OS functions and applications. With more resources that bubble can be expanded a little, but there’s probably a limit.
o_-_o | a day ago
skinfaxi | a day ago
watwut | 22 hours ago
krystalgamer | a day ago
if anything it just proves that modern infrastructure is built on top of work that lacks the proper funding.
aunderscored | a day ago
LtWorf | 15 hours ago
Also by making people jobless which means they can no longer contribute.
RicoElectrico | a day ago
tescreal | 23 hours ago
All told though, what it looks most like is we're exiting the final tails of the era of "Human-scale software", and into some mega scale where individuals won't be able to keep up unaided. Looking at architecture of buildings, it isn't often the case huge projects can be fully understood by one person. Everything becomes eventually too vast, too large, to seriously rekon with.
worried_individ | 22 hours ago
tescreal | 19 hours ago
That all said, I didn't make any claims about if it were secure to begin with whatsoever.
1970-01-01 | 23 hours ago
mattstir | 22 hours ago
It's challenging to accept such a statement when the past 30 days have featured no less than six extremely high-profile memory safety bugs in critical infrastructure (PHP, Brotli, nginx, Java, Ruby...). No compiler can prevent bugs in application logic, but automatically catching the most common and exploitable class of bugs should be a compelling feature and it's surprising to see it positioned as somehow a bad thing.
odyssey7 | 22 hours ago
dralley | 17 hours ago
loup-vaillant | 16 hours ago
In my experience over 90% of C/C++ developers are basically unaware of alternatives to fine grained allocation with malloc()/free() or new/delete. Many have heard of pool allocators, but they almost invariably see it as something even more complicated or tricky, applicable only in high performance code (meaning, not theirs). Very few have heard of arena allocation as a way to massively simplify lifetime management.
Now OK, temporal memory safety isn't the only problem. But it is the costliest and most difficult to solve at the language level. So imagine a langage that only helps with spatial memory safety (systematic bounds checks in debug or release-safe modes), and their programmers stick to the simpler allocation schemes like arenas.
It won't get rid of all the memory vulnerabilities. But it may very well get rid of enough of them that they cease to be a priority. It might even be a better tradeoff overall than a borrow checker or even a better security tradeoff, depending how much friction the borrow checker adds.
On the other hand, we should not underestimate the productivity boosts of strict static analysis, most notably type systems: I have experienced first hand the advantages of being told with ruthless precision why my pathetic attempt at a program didn't deserve to be even started. It's a tighter feedback loop than even a REPL (though I like it best when I have both), and speeds us up in many cases, including exploratory programming.
goodmythical | 21 hours ago
I'm not sure why this wouldn't generalize to other behaviors including coding, and that's the argument against the "language1" is safer than "language2" discussion. Left with only that distinction, the coder is less likely to take extra precautions just as Americans who are safer wearing their seatbelt choosing to travel above the speed meant to be safe for the road and it's inhabitants, ignoring the fact that their seatbelt does not protect pedestrains or fauna.
That the lanuage does technically offer a statistical safety advantage provides no assurance against foot-gunning, despite offten being portrayed as such.
TheDong | 21 hours ago
I don't know if there's really a good analogy for driving cars because it would have to be a completely eliminated class of error, like "drivers drive slower and are less likely to hit potholes when they perceive danger, i.e. on a road with many potholes, however if we eliminated all potholes in existence, drivers hit even fewer potholes".
Anyway, humans stopped coding sometime this year, so it's all kinda a moot point.
magnio | 21 hours ago
Same with coding: no one cares if you abstain from ASan and UBSan if the end result has no memory safety bug. Unfortunately, times and times and times and times again have shown that thinking "I just need to write perfect C code" does not help reduce memory safety bugs, while using Rust does.
Why? Because making a Rust program with more intricate memory access rules compile is way way more annoying than in C. This is intended.
> That the lanuage does technically offer a statistical safety advantage provides no assurance against foot-gunning
The zero-cost memory safety provided by Rust is enforced by the compiler restricting all kinds of foot-gunning, sometimes even stupidly (unlike in GC languages where the GC just cleans up all the bullet wounds). Saying Rust let users foot-gun themselves easily is one thing, but saying it's easier to foot-gun in Rust than in C is unfathomable.
arrowsmith | 21 hours ago
whatevaa | 21 hours ago
AnIrishDuck | 20 hours ago
This analogy does not hold up. Nobody sane would seriously advocate that everybody drive around with a chef's knife just because it makes the driver more careful.
Humans make mistakes. We are exposed to the mistakes of other humans. There are factors that are out of our control.
The only serious approach to safety given this reality is defense in depth. Removing layers of defense because "it will make the humans behave more carefully" in other layers is fallacious reasoning.
AnthonyMouse | 19 hours ago
That is the sort of thing some people advocate in the vehicle case though. They suggest reducing visibility etc. on purpose even though it actually makes it harder to avoid a collision because some drivers overcompensate and then the e.g. -15% you get from people being more cautious is more than the +12% you get from drivers not being able to see pedestrians as easily.
But there are a few problems with the theory. The first is that they hardly ever do long-term studies, and then people may not stay more cautious once they get used to the change even though you've permanently reduced visibility. The second is that if you make a road feel more dangerous then some people would avoid the road, and then you measure fewer collisions on it because it has less traffic, but you're only moving the collisions somewhere else while still actually reducing visibility on that road.
And the third is that it's a false dichotomy. There are ways to make a road less dangerous other than making it feel more dangerous, and we should prefer those over the ones that impose countervailing costs.
dralley | 16 hours ago
AnthonyMouse | 11 hours ago
In general the people who don't like cars and correspondingly latch onto theories that would make things worse for people who have to drive.
vhiremath4 | 20 hours ago
darksaints | 19 hours ago
3uruiueijjj | 19 hours ago
As a programmer I am not the driver. If I was, I might truly be more careful. But the drivers are people far away that I don't know and don't really care about.
MattPalmer1086 | 19 hours ago
AnthonyMouse | 19 hours ago
dwattttt | 19 hours ago
Other avenues for bad are still there though.
AnthonyMouse | 18 hours ago
It's more typing, but it's also less thinking because you get the code to compile immediately. And if you don't like typing then that's easy, just write "unsafe" once inside a function that you can call in 500 different places.
At some point you have to actually care or it's not going to work out.
dralley | 16 hours ago
dwattttt | 16 hours ago
It's usually the opposite. If you're being forced to write unsafe, odds are there's a crash bug about to appear (the word "forced" was very specifically chosen, I've been in both of these positions quite a few times).
And if you're not being forced to write unsafe, not writing it really is easier. Precedence of operations means that if you want to call a method/access a field of a raw pointer, it's a minimum of `(*a).` to access it. A reference is just the `.`.
AnthonyMouse | 10 hours ago
Suppose there is a point in the code where the compiler can't verify that it's safe to access the object but you want to do it anyway. You've transferred ownership of it to e.g. a third party library, while still keeping and using a naughty reference to it. Avoiding this would require you to restructure the code, which could be a lot of work. But the boss wants you to do it now instead of all the refactoring needed to do it right.
And everything's fine as long as the thing that does own the object doesn't release it before you expect it to. Just like C. Or maybe even worse, since now you're explicitly promising the library it can do what it likes with the object and then breaking your promise at your convenience.
dwattttt | 10 hours ago
> Suppose there is a point in the code where the compiler can't verify that it's safe to access the object but you want to do it anyway. You've transferred ownership of it to e.g. a third party library, while still keeping and using a naughty reference to it. Avoiding this would require you to restructure the code, which could be a lot of work. But the boss wants you to do it now instead of all the refactoring needed to do it right.
That's exactly what I thought every time I added 'unsafe' where I "knew" it was fine, even though the compiler told me I couldn't. And the vast majority of those times, within a day, I had to track down "the program now segfaults erratically". It's not _every_ time, but the vast majority of them. Certainly enough that when I now get into the same situation, the easier option is to make it certain that the object isn't being freed (wrap it in a refcount and call it a day, no unsafe in sight).
dralley | 17 hours ago
It's just not a problem in real life.
AnthonyMouse | 10 hours ago
But that's the thing. The culture isn't the language, so if it's the culture which is doing the work then giving the language to someone with a different culture yields a different result.
shanemhansen | 17 hours ago
I've made a plugin to valgrind that stabs the engineer with a knife when they do unsafe things. Does the engineer accomplish their next task with rust or C?
paulf38 | 9 hours ago
pcwalton | 16 hours ago
skydhash | 21 hours ago
hansvm | 21 hours ago
Whether this is true or not, it's positioned as a bad thing because time and effort spent on memory safety isn't purely an additive benefit. It can actively reduce memory safety (high-perf Rust software needing more unsafe than we care to admit, and unsafe Rust being harder to write correctly than normal C), and it can fight against time spent focusing on other serious vulns (e.g., the cap-primitives issue is important because we're failing to do things as simple as when we run literally arbitrary code bothering to make sure it's the right code).
And that's only from a security perspective where legitimately informed and intelligent people disagree about whether Rust actually reduces vulns in high-performance code (again, whichever side you fall on, that's the argument being made). There's additional pushback against Rust when people would otherwise be silent about its security shortcomings because it has enough other tradeoffs in its design to hinder other metrics developers care about, like speed of feature delivery (or, in the age of vibecoding, cost of tokens and therefore also speed of correct feature delivery).
stickfigure | 19 hours ago
If we're going to beat up on Java for having some bad hand optimized internals... guess what, Rust has it in spades, with more than a dozen memory corruption CVEs over the years.
Yes, memory-safe languages are better for application development. But Rust is not unique here; most GC'd languages satisfy the requirement.
imtringued | 18 hours ago
I thought about what hardening techniques there are for dealing with RCE in a process but short of SELinux policies I can't really think of anything that might help.
The problem is ultimately that any RCE can overcome any in-process security mechanism you come up with. If you have an RCE, the security logic has to be enforced by a process that is not a victim of an RCE.
The best way to deal with a threat model with inevitable RCE is to ultimately give up and come up with a general RCE mitigation.
For example, a hypothetical ISA could mark valid entry points for functions and if you skip them, the process aborts. This prevents using just the last instruction of a gadget but ultimately I think even that type of mitigation is useless against an LLM. You are simply better off doing your bounds checks.
I'm talking about RCEs, because most in-process security measures work best if they cannot be bypassed and an RCE is always an implied bypass.
Edit: Rust the language does not operate on the C concept of ambient authority. Rust's STD unfortunately does.
dcrazy | 18 hours ago
OpenBSD implemented this for syscalls: https://man.openbsd.org/pinsyscalls.2
kibwen | 17 hours ago
Rust's standard I/O abstractions are intended to be cross-platform, which means they're unfortunately going to be approximately the lowest common denominator of what the platforms natively provide. If you're okay with not strictly adhering to cross-platform abstractions, then the cap-std crate is the state of the art: https://crates.io/crates/cap-std
lightedman | 14 hours ago
Forcing hardware makers to be responsible for the first 3 layers of the OSI model would be a great start.
LtWorf | 18 hours ago
You realise they are memory managed languages right?
TonyTrapp | 17 hours ago
LtWorf | 15 hours ago
Also it contains a ton of unsafe.
Any other wisdom you wish to share?
dralley | 9 hours ago
LLVM is written in C++ (not C), sure, but it's also not the only backend that exists. You could use Cranelift (written in Rust) if you want.
TonyTrapp | 4 hours ago
ratmice | 16 hours ago
Making it extremely easy to collaborate with large numbers of packages and maintainers, while also making it difficult to audit (packaged source code not linked to a particular git commit).
There are plenty of valid complaints that don't touch application logic or memory safety. Coming from someone who likes aspects of rust despite these problems, there is certainly room for improvement at the package ecosystem levels.
ForHackernews | 16 hours ago
rekabis | 21 hours ago
This requirement… is supremely stupid. A package should be “outdated” when the next version exists, and not because it exceeds a certain age. Who cares how old a package is? So long as it continues to operate as expected, does not make use of anything explicitly deprecated, and does not suffer from any exploits, it should be golden.
Some argument can also be made for a new(er) release of the language it is written in, but that can be handled with a language fork that contains the latest language’s features, and not a new version. And like, major language versions, not f*king point releases.
14113 | 21 hours ago
I think the author misses a key bit of context, which is that the vunerabilites are not in new code, but in existing code that has been around for years. The number of vunerabilities has not increased, only our ability to identify and report them.
npteljes | 18 hours ago
skwon816 | 21 hours ago
_the_inflator | 20 hours ago
Furthermore, software developed without AI is at risk of extinction. The communities may not be real communities at all, but rather AI agents.
seiferteric | 19 hours ago
msrbuilds | 18 hours ago
nylonstrung | 17 hours ago
Mission-critical software will have to shift away from auditing and move towards proof that definitely establishes certain exploits are provable impossible within a system
"Make illegal states unrepresentable" is an idea that will have to be taken as far as possible for reasons of security with burden of proof upfront instead of "trust me bro".
This kind of discipline already exists in certain forms of high-stakes software engineering like avionics, medical devices etc but it feels like it will have to disseminate
ece | 16 hours ago
loup-vaillant | 16 hours ago
That's your problem right there. And your solution too. Way too many things that would benefit from a local solution is instead delegated to a dependency of under-evaluated (if at all) long term reliability.
Just because most complex software has an unreasonably large transitive closure of dependencies, doesn't mean they all have to. Some don't, and in my opinion the exceptions ought to be the norm.
m348e912 | 15 hours ago
Sounds like a perfect us of AI. Use AI to validate the reports, bubble up the verified ones with proposed fixes and have a approver review, approve, and implement.
rosslazer | 15 hours ago
"I’ve said this before and I’ll say it again: most projects aren’t really prepared to handle security issues. And it’s not just about triage. It’s about having LTS or security branches, it’s about making proper security releases with minimal changes. Unfortunately, it’s quite common for security fixes to be combined with new features, deprecations, API changes. In extreme cases, people are caught with their metaphorical pants down, and suddenly need to make a security release in the middle of a major rewrite, or along with barely tested new code. And then, people downstream discover that they need to quickly deal with major API changes to upgrade past a vulnerable version. These things keep piling up."
Our priors on the open source supply chain have been broken.
lofaszvanitt | 8 hours ago
rouanvde | 4 hours ago