Tech »  Topic »  Nearly half of all code generated by AI found to contain security flaws - even big LLMs affected

Nearly half of all code generated by AI found to contain security flaws - even big LLMs affected


(Image credit: Shutterstock)
  • Report finds 45% of AI-generated code had security flaws
  • Java is the worst offender, Python, C# and JavaScript also affected
  • Rise in vibe coding could make these threats even worse

Nearly half (45%) of AI-generated code contains security flaws despite appearing production-ready, new research from Veracode has found.

Its study of more than 100 large language models across 80 different coding tasks revealed no improvement in security across newer or larger models – an alarming reality for companies that rely on AI tools to back up, or even replace, human productivity.

Java was found to be the worst affected, with 70%+ failure rate, but Python, C# and JavaScript also had failure rates of 38-45%.

Google issues official internal guidance on using AI for coding - and its devs might not be best pleasedBusinesses are overwhelmingly concerned about the security threats of AIAI coding assistants are getting ever ...
Copyright of this story solely belongs to techradar.com . To see the full text click HERE