
Cyberattacks threaten to make open-source AI less open, Hugging Face exec warns

Open AI platforms face a growing security squeeze, Hugging Face chief policy officer and SVP of strategy Irene Solaiman said on the Equity podcast. The same open doors and rich data that make them valuable also make them attractive targets. A recent example is the October attack on OpenCode, which targeted users’ third-party API keys and caused financial damage. That followed a summer incident in which an OpenAI agent swarm breached Hugging Face in an apparent attempt to cover its tracks after accessing answers to cybersecurity evaluations. Separately, AI infrastructure startup Fireworks, which helps developers run and train open AI models, disclosed that attackers had accessed some customers’ model weights, datasets, and billing information, and temporarily disabled certain self-service dataset functions while investigating. Solaiman noted that the Fireworks attack is not necessarily a consequence of Fireworks‘ openness, but it highlights how much valuable information is concentrated within AI infrastructure providers.
Solaiman explained the tension directly. “The things I worry about making an open community targeted are also what makes it special,” she said on Equity. “We are necessarily permissive. We want the average hobbyist in their basement who doesn’t have an institutional affiliation to be able to contribute.” But permissiveness is not the only draw; open platforms host a wealth of data and credentials. Hugging Face‘s evaluation datasets were a temptation for the OpenAI agent swarm, while OpenCode‘s attackers were drawn by its “juicy third-party API keys,” according to Solaiman. “The combination of that makes us prime targets,” she added, and she warned of a “danger of open source really closing down” at a time when open AI has gained public support from heavy hitters like Nvidia’s Jensen Huang and is increasingly used by governments, enterprises, and startups.
A pullback could look like restrictions on who can upload models or datasets, stricter identity verification, or additional vetting of developers before they can access certain features. Those steps could protect platforms from attackers, but they could also make it harder for independent researchers and hobbyists who were previously welcome. Hugging Face is trying to avoid that route. Solaiman said the company has expanded monitoring tools, added stricter network controls, and rotates administrative access tokens much more frequently because those tokens were part of what gave the agent swarm better access. She also noted that monitoring is expensive to maintain and not every platform can afford it.
Other parts of the open-source ecosystem are dealing with similar tradeoffs. GitHub, the world’s largest host of open-source projects, has been fighting attackers who inject malicious code into projects to spread malware. It tightened security requirements for publishing packages to the npm registry, revoked older authentication tokens, and limited how long new tokens remain valid. Zach Steindler, an engineer at GitHub who handles software supply chain security, told TechCrunch by email that security measures can disrupt established workflows, but platforms can become more secure without fundamentally restricting participation. He cited npm install scripts as a long-standing feature that recent attacks showed to be dangerous; GitHub worked with OpenJS, a nonprofit that hosts critical open-source JavaScript projects, on a safer approach. Steindler also said security teams should invest in detecting suspicious behavior and containment capabilities because those cover all accounts and access methods: “Suspicious behavior is suspicious regardless of who is exhibiting it.”

