Security researchers took control of the Hugging Face account for the kokoro ai model, a text-to-speech system used in projects from Google, NVIDIA, AMD, Intel and Amazon Web Services. The takeover was possible because Hugging Face does not verify that an account is still controlled by its original owner.
How the kokoro ai model account was taken over
The team, led by security analyst Alon Hertz, did not exploit a software bug. Instead, they registered the domain “hexgrad.com”, which was listed on the publisher’s public DONATE.md file, and used it to request a password reset on the publisher’s account. Over the past weekend, that reset gave them access to the account.
Kokoro is an open-weight model, meaning its trained parameters are publicly available for anyone to download and run. It converts text into speech, supports multiple languages and includes more than 50 voice presets. Its developer, Hexgrad, has not pushed an update since April 2025, yet the kokoro ai model still records nearly 13 million monthly downloads on Hugging Face. The GitHub repository and the Python package on PyPI also went quiet around the same time.
An attacker who controls such an account could use it as a distribution channel for supply-chain attacks. Users who download updates could receive compromised files, which could lead to data theft or code execution on their systems.

Why altered weights are hard to detect
The researchers said they chose a stealthier method in their demonstration. They modified the model’s weights so the kokoro ai model produced audio that differed from the input text, while leaving the application code untouched. In a controlled test, they changed the weights in 87 seconds using a gaming GPU.
Because only the weights change, the researchers say there is no malicious code or signature for malware scanners to detect. Hertz described the result in a statement: “We changed what this model says by fine-tuning its neural weights. Same input text. Same voice file. Same configuration. Same inference code.”
The team tested the modified kokoro ai model locally using its normal inference pipeline but did not upload the altered weights to Hugging Face. Uploading them could have put many production systems that depend on the model at risk. According to the researchers, a malicious update would still look legitimate. Tests from another account showed that Hugging Face did not flag anything as suspicious. The publisher name would appear the same, and the file delivery route, format and architecture would not change. File sizes would be similar, and the release would contain no malware.
Wide reach across Google, NVIDIA, AMD, Intel and AWS
The kokoro ai model is supported by developer tools from Google, NVIDIA and Intel, including software for voice agents and on-device speech synthesis. AMD and Amazon Web Services have also published guides showing how the kokoro ai model can be used in AI-agent workflows. That broad adoption is why the researchers chose it to highlight the wider problem.
The researchers say the risk from compromised publisher accounts is significant for systems that automatically fetch new model revisions. Such systems could install altered weights without any manual review. Hertz also said that accounts that were never hijacked could pose a risk. Anyone could build a credible presence over time, then push a malicious update later.
“Hugging Face does not vet publishers. It doesn’t verify whether an account is still held by its original, legitimate owner,” Hertz said. He added that the platform also does not vet the models or datasets those accounts upload.
Hugging Face has not responded
The researchers said the same unvetted weights and datasets flow through mirrors, converted versions, GitHub releases, package registries, deployment guides and direct downloads across the open-model ecosystem. Hertz reported the issue to Hugging Face, hoping for quick action, but has received no response. Hugging Face has not yet replied to requests for comment on the findings.

Until the platform adds ownership checks, users who rely on automatic updates for open models may have no reliable way to confirm that a new revision came from its original publisher.
