Comment by Gigachad

1 month ago

At work we have put a full halt on feature work because the number of security related tasks has become staggering and urgent.

We will hopefully get over this wave and be able to move forward with much more secure software, but it's crazy right now.

How did you get product management to agree to that? Ours said "I could fix all of that in 2 days with Claude." They are still not fixed. Granted, our PMs suck.

  • The upper management and security team came knocking and told us all of the CVEs from the scanner need to be addressed right now. And the only way to deploy without having to wait for QA approval is to not merge feature changes.

    • > The upper management and security team came knocking

      i would say the recent slew of vuln reports/breaches making the news rounds are doing work!

      This is the silver lining i suppose!

  • You need a better product management. If they can't see what's going on at the moment, they truly suck at their job or management is putting pressure.

We’ve also been blowing a lot of retainer hours just patching sites instead of building new features. It sucks. Ultimately going to cost clients more.

  • It's not like no work is happening though. Your clients are getting a more secure website. Maybe the bugs that are being patched would have taken longer to be exploited in the pre-LLM world but the bugs were still there.

    • Most clients will not agree to pay extra for a more secure web site though. Unfortunately. Unless they’ve been bitten in the past, which most businesses still haven’t.

      4 replies →

    • Yeah you’re right but for most businesses increased security doesn’t lead to more sales.

      I’m not saying that’s right, I’m saying that’s how a lot of businesses think.

      2 replies →

  • Probably not, if you factor in the cost of security exploits. A single compromise can potentially sink the business.

    • > Probably not, if you factor in the cost of security exploits. A single compromise can potentially sink the business.

      Agreed however getting humans to understand probability is tricky.

      I had this discussion with my son recently about considering the severity of outcome multiplied by the probability of that outcome been the way to look at some things.

Same here. I got access to Mythos two months ago, it confronted me with decades of nasty bugs I wrote. This has been stressing me out a lot, caused sleep deprivation (the bugs follow me in my sleep, yes, really). All other progress is halted, I've been squashing bugs day and night. I see a light at the end of the tunnel.

Bottom line: it's a good thing. My software will be better after that. Even if it's currently not good for my ego (and my health). But I'm glad for all the tools that help me improve quality.

And sure, I can just ask LLMs to fix the bugs, which works well half of the time, and produces bad slop in the other half. This is where human expertise and judgement is still necessary to avoid letting our code bases drift into LLM spaghetti hell.

  • My question is, did it provide POCs? I have had some security issues flagged that I tried my best to exploit, but failed miserably. Since I do not have any kind of privileged access the LLMs I use have been unwilling to actually prove that it can be exploited.

    While I did fix most of the things because while they might not have been exploitable they were bugs waiting to happen, in all but one case I haven't been very impressed by any of the LARGE IMPORTANT SECURITY HOLES that were found.

    • No, the Mythos reports do not come with POCs. It's a lot of redundant prose explaining the bug it found (much more than I'm willing to read), it explains how it can be triggered, but doesn't generate actual exploit code.

      But that doesn't matter for me. It shows me real bugs and less than 1% false positives. Some bugs are truly nasty and urgent, most are trivial and not exploitable at all, but they're bugs and so I'm fixing them.

      Mythos isn't mythically superb for being the best LLM model, but only for not having these annoying guard rails that make all others randomly refuse to cooperate when you need them the most. Whoever invented guard rails - please stop! - they just slow the good guys down in the race.

      1 reply →

    • While it is certainly good to do estimation oneself and not just blindly follow whatever the LLM outputs, keep in mind the recent PHP-related events ... Just because at some point one is not able to make a PoC, it doesn't mean, that no one else ever will be.

  • > I've been squashing bugs day and night

    > This has been stressing me out

    > the bugs follow me in my sleep

    Sounds like you need some vacation.

  • > Even if it's currently not good for my ego

    If you don't mind answering, how come? Is it specifically that you dislike how abusable your code was, or something else?

    • That part was not 100% serious. Only 90% or so.

      To err is human, I know that as much as anybody. Before the advent of LLMs, there were several (human) audits of my code for vulnerabilities, but they found little, which I was proud of. And now, Mythos had a quick look and found hundreds and hundreds of bugs (many of which were critical and even more were really emberassing).

      Of course, I knew there were bugs that just weren't found because the auditors weren't looking closely enough, didn't have enough time/budget etc., but this unspecific feeling is different from having all the bugs accumulated over a quarter century slapped in your face at once.

      2 replies →

Interesting that this could result in net negative software productivity world wide in terms of features right now.

LLMs finding unpatched vulnerabilities faster than they can be reasonably patched, bringing all other software development to a halt.

  • That's only if you consider security to be unproductive!

    If you consider it to be productive work, it's a massive productivity boon happening right now. Of course, product managers might disagree...

    • Security work is not productive.

      Imagine that the whole city has to install iron doors and window grilles, because wooden doors and glass windows are not safe enough anymore.

      That's a lot of work, but is it productive in the end? Probably not.

      With AI it's the same. World was fine with lax security approach before. Today it is not fine. Tomorrow we might need to prove every code line before shipping, will that be more productive? Hell, no.

      36 replies →

    • When I had a brilliant stop on defense, a few savvy fans would appreciate it. When I scored goals, everyone knew.

      Some people will much appreciate the holes in Postgres that are being plugged. Many more will be bored with patch releases until new features rollout.

      A software affecianado appreciates patches, and might do well to teach laypeople the benefits of a good defense.

  • Hopefully with the amount of visibility LLMs are bringing to the situation, security will finally be considered a first-class feature

    • LLMs will likely greatly increase the cost of ignoring security, which is the most powerful tool to increase security ticket prioritization.

      I wouldn't be shocked if in 1-2 years non-security vetted software released into the wild will be hacked on arrival, like Windows XP without service packs used to be.

    • That’s only helpful if AIs can find and help fix security bugs faster than it can help attackers find and exploit security bugs.

    • I love the mental image of the next million dollar CEO dropping into the role, super ready to implement his/her next big font change and logo redesign; instead to be crushed by the wave of engineers panicking from all the bugs being uncovered and being forced into doing productive work.

  • Depends on the layers you are working on. Security is top priority on a lot of things that are visible to the internet, but in a lot of large companies, the footprint of the whole org is so much larger that than, and there many companies are deferring many security issues. So then you see a lot of speed there, when the consumer accessible systems are the focus of the security push.

  • Really puts egg on the face of the anti-LLM folks who claim they only produce garbage code. Turns out they are very good at exposing the garbage code humans have been producing for decades.

    • Personally I think LLMs did only produce garbage code. Not coincidentally, the same upgraded LLMs that have gotten so good at finding bugs are also much better at not writing bugs. Especially if you make them review their own work. They still have a hard time with code design, though.

    • I suppose LLM will go hand in hand with compilers for the foreseeable future. The majority of garbage humans have been producing for decades were comments, not code. Without good comments, code was unmaintainable and unclear. So programmers will be writing comments first, the LLM will interpret each comment to generate code, the programmer will correct the codes intent and so forth.

    • That is not the take-away. LLMs are finding potential bugs in code. People are using LLMs to create potential fixes which people then test, confirm and implement.

      2 replies →

    • I claimed that at time when LLM were producing only and solely garbage code.

      I am not doing it anymore.

  • i think we have a pretty high p(doom) on frontier ai escaping containment with their weights and goes hack everything, if we do not act now we may have no chance to act anymore.

    • Escape to where? It's not as if there's a lot of idle compute capacity sitting around.

      And even if the impossible occurs and LLMs hack everything that's connected to the Internet, so what? That would be inconvenient but it wouldn't cause doom. People would muddle through and eventually fix the critical problems, just like they always do.

It’s amazing how much slop humans have produced that now needs to be fixed by AI…

  • wait until CTOs are forced to stop pretending the world is all sunshine and rainbows and that much of their tech stack has adversaries fingerprints on it

  • Without all that slop how would you have trained the AI?

    What makes you think that AI trained on slop is suddenly going to produce quality code?

    • I think ai is more rigorous with testing. It’s not so much about what an llm “knows”, but more about how well it does plan-do-check-act.

      11 replies →

    • The code AI generates is fine, it's the context on a codebase that's often missing. Generating duplicate code because they didn't see that a Class already existed for the same thing. Or having no clue that changing a method will fix A but often missing that it will break B.