this post was submitted on 15 Oct 2026
149 points (99.3% liked)

Linux

15260 readers
363 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ICastFist@programming.dev 28 points 5 days ago (1 children)

People using AI push a lot more code in a shorter amount of time. That deluge makes it much more likely for bad code, intentional or not, to slip by.

"Just leave it to a few trusted devs"

Some bad actors can play the long game. The XZ Utils backdoor is a very recent example of a contributor trying to abuse a backdoor he put there himself, after 2 years of posing as a helpful person.

"Let AI review it"

If humans are prone to mistakes, why would anyone leave a probabilistic program that is known to make bad decisions at random and that has, on more than one occasion, "cheated" to pass quality tests, deleted files it shouldn't and is still suceptible to prompt attacks, review it?

I understand the sentiment of "if the AI generated code is good, allow it", but the "productivity" gains in writing code means that, sooner or later, the person using the AI will care less and less about reading and preemptively catching possible errors because there'll be so many alterations that he either has to spend a month reading, or just skim over and accept.

[–] MangoCats@feddit.it -4 points 5 days ago (1 children)

The XZ Utils backdoor is a very recent example of a contributor trying to abuse a backdoor he put there himself, after 2 years of posing as a helpful person.

A game that has been played for decades. A game that LLM review of merge requests should be making very much harder to play in the future.

[–] ICastFist@programming.dev 10 points 5 days ago (1 children)

Harder for the people who don't want backdoors or critical security bugs approved, you mean

[–] MangoCats@feddit.it -1 points 4 days ago (1 children)

Harder for the people who want backdoors or critical security bugs approved, I'd say.

That promise of open source is getting a little boost here: many eyes on the code, insecure patterns revealed for lower effort in less time - able to be caught before wide release because the (robot) reviewers have the capacity to run the code through many more test scenarios before delivering a verdict.

[–] ICastFist@programming.dev 3 points 4 days ago (1 children)

Can you ensure that the llm reviewing the code will not hallucinate and, more importantly, will not fall to some prompt injection that can be within the code?

[–] MangoCats@feddit.it 2 points 4 days ago

There are no guarantees in life, especially when dealing with people you've never met on the other side of the planet through the internet.

However, when an LLM finds a real bug or vulnerability, somewhat akin to an NP-hard problem, you can much more easily verify that the problem is real once it has been identified - you can do the verification with or without LLM assistance.

will not fall to some prompt injection that can be within the code?

that is a concern, one which has been identified and is in a state of continual improvement to make less of a concern in LLM agents / harnesses. It's also not without human based precedent, with misleading comments and even obfuscated code structure leading humans to believe that code does something different than what it looks like to a casual or fast/shallow reader. The ability of LLM agents to more quickly run many actual tests of the code than a human tester is a huge advantage in determining what code actually does, and identifying rarely triggered pathways that may have concerning functionality.