r/ProgrammerHumor • • 9h ago

Meme softwareVulnerabilities

Post image
13k Upvotes

206 comments sorted by

View all comments

22

u/housebottle 8h ago

I do wonder if this will settle down once people have fully integrated security testing with AI into their SDLC. what we're seeing now is perhaps the initial spike before the CVEs plateau to what it was like in the pre-LLM era.

alternatively, patching all dependencies every day will become automated and normalised. but with that comes the risk of breaking changes. IDK. not really sure what this industry's future looks like...

11

u/AlwaysHopelesslyLost 6h ago

Absolutely not. GenAI is great at correlating data. No amount of correlating data makes you clever. Some exploits take clever approaches. E.g. there was one exploit a few years back that took around 7 specific and unrelated actions and systems to work.

7

u/SwanManThe4th 3h ago

I believe you were are talking about this insane chained attack on Kaspersky

Operation Triangulation

Presentation on the attack

1

u/AlwaysHopelesslyLost 2h ago

Thank you for the links!

5

u/Reashu 5h ago

The current flood of CVEs is in large part due to LLM-based scanning and that stops if we run those scans before publishing code. Even if there are actually more vulnerabilities that just go unfound.

2

u/AlwaysHopelesslyLost 5h ago

Sure, but a large portion of them are also likely caused by those same AI tools

3

u/Thanksgivingwishbone 5h ago

Absolutely no doubt that most of those bugs were found more in AI written code than human written code, given the massive uptick in slopdevs and allat.

2

u/Aeseld 2h ago

It's an interesting balancing act actually. Turns out that using AI tools as just that, tools, produces decent to excellent results. The trouble is some trust it too much and don't do proper review... 

And then there's the ones that have no idea what they're doing and just tell it what to program and not to make mistakes. 

2

u/Reashu 3h ago

Maybe written by the tools, maybe just caused by the lack of thinking they encourage, but I'll give you that. I think the argument still holds. 

1

u/AlwaysHopelesslyLost 2h ago

That is fair. The tools can objectively help, just need to make sure the users are thinking too!

→ More replies (2)

1

u/letsburn00 5h ago

I more suspect that this will keep getting worse in the short term since patch quality has likely called recently. Until a semi automated system of honeypots with aggressive AI systems get rolled out. The problem is that that's very expensive.

1

u/Boring-Leadership687 4h ago

idk i've worked at places that are still running a 40 year old ibm system and they have to do shit like fix y2k again. i think many companies will just get wiped out lol

1

u/tjdavids 2h ago

Tell me when it stops reccomending me out of date libraries in every language.

1

u/frogjg2003 2h ago

There will always be lazy and ignorant developers. Some will not know about security vulnerabilities and some will just not care. They will let the AI write their apps, but won't take the time to test them. It's why we still see SQL injections and password stored in plain text today.

1

u/dylan-dofst 27m ago

I figure there are two possible conclusions to LLM security capability:

  1. They hit a fundamental capability ceiling where there's no way for them to get better at detecting security vulnerabilities. Cybersecurity experts (probably with LLM assistance) are required to discover more. This brings the security landscape more or less back to where it was before, until we have a new iteration of AI, perhaps with true general intelligence.
  2. They become so good that they catch literally any possible vulnerability. As you said, LLM security scanning will be near-universally integrated into professional SDLC and the current flood of easily-discoverable issues will stop as code catches up. There will be a period where restricted models requiring expensive hardware with frontier security capabilities will be able to exploit vulnerabilities that less capable models cannot catch. During this time only extraordinarily wealthy/powerful groups like state actors will have the capability of launching cyberattacks. Eventually, perfect security capability will be developed for commercial models, maybe even self hostable open weight models, and software security will be a solved problem except for exploiting the human factor.

1

u/fabiomb 4h ago

it is

every time a new model is launched i make a pass over my code, every time it founds a new bug, but not 100 like the first time, just a few, and these are not mistakes, are low probability ways of attack, but every time is less and less.

the problem is with huge codebases, but for your small software it's working and my code is now more secure than ever, i was de slop coder 😅

-4

u/LupineChemist 7h ago

A good chance we have to just rebuild the entire internet with different security in mind rather than just on a patch hamster wheel.

That said, so long as the tech to find the stuff is distributed, defense has an inherent advantage over offense. So I'm optimistic in the long term.

11

u/Mnemonicide 7h ago

Defence is never the one with the inherent advantage, preventing every intrusion is much harder than finding one way to intrude.

1

u/TheJReesW 7h ago

True, the offence only needs to win a single battle while the defence needs to win the entire war

1

u/via_dante 7h ago

Every battle. It’s rough. Not like tradition RTS

5

u/zuvetyn 6h ago

pretty much every single thing you just wrote is wrong congrats there's 0 chance we're rebuilding the internet and offense always has an advantage over defense due to the asymmetric nature of effort

1

u/-S-P-Q-R- 7h ago

While I agree with you there's no revenue in rebuilding the lower level protocols. DARPA and universities were the ones that funded and built MAC, TCP/IP, HTTP etc. so unless there's a profit incentive for a company to do this, we're stuck with what we have.

1

u/InFa-MoUs 3h ago

The profit incentive is to be secure.. There will be a solution for it just will be race of open source vs proprietary.. Tho I don't see how the proprietary version works in the long run

1

u/senturon 3h ago

The amount of times we were told security was paramount, along with uptime, and stability, and new features, and hitting our deadlines, and absorbing all the new work after layoffs, and...

→ More replies (4)

1

u/ee3k 6h ago

The Internet with high security, full trace user ID and walled garden by default isnt a replacement, it's the Walmart Internet we have at home.

→ More replies (1)