The National Court has opened a new judicial front against José Luis Huertas, known as Alcasec, one of Spain’s best-known hackers. The National Police have detained the young man in the Estremera prison (Madrid), where he was already being held, as part of an investigation related to drug trafficking in prison and document falsification.
The police operation has also reached Anas Andaloussi, an entrepreneur specialized in artificial intelligence and a collaborator of 'El Hormiguero', the program presented by Pablo Motos on Antena 3. The young man has been released without being taken into judicial custody. The inquiries affecting him are related to alleged document forgery and not directly to the trafficking of controlled substances, according to sources from the investigation consulted by EFE.
The judge María Tardón, head of Central Court of Instruction number 3 of the National Court, directs the inquiries, which remain under secrecy and constitute a separate piece of the case regarding the theft and commercialization of data that has affected Alcasec since 2025.
What the National Court is investigating
Investigators are trying to clarify the existence of a presumed drug distribution network within the Estremera prison facility. Suspicions about this activity have led to a police operation that has also affected people from Huertas’ family and personal circle.
The National Police have detained, among others, the hacker’s mother and partner. The magistrate plans to question several of the people arrested this Friday, while Alcasec’s statement will take place later.
The secrecy of the proceedings prevents knowing, for now, the scope of the alleged plot and defining the individual responsibilities of each of the detainees.
Who Alcasec is and why he is in prison
José Luis Huertas, 22 years old, has built up an extensive judicial record related to computer crime despite his youth. The hacker began to feature in police investigations when he was still a minor, due to his illegal access to databases of public agencies.
His name gained national notoriety as a result of the cyberattack on the Judicial Neutral Point of the General Council of the Judiciary (CGPJ), carried out in October 2022. This platform allows judicial bodies to consult information from different public administrations for the exercise of their functions.
The attack made it possible to steal banking information from more than half a million Spanish taxpayers. Huertas accepted in May 2026 a sentence of two years and seven months in prison for these events after reaching an agreement with the Prosecutor’s Office.
The hacker’s activity has focused attention on the security of the databases of public administrations and on the risks involved in the marketing of personal information obtained illegally.
Alcasec’s connection to the former Interior number two
The political dimension of Alcasec’s judicial record took on special relevance in May 2025. The National Police arrested the hacker and Francisco Martínez, Secretary of State for Security during the Government of Mariano Rajoy as part of the so-called Borraska operation.
In this case, the National Court is investigating a suspected organization devoted to obtaining and marketing information stolen from computer systems of public and private entities.
Martínez had acted as Huertas’s lawyer when he was a minor and later provided professional services to set up commercial companies. The former senior Interior official denies having taken part in the theft or sale of information and argues that his relationship with the hacker was limited to legal advice.
The new investigation into the activities allegedly carried out in prison is independent of the responsibilities that may be determined in the Borraska operation.
Who is Anas Andaloussi, the collaborator of 'El Hormiguero'
Anas Andaloussi is a 21-year-old Canary Islands businessman who has developed his professional career in the artificial intelligence sector. The young man has combined his business projects with technological outreach and the creation of content on social media.
Pablo Motos incorporated Andaloussi into the team of collaborators for 'El Hormiguero' at the beginning of the current season. The businessman has a section dedicated to explaining the applications of artificial intelligence, its potential to transform society, and the risks associated with its use.
On November 24 of last year, the young man took part in the Antena 3 program to warn precisely about the use of artificial intelligence in cyberattacks and to offer cybersecurity safety advice to viewers.
What relationship do Alcasec and Anas Andaloussi have?
Investigators suspect that Andaloussi would have been involved in the creation of false documentation using artificial intelligence tools in order to facilitate a personal visit to Huertas in the prison center.
The sources for the investigation consulted by EFE distance the television contributor from the alleged drug trafficking network and limit the suspicions weighing on him to possible crimes of document falsification.
On his own, Andaloussi has shared this Friday a video on social media in which he rejects the information linking him to a criminal organization dedicated to drug trafficking and money laundering.
National Police have released the businessman without taking him before the magistrate of the Audiencia Nacional. This decision does not necessarily imply the closing of the investigations affecting him, nor does it constitute a judicial ruling on his responsibility in the events under investigation.