AI Can Write Code Like Humans—Bugs and All
Some software developers are now letting artificial intelligence help write their code. “And it can be really hard to track this down, perhaps because it seems like it makes errors that have a different flavor than the kind I would make.” The risks of AI generating faulty code may be surprisingly high. Researchers at NYU recently analyzed code generated by Copilot and found that, for certain tasks where security is crucial, the code contains security flaws around 40 percent of the time. “But the way Copilot was trained wasn’t actually to write good code—it was just to produce the kind of text that would follow a given prompt.” Despite such flaws, Copilot and similar AI-powered tools may herald a sea change in the way software developers write code. “It seems like it makes errors that have a different flavor than the kind I would make.” Alex Naka, data scientist While analyzing the code made available for a Copilot plugin, Dolan-Gavitt found that it included a list of restricted phrases.



Discover Related

Google says AI could cause ‘substantial harm’ to humans: Here’s how it plans to stop it

Risk rumble: The software industry must act before it’s swept by a tsunami

Microsoft To Soon Let Users Tailor Copilot to Their Needs

Two AI models pass benchmark Turing Test, blurring line between human, machine

Mint Primer | Resistance is futile: AI is now writing code

AI To Take Over Most Coding Jobs? Zoho's Sridhar Vembu Weighs In

The great AI reboot: Educators, techies and leaders all need to adapt fast

Researchers Propose a Better Way to Report Dangerous AI Flaws

Students using AI to cheat up 700%, and it's 'just the tip of the iceberg'

The good news is that AI is hiring: The bad news is that it’s not us

Google launches AI coding assistant, Gemini Code Assist, free for individual users

AI models try to hack opponents when they realise they're losing: Study

Hang on… Did Microsoft just admit that AI could dumb us down?

Director of the Game Avowed Says AI Can’t Replace Human Creativity

Thomson Reuters scores early win in AI copyright battles in the US

AI agents are everywhere…and nowhere

Need to skill, re-skill people for AI-driven future: PM Modi's top quotes

Gen. AI Speeds Up Coding but Lacks Accuracy: Experts
