When AI writes code – and security falls by the wayside

November 3, 2025

By Jochen Koehler, Vice President Sales EMEA at Cycode

Large language models write code in seconds. What initially sounds like a new level of efficiency also has a downside, however: security is not yet an integral part of AI-based software development.

Thanks to GenAI, programming is now easier than ever before. Almost anyone can use it to generate more or less functional code in no time at all. But studies are sounding the alarm: around 62 per cent of all AI-generated code contains errors or security vulnerabilities. The situation becomes even more critical when AI-assisted improvements are used multiple times in succession – after just five iterations, the number of serious vulnerabilities increases by almost 38 per cent.

This raises a key question: does code become less secure the more frequently AI is used in the development process? The answer undoubtedly depends on the model, training data and human supervision. However, one thing is certain: without awareness and targeted countermeasures, the promise of efficiency can quickly become a risk. GenAI optimises for functionality – not for security or resilience. This increasingly shifts the balance between innovation and stability at the expense of secure software.

“Artificial intelligence can be a powerful tool in software development – but only if security is considered from the outset. This includes structured code reviews, automated vulnerability analyses and the consistent application of security-by-design principles. Those who retain the final say despite automated code generation can reap the benefits of AI without creating new risks. The future of software development therefore depends not only on how fast machines write code, but also on how responsibly we test it.” (Jochen Koehler, Vice President Sales EMEA at Cycode)

Related Articles

Germany’s first AI factory for industry goes into operation in Munich

Industrial AI infrastructure as a building block of digital sovereignty With the official launch of the Industrial AI Cloud in Munich, Deutsche Telekom is setting an important milestone in industrial policy. In cooperation with NVIDIA and data centre partner Polarise,...

Comforting words from AI are often better received

Desired partners in crises perform worse in extensive scientific test series Although people prefer compassion that comes from other humans, they find the empathy communicated by artificial intelligence (AI) to be more effective. This was discovered by researchers at...

Share This