Hey, #noAI #cybersecurity folks, recently, when I've come across devs who are pro-AI, I see them arguing about how hackers and bad actors will inevitably use AI to find critical vulnerabilities in important code, and as such (regardless of the ethics of LLMs), developers have a (moral) responsibility to use AI to check their code, have it ingest it and find vulnerabillities before the bad actors do. Is this true? Would developers really not be able to keep up their security against attacks made with the help of AI discovered vulnerabilities? I feel this is fishy/contentious but I don't have the knowledge to say anything (as I'm not a dev myself).

#AskFedi

@veganicallydoinglife Poorly written code obfuscates dependencies. It can be hard to track down these dependencies, so a machine could probably do it better than a human. However many of the items labeled critical by a machine turn out to be non-critical when evaluated by a human. The unfortunate situation is that the AI agents aren't providing an easy to analyze output. (heresy, because I refuse to use them due to sociatal issues) ...

Follow

@veganicallydoinglife ...Well written code doesn't have the obfuscation, so the agents shouldn't provide much benefit. The agents can't really judge code quality as well as humans. You can often see this dynamic in AI-assisted web services. The agents also can't judge the quality of their own output.
Training is another gotcha. Most of the available code is poorly written, so garbage in, garbage out in terms of AI-generated.
From what I've seen, lint performs just as well as AI.

@lwriemen Today I learnt about the existence of linters!
Thank you for your thoughtful response! ^^
In the end, I suppose that as long as the human still needs to do the "cleaning up" (though that's incredibly minimizing, as reviewing code is a lot more than just cleaning up, it's the entire other half of coding) after an LLM writes bad code, or a human needs to review the AI code review, it is just inefficient (and therefore a waste of resources, and an ethical bankruptcy) when there are just other better or equal options for doing the same thing.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml