Nato and several European authorities are using AI models from OpenAI to detect and fix security vulnerabilities in software. This is initially a report from the field of defence and public administration. However, it is also interesting for organisations that neither operate intelligence services nor are responsible for critical infrastructure: if institutions with high security requirements incorporate machine code analysis into their defences, this will change the expectations placed on all software projects in the medium term.
Why vulnerability scanning in particular
The search for security vulnerabilities is a task that is comparatively well suited to language models. It involves reading large volumes of source code, recognising patterns and forming hypotheses: where could an input be processed further without being checked, where is an authorisation check missing, where is a library used in a way the manufacturer did not intend.
Classic tools for this have existed for years. SAST (Static Application Security Testing) analyses source code without executing it, DAST (Dynamic Application Security Testing) tests the running application from the outside. Both work on a rule-based basis and therefore deliver reproducible but often very numerous results — including numerous false positives. Models that read code in context can have a complementary effect here: they assess not only the individual pattern but the context in which it appears.
Beyond the basic information, no reliable details are available on the specific design of the Nato deployment. Which models run in which process steps and how the results are verified cannot be assessed from the outside. However, the direction is recognisable: AI is not being used as a replacement for security work but as an accelerator in finding and closing gaps.
What is shifting for web projects
Two developments are running in parallel. First, the effort required to examine third-party code for vulnerabilities is decreasing. This helps defenders — and equally attackers who can use the same tools. Second, this increases the pressure to stop treating security checks as a one-off project at the end of development and instead as an ongoing part of operations.
For typical web projects, this above all means: the time span between a vulnerability becoming known and the first automated attack attempt tends to become shorter. Anyone who schedules updates for CMS, extensions and dependencies in multi-month cycles is working against an accelerating pace.
Integration into the development process
AI-supported analysis unfolds its benefits where it is firmly anchored and not occasionally triggered manually. Sensible starting points are:
- Pull request review: Every change is read automatically before merging, with a focus on input validation, authentication and data access.
- Dependencies: Third-party libraries and extensions are continuously checked against known vulnerabilities, including transitive dependencies.
- Configuration: Not every vulnerability is in the application code. Access rights, server configuration and deployment scripts belong in the same review routine.
- Prioritisation: Findings need a traceable assessment by exploitability and impact, otherwise a list emerges that nobody works through.
Assessing limits realistically
AI models produce plausible-sounding statements — even when they are wrong. In security analysis this has two unpleasant sides: reported vulnerabilities that are not vulnerabilities, and overlooked vulnerabilities that leave a false sense of security. Both can only be mitigated through human review and the combination of several methods.
There is also the data protection aspect. Source code is operational knowledge. Before repositories are handed over to an external service, the contractual basis, the processing location and the question of whether inputs are used for training must be clarified. For many medium-sized companies this is less a technical than an organisational hurdle — but it can be resolved in advance and should not only emerge during a running project.
Finally, the automatically generated fix remains a suggestion. A model that recognises a vulnerability and immediately proposes a patch saves time; responsibility for the change remains with the developers, who assess side effects, test coverage and compatibility.
What clients should address
Anyone commissioning or managing web projects can address this point without deep specialist knowledge. Helpful questions for the service provider: Which automated security checks run with every change? How quickly are critical security updates applied, and who decides? Is there a documented overview of the components used, including version numbers? Are findings logged and tracked, or only fixed on a case-by-case basis?
These questions are not aimed at AI in particular but at a robust process. AI tools make this process faster and more thorough — they do not replace it.
Assessment
The fact that institutions with high security requirements are relying on machine code analysis is an indication that such methods are leaving the trial stage. For web and software projects, this shifts the norm: automated vulnerability scanning in the development pipeline and a regulated update rhythm are becoming standard equipment rather than an additional service.
Anyone negotiating maintenance contracts or relaunches today should explicitly record this point instead of taking it for granted.
Sources
- AI: OpenAI equips NATO cyber defence — Golem.de