Skip to content

Hugging Face Model Hijack: The Kokoro Warning

Researchers say they took over the Hugging Face account behind the Kokoro voice model with a domain registration and a password reset. Here is what is known, what is not, and how to protect a product that downloads open models.

By Mutahar Aslam, Founder & CEO of Paraline Tech6 min read

Paraline Blog cover for the AI tools article: Hugging Face Model Hijack: The Kokoro Warning

If your product speaks, there is a fair chance it downloads a voice model from Hugging Face. A recent Hugging Face model hijack shows what that trust rests on. Researchers say they took over the account behind a popular voice model with one domain registration and one password reset. This article covers what is known, what is not, and what you can change in your own code and accounts.

What the researchers say they did

The account is "hexgrad", which publishes Kokoro-82M, an open text-to-speech model. In their Medium write-up, dated 16 Nov 2026, Alon Hertz and his team describe it as "One domain registration and one password reset". As they tell it, they needed no phishing, no zero-day and no breach of Hugging Face.

The domain was hexgrad.com. The .com registry record shows it was registered on 12 Nov 2026, so it was unregistered before then. We do not know when or why it lapsed.

BleepingComputer reports that the researchers registered the domain named on the model's public donation file. We could confirm that DONATE.md lists the address hello@hexgrad.com. Only BleepingComputer links that page to the takeover. The Medium post, as we read it, does not name the mechanism in those terms.

Next, the researchers say they changed the model's weights, on their own machine only. By their count the edit took 87 seconds, using a consumer graphics card. In their demo, the text on screen asked about cake while the audio read out an omelette. In short, the voice no longer matched the words it was handed.

What we know and do not know

This story is easy to inflate, so here it is in three parts.

Reported by the researchers. They say they never uploaded the modified weights, and that nothing was leaked, changed or uploaded. They also say the account "has been secured" and that they are "coordinating with Hugging Face". We have not independently confirmed any of this.

Checked by us. On 20 Nov 2026 we read the public commit history of the repository. The latest commit, f3ff357, is "Update README.md" from 10 Apr 2025. So the public repository showed no change after April 2025. That is useful, but it is not proof. A public history cannot show what happened in private.

Not found. Hugging Face had not publicly commented in the sources found as of 20 Nov 2026. This is a gap. The sources also disagree on contact. The researchers say they are working with Hugging Face, while BleepingComputer says Hertz received no response. We cannot settle that, and we do not say who controls the account today.

Please also keep the download numbers apart. The Hugging Face page showed 13,250,520 downloads for the last month as of 20 Nov 2026. The researchers cite their own, larger figures, including about 180 million all-time. Those are their numbers, not the same counter, and we cannot reconcile them.

Hertz's opinion is that "Hugging Face does not vet publishers." That is his view. The lesson here is narrower: a model is only as trustworthy as the account and the domain behind it.

Why this matters for a Hugging Face model hijack risk

A weight file is not like a library you can read. If a trusted account pushed a bad update, your product could pick it up on its next download, and no one would see a code diff. For a voice model, the output is words your users hear. For any model, the supply chain is the account that publishes it.

We do not know how many projects load Kokoro without pinning a version, and we are not saying any product is at risk. The point is the pattern. Many setups fetch "the latest" without thinking about it.

Pin the exact revision

The huggingface_hub library downloads the latest version of the main branch by default. Its download guide says you can pass a branch, tag or commit hash as the revision, and that a commit hash must be the full-length hash, not a seven-character short one.

This is our advice: read the full hash once, while you trust the model, and record it in your code.

from huggingface_hub import HfApi

REPO_ID = "hexgrad/Kokoro-82M"

print(HfApi().model_info(REPO_ID).sha)

Run the first script once, after you have reviewed the model you want to ship. It prints the full 40-character commit hash. Then download that exact revision everywhere else:

from huggingface_hub import snapshot_download

REPO_ID = "hexgrad/Kokoro-82M"
PINNED_REVISION = "paste-the-full-40-character-hash-here"

local_path = snapshot_download(repo_id=REPO_ID, revision=PINNED_REVISION)
print(local_path)

A pinned commit does not change when a publisher pushes a new one. If you want an upgrade, you choose it, test it and change the hash on purpose.

Keep your own checksums

A hash of what you shipped lets you notice a surprise later, for example in a rebuilt container. In the script below, point the folder at the path that snapshot_download returned. Record one SHA-256 per file, store the list in your repository, and compare at deploy time.

import hashlib
from pathlib import Path

CHUNK_BYTES = 1024 * 1024


def sha256_of(path: Path) -> str:
    digest = hashlib.sha256()
    with path.open("rb") as handle:
        for chunk in iter(lambda: handle.read(CHUNK_BYTES), b""):
            digest.update(chunk)
    return digest.hexdigest()


def build_manifest(folder: str) -> dict[str, str]:
    root = Path(folder)
    return {
        str(path.relative_to(root)): sha256_of(path)
        for path in sorted(root.rglob("*"))
        if path.is_file()
    }


if __name__ == "__main__":
    for name, value in build_manifest("path/to/model/folder").items():
        print(value, name)

Compare against values you recorded yourself, when you reviewed the model. Do not compare against a list fetched from the same place at the same moment.

Check who owns the publisher's domain

This part is cheap and easy to forget. A takeover like the one the researchers describe starts with a domain that nobody owns any more. So look at the email domain on a publisher's public pages, and at your own.

A registry lookup shows whether a .com domain is registered. This command prints the HTTP status. By the RDAP standard, 200 means registered and 404 means no such registration:

curl -s -o /dev/null -w "%{http_code}\n" \
  https://rdap.verisign.com/com/v1/domain/example.com

If a model you depend on points to an unregistered domain, treat that as a warning. Stay on your pinned revision and consider hosting your own copy of the files.

Secure your own accounts

You are also a publisher, of your own repositories, app stores and cloud consoles. Three habits cover most of the risk:

  • Turn on two-factor authentication. Hugging Face's documentation describes it as something you choose to enable, with passkeys or an authenticator app. We do not know whether the Kokoro account had it on, so we make no claim either way.
  • Own your recovery path. Use an email address on a domain you control and renew. Add auto-renew, and keep the domain contact current.
  • Save recovery codes somewhere safe and offline.

These are our recommendations, not a statement of what any source says.

Where this fits in a product

Voice features are now routine. For example, our PCTB case study describes an AI tutor that reads answers aloud with neural text-to-speech, using a provider cascade with an optional self-hosted Hugging Face model. Any product like that has the same question: what exactly are we loading, and who can change it? We build this kind of work under AI agents and automation.

What to do next

  1. List every model your product downloads, and where each one comes from.
  2. Replace "latest" with a full commit hash for each, and store it in version control.
  3. Record SHA-256 checksums for the files you ship.
  4. Check the domains in your publishers' public pages, and your own.
  5. Turn on two-factor authentication everywhere, and save the recovery codes.
  6. Come back to this story later. Whether Hugging Face makes a statement is still unknown as of 20 Nov 2026.

If you want help reviewing how your product loads models, get in touch.

Common questions

Were the public Kokoro weights changed?

The public commit history showed no change after April 2025 when we read it on 20 Nov 2026, and the researchers say they uploaded nothing. History is public evidence only; it cannot show what happened privately.

Did Hugging Face respond?

Hugging Face had not publicly commented in the sources found as of 20 Nov 2026. The researchers say they are coordinating with Hugging Face, while BleepingComputer reports that the lead researcher received no response. Both statements are unconfirmed by Hugging Face.

How do I pin a Hugging Face model version?

Pass the full 40-character commit hash as the revision argument when you download. The huggingface_hub docs say a short hash does not work.

Does two-factor authentication stop this kind of takeover?

It makes a password reset alone much less useful, but the researchers' write-up does not say whether the Kokoro account had it on. Hugging Face documents two-factor authentication as something you choose to enable.

Keep reading