
Spain has reportedly recorded an incident involving an artificial intelligence (AI) agent being used to carry out a cyber attack, highlighting growing concerns about the potential misuse of autonomous AI systems in cybersecurity.
The incident was made public by Spain’s which stated that an organization operating in the country had been targeted by a cyber attack involving a Large Language Model (LLM). According to the agency, the AI system was not simply being used as a conventional tool by a human attacker; rather, it was capable of autonomously carrying out activities aimed at identifying vulnerabilities within the targeted systems.
The AEPD explained that the AI agent attempted to search for weaknesses and gain access to systems as part of its investigation into potential security flaws. Such behavior is particularly significant because it demonstrates how AI systems can potentially be used to automate parts of the reconnaissance and intrusion process that traditionally require considerable human involvement.
More concerningly, the investigation indicates that the AI agent also attempted to access personal information belonging to customers associated with the organization. It reportedly sought access to financial information as well, raising questions about the potential consequences of AI-driven attacks when sensitive customer data is involved.
The Spanish Data Protection Authority has not yet released all the details surrounding the incident, as its investigation remains ongoing. Several important questions, including the exact nature of the attack, the extent of the access obtained by the AI system, and whether any sensitive information was successfully extracted, still need to be established.
The incident comes amid increasing attention surrounding the use of AI agents in cyber operations. Unlike traditional software, AI agents can potentially interpret information, make decisions, adapt their actions and perform multiple tasks with limited human intervention. This capability can be useful for legitimate cybersecurity purposes, but the same characteristics could also be exploited by malicious actors.
The development follows reports of another AI-related cybersecurity incident involving OpenAI, in which an AI agent was reportedly used in an attack against the AI startup Hugging Face. Together, such incidents are contributing to concerns within the cybersecurity community about the possibility of increasingly automated cyber attacks.
However, it is important to distinguish between an AI system being involved in an attack and an AI independently deciding to launch one. The exact level of autonomy involved in the Spanish incident has not yet been fully established, and the ongoing investigation by the AEPD is expected to provide greater clarity.
The potential scale of damage is also still unknown. Since an automated system can potentially conduct numerous actions at a much faster pace than a human attacker, determining the full extent of any attempted or successful access may take time.
The Spanish case therefore represents an important development in the evolving relationship between artificial intelligence and cybersecurity. As AI agents become more capable and autonomous, organizations may need to strengthen both their traditional security defenses and their ability to detect unusual activity generated by AI-powered systems.
Join our LinkedIn group Information Security Community!










