Hub documentation

Malware Scanning

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Malware Scanning

We run every file of your repositories through a malware scanner.

Scanning is triggered at each commit or when you visit a repository page.

Here is an example view of an infected file:

If your file has neither an ok nor infected badge, it could mean that it is either currently being scanned, waiting to be scanned, or that there was an error during the scan. It can take up to a few minutes to be scanned.

If at least one file has a been scanned as unsafe, a message will warn the users:

As the repository owner, we advise you to remove the suspicious file. The repository will appear back as safe.
< > Update on GitHub