Community and resources · Insights
AI lets anyone generate an application that works in a demo. That does not mean anyone is able to put it into production with customers' personal data, confidential information or business-critical processes, or to take charge of its life cycle: permissions, security updates, backup and restore, incidents, breaches and service continuity.
Legal obligations still apply. In Spain and the EU, saying "the AI did it" or "I am not an engineer" does not, by itself, remove the liability of whoever commissions, develops or puts the software into use.
It is not just us saying it: the European Data Protection Supervisor (EDPS) warns about it in its TechSonar 2025-2026 analysis of coding assistants, and research on the security and maintainability of AI-generated code confirms it.
Common mistakes
A user reaches other customers' data just by changing a URL or a request.
Excessive data collection, contrary to the data minimisation required by the GDPR.
Personal or confidential documents exposed to anyone who has, guesses or finds the link.
Anyone can read them and use your services, your database or your AI account at your expense.
Processing by an external provider that must be assessed and covered by an appropriate contract.
Inability to honour data subject rights, recover from an incident or keep the system secure over time.
Data ends up spread across processors nobody has identified: users cannot be informed and their rights cannot be honoured.
SQL injection, improper input validation, insecure authentication or dependencies with unpatched vulnerabilities.
An application working in a demo does not prove it is secure.
Evidence
~50%
Across 392 backend generation tasks, the best model tested got the functionality right in only 62% of cases. And, on average, real exploits succeeded against around half of the programs that did work.
56%
More than 100 models tested: the volume of generated code has exploded, but the failure rate has not dropped. The best 2026 model still fails nearly 1 in 3 tasks, and code-specialised models are no more secure than general-purpose ones.
+81%
Refactoring has fallen from 21% of changed lines in 2022 to 3.8% in 2026, and maintenance of code older than a year by 74%. Code ships sooner; the bill arrives when it has to be maintained.
European Data Protection Supervisor
The EDPS points out that democratising software development has unexpected consequences for data protection: non-experts may disperse the processing of personal data across third-party platforms and services without knowing it, and may not even realise they are processing personal data. It also warns of a proliferation of digital services lacking adequate controls or compliance measures, multiplying the risk of data breaches.
Its practical conclusion: human oversight remains essential, particularly with sensitive data or critical infrastructure, and organisations should review and validate code, train the people using these tools and allow time to debug the generated output before deployment.
"While coding assistants may reduce the effort required to develop applications, they do not replace the need for accountability, which remains the provider's responsibility."
Legal framework
Article 25 requires data protection by design and by default; Article 32, security appropriate to the risk. It affects which data is collected, who can access it, how long it is kept and how the system is protected and recovered.
Absolute security is not required, but justified and verifiable measures are. And when a breach happens, you must be able to detect it and notify it on time.
It depends on the actual roles, not on the labels used in the contract:
A program can delete information, miscalculate amounts or bring a business to a halt without leaking a single piece of personal data. The Spanish Civil Code provides for compensation for breach of contract, including negligence (art. 1101), and for damage caused to third parties (art. 1902).
Holding a degree is not the criterion for assigning liability. But taking on a project without the ability to assess its risks and releasing it without review may weigh in a finding of negligence.
In practice
AI reduces the effort of writing code; it does not replace the ability to verify it, nor does it shift the responsibility for putting it into use.
If you have already generated an application and want to put it into production with guarantees, our artificial intelligence applied to software page explains how we review it and what you can ask us for.
ContactInformational content, not legal advice. Each case requires analysing the contract and the actual role of each party.