Automated code analysis with AI support has gained a clear real-world example: during the investigation of the firmware of Fritzbox routers – i.e. the control software permanently installed in the device – around 5,000 potential security vulnerabilities were identified. Some of these are said to have already been closed with the latest firmware update. For the remaining findings, a period of months is expected.

The sober reading of this number is more important than the headline. 5,000 findings are not 5,000 confirmed attack paths. They are candidates: places in the code that an automated check has classified as conspicuous and that must subsequently be assessed by humans. This is precisely where the work in software projects is currently shifting.

What changes through AI-supported review

Static code analysis, i.e. the review of source code without executing it, has existed for decades. What is new is the reach. Language models and tools built on them can scan large, grown codebases in a short time, recognise patterns and also suggest connections across multiple files. This considerably lowers the barrier to entry for a review.

The effect: the bottleneck in the process moves. In the past, the question was whether anyone was looking at the code in depth at all. Today the question is who works through the list of results, prioritises it and decides what actually represents a risk.

This step is called triage – the sifting and classification of findings by urgency. In such scenarios, it is the actual cost driver. A tool that produces thousands of hints in a few hours creates weeks of work if there is no procedure behind it.

Why remediation takes time

The fact that closing the remaining findings can take a longer period is not surprising for firmware. Device software is closely interlocked with hardware, must work on many model variants and is distributed via update mechanisms that cannot be triggered arbitrarily often. Every change requires tests, otherwise one risks new errors instead of fewer.

Added to this is the assessment itself. A finding may be theoretically critical but unreachable in the concrete configuration. Another appears inconspicuous but becomes relevant in combination with a second weakness. This assessment cannot yet be fully automated – it requires knowledge of the architecture and of realistic attack paths.

Transfer to web projects

In web applications the starting situation is similar, even if the update paths are simpler. Typical projects consist to a large extent of third-party code: content management system, extensions, packages from package managers, JavaScript libraries. Anyone who runs an AI-supported analysis over such a codebase will, by experience, get a long list – and faces the same questions as in the firmware example.

It therefore makes sense to think of the analysis as a process from the outset, not as a one-off scan:

  • Define the scope: Own application code, own extensions and third-party code are considered separately. Otherwise findings from dependencies dominate, which one can only influence via version updates anyway.
  • Define prioritisation: Which findings concern input processing, authentication, file uploads or database access? These areas first.
  • Document false positives: Findings assessed as non-critical are recorded with a justification so that the next run does not trigger the same discussion.
  • Clarify responsibility: Who decides on classifications, who implements, who verifies? Without named roles, the list remains untouched.
  • Ensure repeatability: A scan that runs automatically on every change delivers small, manageable volumes instead of a one-off mountain.

AI does not replace the review

The benefit of automated review lies in coverage: tools do not tire and do not overlook a file because the sprint is running short. Their weakness lies in assessing context and intent. A review by experienced developers therefore remains necessary – only what it focuses on shifts: less on mechanical scanning, more on architecture questions, permission logic and the assessment of findings.

Also important is the expectation set in communication. A high number of candidates found is not evidence of poor software, but of a more thorough review. Conversely, a short list is not proof of security if the scan only worked at the surface.

For operators: updates remain the most effective measure

As multi-layered as the technical side is – for users the consequence remains simple. Available firmware and software updates should be installed promptly, because otherwise already fixed vulnerabilities remain open unnecessarily long. In corporate environments this includes an overview of which devices and systems are in use at all and who is responsible for updating them.

For web and software projects this means: AI-supported code analysis is mature enough to be included in quality assurance, but it delivers hints, not judgements. Anyone introducing it should invest the same effort in triage and in clear responsibilities as in the tool itself. Then a long list of findings becomes a robust improvement plan instead of a document that nobody works through.

Sources