logoalt Hacker News

OccamsMirror • today at 3:49 AM • 7 replies • view on HN

How many of the security issues found were created by LLMs in the first place, though?


Replies

vikramkr • today at 6:02 AM

This wave is largely bugs found in pre LLM code. I'm sure there will be a smaller wave of bugs from llm code from the sonnet 3.5 - opus 4.7 era, and peeople will always write sloppy code/use dumber models under time or cost pressure, but since Opus 4.8/GPT-5.5 xhigh LLM code stopped being intrinsically worse than human code. At this point if you're shipping llm code that's lower quality than human code that's either because you don't have the money to spend on frontier models or because you actively choose a lower quality standard because of either various pressures or just not caring. if it's the latter your human code under those same conditions would also be really bad.

➕ show 1 reply
plorkyeran • today at 4:02 AM

My job is seeing a similar deluge of security work and >90% of the bugs have been in pre-2024 code, and zero of them have been bugs introduced after we were first officially allowed to use LLM codegen.

➕ show 1 reply
drfloyd51 • today at 3:57 AM

Considering the software is much older than LLMs. Not many.

Also, in the article they mention a significant number of patches for older versions as well.

vikramkr • today at 6:01 AM

This wave is largely bugs found in pre LLM code. I'm sure there will be a smaller wave of bugs from llm code from the sonnet 3.5 - opus 4.7 era, and peeople will always write sloppy code/use dumber models under time or cost pressure, but since Opus 4.8/GPT-5.5 xhigh LLM code stopped being intrinsically worse than human code. At this point shipping llm code that's lower

ecshafer • today at 4:15 AM

Software is incredibly complicated. When you get into areas like security and networking and the internet its even more complicated. We rely on layers upon layers of software and hoping they are all done perfectly with no issues. The amount of junior devs, or outsourced devs for $10 an hour working on security relevant code is very very high, and always has been. LLMs if used correctly should be raising the floor.

idiotsecant • today at 4:29 AM

An uncomfortable truth about the era of LLM code is that machine produced code is, on average, quite a bit more secure than human code.

➕ show 2 replies
adwn • today at 3:58 AM

Do you mean "created" as in LLMs were used to discover existing vulnerabilities, or as in LLMs wrote unsecure code? If it's the latter, then the answer probably is "very few". Frontier models have been better than the average programmer at writing secure code that follows up-to-date best-practices for some time now.