The next circle of security hell

(blogs.gentoo.org)

99 points | by qtqtqt 4 hours ago ago

43 comments

  • markus_zhang 2 hours ago

    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.

    • acdha 2 hours ago

      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.

      • markus_zhang 2 hours ago

        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.

      • 63stack an hour ago

        Who's problem is that though?

        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 4 minutes ago

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

    • weinzierl 39 minutes ago

      I think what you describe is close to the original open source spirit, which also favoured copy-left.

      It all changed when it turned into a competition to show off and please companies and with the rise of permissive licenses.

    • wat10000 2 minutes ago

      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.

    • TZubiri an hour ago

      personally, it’s not possible

      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

    • dspillett 11 minutes ago

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

  • pixl97 2 hours ago

    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.

    • markus_zhang 2 hours ago

      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.

      • Ekaros 2 hours ago

        I feel that there is lot of criticism if someone wants to take things slow and actually think about problem. Not making hasty decisions.

        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.

        • vladms an hour ago

          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.

          • markus_zhang an hour ago

            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.

        • markus_zhang 2 hours ago

          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.

          As they said, we test in production.

    • iamnothere an hour ago

      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

    • keybored an hour ago

      Privatize the praise, socialize the blame.

  • PeterStuer 2 hours ago

    "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.

    • nubinetwork 2 hours ago

      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.

    • hypfer 2 hours ago

      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.

    • TZubiri an hour ago

      how about saying "We checked and we think we are not impacted by the upstream releaseā€œ maybe in a readme

  • hypfer 2 hours ago

    > 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?

  • tescreal 27 minutes ago

    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.

  • StilesCrisis 2 hours ago
  • prologic 2 hours ago

    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!

    • prologic 2 hours ago

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

  • iamnothere 2 hours ago

    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.

    • keyringlight 40 minutes ago

      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.

      • iamnothere 33 minutes ago

        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.

  • o_-_o an hour ago

    I think its obvious by now (at least to me) that AI is killing software and websites everywhere.

    • skinfaxi an hour ago

      Forest fires lead to more healthy ecosystems on the whole.

    • krystalgamer an hour ago

      oh yes, software is being killed by finding vulnerabilities and fixing them.

      if anything it just proves that modern infrastructure is built on top of work that lacks the proper funding.

      • aunderscored an hour ago

        Perhaps, but the response will not be to provide the aforementioned funding. It'll be security through obscurity and internal rebuilds of OSS

  • snk 2 hours ago

    ā€œShell can execute dangerous commands if you type them inā€ is my new sig.

  • ketzu 2 hours ago

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

    • tosapple 2 hours ago

      government mandated holes in software that now has to be cleaned up under the force of public/chinese scrutiny*

      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.

    • LtWorf 2 hours ago

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

      • ketzu 2 hours 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).

        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 2 hours ago

          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.

          • Ekaros 2 hours ago

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

  • dools 2 hours ago

    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.

  • RicoElectrico an hour ago

    It all started with the proliferation of language package managers.

  • logicallee 2 hours ago

    This is a good blog post. What do you all think is a good solution for this?