At Google, around three quarters of new code is now created with AI, CEO Sundar Pichai said in April 2026, according to media reports. At Stripe, more than a thousand changes ship every week in which not a single line was written by a human. And from 9 December 2026, a new product liability law applies in Germany that explicitly treats software as a product.
That turns a question that used to sound academic into a practical one: if an AI writes 50,000 lines of code overnight – who reads them, who approves them, and who answers for them?
The real problem: humans read more slowly than AI writes
AI agents produce code faster than a team can review it. The numbers show it: in an analysis of more than 10,000 developers (Faros AI, 2025), teams with heavy AI use submitted almost twice as many changes – but each change was more than twice as large, and review time rose by 91 percent. At company level, no gain could be measured.
And the code is not as good as it looks. Security vendor Veracode regularly tests whether AI models write secure code. Result for October 2026: almost all solutions run without errors, but only 62 percent pass the security test. Only 18 percent were protected against cross-site scripting, one of the most common web vulnerabilities. The code looks right – and that is exactly what makes it dangerous.
Developers know this. In the 2025 Stack Overflow survey, two thirds named solutions that are “almost right, but not quite” as their biggest frustration.
Read every line? Nobody does that any more
Large companies do not solve this by having a human check every line. They rebuild the approval process. The principle:
Not every line of code needs human review. But every change that goes into production needs a traceable approval that a human stands behind.
In practice, it usually looks like this:
- The AI develops – code, tests, documentation.
- Automated checks run: tests, code analysis, security scans, checks of the libraries used.
- A second AI reviews independently – ideally a different model, because models tend to miss the same mistakes.
- A human reviews selectively – where the risk is high.
- The approval is documented: who, when, which version, which test results.
- Operations are monitored, with the option to roll back a change quickly.
The lever: not everything needs the same scrutiny
What matters is directing scarce human review time to where mistakes get expensive.
| Type of change | Review |
|---|---|
| Text, documentation | automated tests, spot checks |
| New simple feature | tests, AI review, developer approval |
| Business logic | thorough tests, human review |
| Authentication, permissions | explicit approval by a specialist |
| Payments, security-critical parts | independent review, documented sign-off |
Anthropic, the maker of Claude, shows this is not just theory. The team whose tool Claude Code is about 90 percent written by Claude itself published its rules in October 2026: low-risk changes need no human approval if all automated checks pass. Medium risk needs one person, high risk two. The tier is set by the change, not by the author. And one sentence worth remembering: “An agent’s approval never counts as a person’s.”
The major platforms enforce this technically. On GitLab, an approval by the AI does not count toward required approvals. On GitHub, the approval of the person who assigned the AI agent does not count – another person is needed. After several outages, Amazon has required since March 2026 that AI-assisted changes by less experienced engineers be approved by a senior.
What the authorities say
Germany’s Federal Office for Information Security (BSI), together with France’s ANSSI, made it clear back in 2024: AI coding assistants do not replace experienced developers. Anyone who develops faster with AI must scale quality assurance accordingly. The EU cybersecurity agency ENISA goes further in a draft from September 2026: AI code must undergo the same checks as human code – and it must be possible to show what was changed, which checks ran and who approved it. ENISA explicitly names “unclear accountability” as a risk.
What is mandatory? Less than many think – and more than many hope
There is no general obligation in Germany to have AI code reviewed by a human. The EU AI Act does not require it either: it regulates AI systems, not the code they produce. Coding assistants are not high-risk AI (more on the AI Act).
Responsibility does not disappear, though. It stays with the company – and it is getting stricter:
- Product liability from 9 Dec 2026: Germany’s new Product Liability Act, implementing EU Directive 2024/2853, explicitly names software as a product, whether installed, as an app or in the cloud. The manufacturer is liable for defects regardless of fault, including missing security updates. Whether a human or an AI wrote the code makes no difference.
- Financial sector: Since January 2025, the EU regulation DORA has required banks and insurers to review source code, test it before production and have changes approved independently. That applies to all code – including AI code.
- NIS2: Since December 2025, management in many German companies must itself approve and oversee IT security risk management.
- Cyber Resilience Act: Since September 2026, reporting obligations apply to vulnerabilities in products with digital elements; from December 2027, secure development obligations apply too.
- Copyright: Under prevailing opinion in Germany, code generated purely by AI is not protected by copyright. Anyone who sees their software as a company asset should know that.
So the laws do not prescribe a review procedure – but they do prescribe a result: secure software and a company that stands behind it. To prove that, you need exactly the approval process described above.
The underestimated danger: too many permissions
The most spectacular failures of recent months had little to do with bad code. In July 2025, an AI agent at Replit deleted a production database despite an explicit code freeze. In April 2026, an agent at a start-up deleted the database including its backups, using an access token it had found in an unrelated file. The common denominator: the agent was allowed to do more than it needed.
Approval rules only help if the agent cannot bypass them. That means AI agents get only the permissions they need for their task – and never get near production systems in the first place.
How the developer’s role changes
In the past, a developer wrote 500 lines, a colleague reviewed them, and a manager approved them. Today, an AI writes 50,000 lines, automated systems and further AI agents check them, and a human evaluates the test results, the risks and the exceptions.
Humans increasingly review the review process – not every line. But that only works if the checks themselves are reliable. Software developer Simon Willison summed it up in one sentence: “A computer can never be held accountable.”
Conclusion: five questions for your team
- Do we know which code in our software comes from an AI?
- Do we review risky changes more strictly than harmless ones – and who decides?
- Can an AI approve its own work in our setup?
- Can we show for every deployed version who approved it?
- What permissions do our AI agents have – and do they really need them?
Teams that can answer these questions are well prepared for the new product liability rules. Teams that cannot should start before 9 December.
This article is not legal advice. Which obligations apply depends on industry, product and contracts.
Sources
- German Act modernising product liability law, BGBl. 2026 I No. 321 (Art. 17: in force 9 Dec 2026; § 2 No. 3: software as a product)
- ANSSI/BSI: AI Coding Assistants (2024)
- ENISA: Technical Advisory on AI-assisted software development, draft (September 2026)
- Commission Delegated Regulation (EU) 2024/1774 (DORA), Art. 16–17
- Anthropic: How the Claude Code team does code review (15 Oct 2026)
- GitHub docs: reviewing Copilot pull requests · GitLab docs: Duo Code Review
- Veracode press release, 29 Oct 2026 · Faros AI: AI Productivity Paradox (2025) · Stack Overflow Developer Survey 2025
- Semafor, 24 Apr 2026 (Google) · TechRadar, 11 Mar 2026 (Amazon) · Stripe, 9 Feb 2026
- Simon Willison: Your job is to deliver code you have proven to work (18 Dec 2025)