Blog IAExpertos

Descubre las últimas tendencias, guías y casos de estudio sobre cómo la Inteligencia Artificial está transformando los negocios.

Hugging Face: The platform enabling non-consensual deepfakes of women and children

7/29/2026 Artificial Intelligence
Hugging Face: The platform enabling non-consensual deepfakes of women and children

1. Executive Summary

On July 29, 2026, the non-profit organization AI Forensics published a report that has shaken the foundations of the artificial intelligence community. The investigation concludes that Hugging Face, the world's largest open-source model repository, is being systematically used to generate non-consensual sexual deepfakes, with a disproportionate impact on women and minors. Seven of the nine most popular image editing models hosted on the platform unrestrictedly accepted instructions to "undress" people in photographs, according to tests conducted by the researchers.

This finding is not an isolated incident, but the tip of the iceberg of a structural problem. Hugging Face, which hosts over 800,000 models and is used by 95% of Fortune 500 companies working with AI, operates under a limited liability model that, according to critics, prioritizes ecosystem growth over people's safety. The report comes at a time when European regulators, under the umbrella of the EU AI Act, are beginning to demand accountability from foundational model intermediaries. The question that arises is clear: can a platform that calls itself "the GitHub of AI" continue to evade its duty of care? For security professionals, CTOs of companies integrating Hugging Face models, and compliance officers, this report is an unavoidable wake-up call. It is not just a reputational problem; it is a legal, ethical, and operational risk that threatens to trigger multimillion-dollar penalties and a loss of public trust in the entire open AI ecosystem.

2. Deep Technical Analysis

The AI Forensics report focused on the nine most downloaded image editing models from Hugging Face, a category that includes tools like Stable Diffusion XL, FLUX.1-pro, and various fine-tunings specialized in photo manipulation. The methodology was straightforward: researchers entered prompts in English and Spanish explicitly requesting the generation of images of undressed people from fully clothed photographs. The result was that seven of those nine models complied without objection, generating non-consensual sexualized representations.

The underlying technical problem is the very architecture of diffusion models. These systems, trained with billions of image-text pairs, have learned statistical correlations between concepts such as "person," "clothing," and "body." When a user enters a prompt like "undressed version of this photo," the model does not "understand" the concept of consent; it simply executes a statistical transformation. The ability to "undress" is not an added feature, but an inevitable byproduct of training with massive datasets like LAION-5B, which contains countless images of people in various states of dress.

Hugging Face, as a platform, implements basic content filters in its inference API (for example, Stability AI's safety filter), but these are easily circumvented. Researchers demonstrated that merely slightly rephrasing the prompt or using a fine-tuned model hosted by a third party is enough to bypass any restriction. The platform does not proactively scan uploaded models to detect dangerous capabilities, nor does it require developers to document the intended uses or known biases of their models.

From a technical perspective, the solution is not trivial. Prompt filters based on word blacklists are ineffective against creative natural language. Output image classifiers (such as those used by OpenAI in GPT-Image-2) can detect nudity, but they are costly to run at scale and can be fooled with adversarial noise techniques. Furthermore, the decentralized nature of Hugging Face, where anyone can upload a model, makes centralized moderation extremely complex. However, the industry already has tools like Llama Guard (Meta) safety classifiers or Google DeepMind's watermarking systems that could be adapted, but Hugging Face has not implemented them mandatorily. The report also highlights a worrying legal loophole. While the EU AI Act classifies deepfake systems as "limited risk" and demands transparency (synthetic content labeling), it does not explicitly address the responsibility of the intermediary hosting the model. Hugging Face invokes the "mere conduit" (safe harbor) exemption, similar to that of social media platforms, arguing that it does not control user-generated content. But critics point out that, unlike an ISP, Hugging Face actively promotes models, offers inference services, and earns revenue from platform usage, which makes it an "active player" and, therefore, responsible. The comparison with other repositories is revealing. GitHub, owned by Microsoft, implements acceptable use policies that explicitly prohibit non-consensual sexual content and uses automated scanning tools. Civitai, a repository specializing in image models, has introduced age verification systems and manual model review. Hugging Face, in contrast, has relied on a "community trust" system that, according to the report, has failed miserably.

3. Industry Impact and Market Consequences

The repercussions of the AI Forensics report extend far beyond Hugging Face. The company, valued at over $4.5 billion after its Series D round in 2025, is a central node in the AI supply chain. Large corporations like Google, Meta, Microsoft, and Amazon use Hugging Face to distribute their open-weight models (Gemma 4, Llama 4, etc.). Any regulation affecting Hugging Face will have a domino effect throughout the entire ecosystem.

For companies integrating Hugging Face models into their products, the risk is twofold. First, reputational risk: if a model hosted on Hugging Face is used to generate child sexual abuse material (CSAM) or revenge deepfakes, the integrating company could be considered complicit. Second, regulatory risk: the EU AI Act, which comes into full effect in August 2026, imposes fines of up to 7% of global revenue for non-compliance with transparency and risk assessment obligations. Companies that cannot demonstrate they have performed due diligence on the models they use face devastating penalties. The open-source model market, which has been a driver of innovation and democratization, could suffer a significant slowdown. If Hugging Face is forced to implement draconian filters or require identity verification to upload models, the entry cost for small developers and researchers will increase. This could consolidate power in the hands of a few large players (OpenAI, Google, Anthropic) who already have their own security systems and can afford not to rely on Hugging Face. On the other hand, the report creates a market opportunity for AI security solutions. Companies like Protect AI, HiddenLayer, and Cranium, which offer model scanning and vulnerability detection tools, will see an increase in demand. New "model certification" services are also likely to emerge, auditing biases and dangerous capabilities before a model is published. Investors are already scrutinizing startups offering "responsible AI as a service." Hugging Face's reaction so far has been lukewarm. In an official statement, the company affirmed that it "takes security very seriously" and is "reviewing the report," but has not announced concrete measures beyond promising an update to its terms of service. This lack of immediate action is eroding the trust of more conscientious developers, who are already migrating to alternatives like Replicate or Stability AI's own inference platform.

4. Expert Perspectives and Strategic Analysis

The consensus among industry analysts is that Hugging Face is at an existential crossroads. On one hand, its business model is based on openness and minimal friction. On the other, regulatory and social pressure demands much stricter oversight. The question is not whether Hugging Face will change, but how and at what cost.

From a technical standpoint, security experts recommend a layered approach. The first layer would be the mandatory implementation of prompt classifiers at the time of model upload, similar to what GitHub does with secret scanning. The second layer would be the execution of automated stress tests (red teaming) for each model before it is listed as "popular" or "recommended." The third layer would be the introduction of a reputation system for developers, where those with a history of uploading unsafe models are restricted. However, these measures come with costs. A full red teaming of a diffusion model can cost tens of thousands of dollars in compute. Hugging Face, which is not yet profitable, would have to absorb these costs or pass them on to developers, which could alienate the community that made it great. An alternative would be to create a "premium tier" of verified models, leaving the rest in a high-risk zone with explicit warnings. Legal strategists point out that the EU AI Act is just the beginning. The United Kingdom is developing its own legislation, and in the United States, the Preventing Deepfakes of Intimate Images Act (which has been stalled in Congress for years) could be revived following this report. Hugging Face needs to anticipate these regulations, not just react to them. Creating an independent security advisory board with veto power over dangerous models would be a step in the right direction. A lesson Hugging Face should learn is that of GitHub regarding malware repositories. GitHub took years to implement effective malicious code scanning, and when it did, it was because Microsoft invested millions in acquiring Semmle. Hugging Face does not have the luxury of a corporate owner with deep pockets. It needs to find a sustainable model that balances openness with security, and time is running out.

5. Future Roadmap and Predictions

Based on the current pace of events and regulatory trends, we can outline a likely roadmap for the next 18 months:

August 2026 - October 2026: The European Commission opens a formal investigation against Hugging Face for possible non-compliance with the AI Act. The company announces a "security action plan" that includes hiring an internal red teaming team and implementing prompt filters on its inference API. However, these filters are initially opt-in for developers. November 2026 - February 2027: A coalition of NGOs, including AI Forensics and the Electronic Frontier Foundation, files a class-action lawsuit against Hugging Face on behalf of deepfake victims. The case becomes a legal benchmark. Hugging Face responds by tightening its policies: all new models must pass an automated security review before being published. Existing models have a 90-day deadline to comply or be removed. March 2027 - July 2027: Competing platforms specializing in "safe open-source AI" emerge. A startup, likely based in the EU, launches a repository that only accepts models that have been audited by third parties and include mandatory bias documentation. Hugging Face loses market share among developers most concerned with ethics, but retains the majority of users thanks to its network effects and inertia. August 2027: The EU AI Act is updated to explicitly include model repositories as "high-risk platforms," subject to impact assessment and transparency obligations. Hugging Face, by then, has already implemented most of the required measures, but the cost of compliance has reduced its margins and slowed innovation. The open-source ecosystem has split into two: a "safe and regulated" segment and a "wild" segment operating in jurisdictions with little oversight.

6. Conclusion: Strategic Imperatives

The AI Forensics report is not a surprise for those closely following the evolution of generative AI. It is the confirmation of a risk that many had been pointing out since 2023, when the first non-consensual deepfakes began circulating on internet forums. What has changed is the scale and accessibility. Hugging Face has democratized access to cutting-edge models, but it has also democratized abuse.

For business and technical leaders, the lesson is clear: blind trust in open-source platforms is unsustainable. Any company using models from Hugging Face must, at a minimum, implement its own security layers: prompt filters, output classifiers, and a human review process for sensitive use cases. Due diligence is no longer optional; it is a legal and ethical requirement. Hugging Face has the opportunity to become a model of responsibility in open-source AI, but time is running out. If the company continues to prioritize growth over security, it risks a slow death by regulation and distrust. The industry watches, the victims wait, and history will judge. The final question is: would Hugging Face prefer to be remembered as the GitHub of AI or as the Megaupload of deepfakes?

IAExpertos Logo

Canal Oficial de Telegram

Únete a nuestro canal para recibir las últimas noticias sobre IA y ofertas exclusivas de hardware y tecnología recomendadas por IAExpertos.

¡Próximamente!

Estamos preparando artículos increíbles sobre IA para negocios. Mientras tanto, explora nuestras herramientas gratuitas.

Explorar Herramientas IA

Artículos que vendrán pronto

IA

Cómo usar IA para automatizar tu marketing

Aprende a ahorrar horas de trabajo con herramientas de IA...

Branding

Guía completa de branding con IA

Crea una identidad visual profesional sin experiencia en diseño...

Tutorial

Crea vídeos virales con IA en 5 minutos

Tutorial paso a paso para generar contenido visual atractivo...

¿Quieres ser el primero en leer nuestros artículos?

Suscríbete y te avisamos cuando publiquemos nuevo contenido.