Hacker News new | ask | show | jobs
by NewLogic 21 days ago
It is the fault of vibe coding, the sell has consistently been AI solves all of this. Clearly someone somewhere has to know what the system should or shouldn't do.
1 comments

No? I have heard literally nobody say that AI guarantees insecure code will never be written again.
Erm.

I've seen a number of companies (and HN contributors) explain that AI produces code that is better than coders. Which, of course, if you actually think about it carefully, doesn't guarantee anything about security, but that's not how executives understand the sentence.

> I've seen a number of companies (and HN contributors) explain that AI produces code that is better than coders

Feels like a straw man argument.

When I've seen comments like this it's always been related to giving them narrowly focused work.

E.g.

- fix specific security issue in existing auth system.

- find cause of and fix a specific bug

Etc.

If anyone is claiming they get better results from less specific prompts like "build me a login system" I haven't seen it. I'm sure there are people making those claims - it's the internet, you can find a thousand people backing any dumb viewpoint on Twitter - but it's definitely not a widely accepted viewpoint amongst professionals.

> When I've seen comments like this it's always been related to giving them narrowly focused work.

FWIW, I don't think that I've ever seen this claim being scoped in any manner.

They do it by implication:

AI Companies: "AI is now amazing at spotting insecure code"

Implication: If it can spot it, all the code it writes must therefore be secure

> Implication: If it can spot it, all the code it writes must therefore be secure

Which is funny to anyone that's prompted one to review some code for security problems where that code is something it generated previously.

I've had a co-worker "review" my change using an LLM, and the comment concerned a pre-existing behavior... Which was introduced by the same person.