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

Commentary: BERLIN – Known risks, familiar words, familiar failures

The power outage in Berlin since 3 January 2026 is extraordinary in its scale, but remarkably familiar in its causes and political consequences. Five damaged high-voltage cables, tens of thousands of households without electricity and heating, restrictions on mobile...

Commentary: Hesse’s clear stance against left-wing extremism

In his statement, Hesse's Interior Minister Roman Poseck paints a deliberately clear picture of left-wing extremism as a threat to security. The core of his position is clear: left-wing extremism is not understood as a marginal phenomenon or merely a side issue of...

Positive safety record at Bavaria’s Christmas markets

Successful protection concepts combining presence, prevention and cooperation At the end of the 2025 Christmas market season, the Bavarian State Ministry of the Interior reports a thoroughly positive safety record. Home Secretary Joachim Herrmann spoke of...

Share This