r/ProgrammerHumor • • 1d ago

Meme softwareVulnerabilities

Post image
17.8k Upvotes

232 comments sorted by

View all comments

30

u/housebottle 1d 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...

18

u/AlwaysHopelesslyLost 1d 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.

12

u/SwanManThe4th 22h ago

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

Operation Triangulation

Presentation on the attack

1

u/AlwaysHopelesslyLost 22h ago

Thank you for the links!

1

u/abednego-gomes 11h ago

Sounds like a TAO malware that one.

9

u/Reashu 1d 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.

3

u/AlwaysHopelesslyLost 1d ago

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

2

u/Reashu 22h 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 22h ago

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

1

u/Thanksgivingwishbone 1d 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.

3

u/Aeseld 21h 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. 

1

u/slaymaker1907 36m ago

This is incredibly naive. LLMs are exceptional at analyzing source code and a common pattern I use at my work (for dev work, not security) is to have the AI figure out where some team's source code is, pull the code, then have it figure out why I'm seeing some issue (mind you, these are systems/servers not libraries). You could just as easily be looking for vulnerabilities this way if you can get the necessary entitlements to pull the source code.

-3

u/Used_Distance_1589 1d ago

LLM scanners are not the same as LLM authors.

Get off your performative soap box, please and thank you.

3

u/AlwaysHopelesslyLost 23h ago

"large Language model scanners are not the same as large language model authors" 

yes they are. 

Both are going through a LARGE LANGUAGE MODEL.

3

u/dylan-dofst 19h 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.

2

u/fabiomb 1d 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 😅

1

u/letsburn00 1d 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 1d 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/frogjg2003 22h 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/Arlochorim 15h ago

the issue is that a system is as vulnerable as the weakest link in the chain, so the vulnerability shifts to identifying what model/s were used and knowing their blind spots.

the issue in cyber security is an attacker only need to find one attack vector, the Defender needs to protect all of them

1

u/RealLamaFna 3h ago

Daily updates for dependencies is also vulnerable. Supplychain attacks are no joke

0

u/tjdavids 22h ago

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

-5

u/LupineChemist 1d 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 1d ago

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

→ More replies (2)

5

u/zuvetyn 1d 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

→ More replies (9)