Hugging Face Disclosed an Agent-Driven Security Incident

Hugging Face's 16 July 2026 notice described unauthorised access to limited internal data and credentials, followed by token rotation guidance.

What Hugging Face disclosed

Hugging Face published a security notice on 16 July after detecting unauthorised access involving an autonomous agent. The company said limited internal datasets and some credentials were accessed and began containment and investigation work.

16 July 2026Hugging Face published the notice
Confirmed in the noticelimited internal data and some credentials were accessed
No evidence reportedpublic models, datasets, or Spaces were altered

Why this matters

The notice also said there was no evidence at that stage that public models, datasets, or Spaces had been tampered with. That distinction matters. A continuing investigation calls for caution, but it does not justify claiming that every public asset was compromised.

Known

Unauthorised access triggered containment and investigation.

Unknown

The full cause and impact were still being examined.

Action

Rotate tokens and review account activity.

What users needed to rotate and review

List tokens

Include CI, notebooks, local tools, and hosted services.

Revoke old access

Remove unused and broadly scoped credentials.

Create replacements

Use the minimum permission and a clear owner.

Review logs

Look for unexpected downloads, pushes, or settings changes.

Follow Hugging Face's current guidance, rotate access tokens, remove old or unused tokens, review recent account and repository activity, and reduce each token to the permissions it needs. Secrets used in automated builds should be replaced in the build system as well as locally.

  • No long-lived token is shared by several systems.
  • Repository write access is granted only where required.
  • Secrets are absent from source and notebooks.
  • Rotation includes every environment using the old value.

The incident connected agent security with ordinary credential hygiene. Narrow, short-lived, well-monitored tokens reduce the harm available to any compromised person, script, or agent.

Need more practical IT guides?

Explore step-by-step tutorials, expert insights, and actionable guidance to help you work smarter, stay secure, and solve real problems.

Browse More Articles