-
Notifications
You must be signed in to change notification settings - Fork 932
add virus total colab blog post #3143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
914121e
add virus total colab blog post
XciD 47453c4
add _blog.yml
XciD 277b223
Merge branch 'main' into virtus-total
XciD dc39ecd
add real author name
XciD e3caf99
fix local
XciD 9e3463e
add thumbnail.png
XciD 636ed28
Apply suggestion from @pcuenca
XciD 818affb
Apply suggestion from @pcuenca
XciD 5bda3e8
pr review
XciD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| --- | ||
| title: "Hugging Face and VirusTotal collaborate to strengthen AI security" | ||
| thumbnail: /blog/assets/virustotal/thumbnail.png | ||
| authors: | ||
| - user: xcid | ||
| - user: bquintero | ||
| guest: true | ||
| org: VirusTotal | ||
| --- | ||
|
|
||
| We’re excited to announce a new collaboration between Hugging Face and [VirusTotal](https://virustotal.com), the world’s leading threat-intelligence and malware analysis platform. | ||
| This collaboration enhances the security of files shared across the Hugging Face Hub, helping protect the machine learning community from malicious or compromised assets. | ||
|
|
||
| TL;DR - Starting today, every one of the 2.2M+ public model and datasets repositories on the Hugging Face Hub is being continuously scanned with VirusTotal. | ||
|
|
||
| ## Why this matters | ||
|
|
||
| AI models are powerful but they’re also complex digital artifacts that can include large binary files, serialized data, and dependencies that sometimes carry hidden risks. | ||
| As of today HF Hub hosts 2.2 Million Public model artifacts. As we continue to grow into the world’s largest open platform for Machine Learning models and datasets, ensuring that shared assets remain safe is essential. | ||
|
|
||
| Threats can take many forms: | ||
| - Malicious payloads disguised as model files or archives | ||
| - Files that have been compromised before upload | ||
| - Binary assets linked to known malware campaigns | ||
| - Dependencies or serialized objects that execute unsafe code when loaded | ||
|
|
||
| By collaborating with VirusTotal, we’re adding an extra layer of protection and visibility by enabling files shared through Hugging Face to be checked against one of the largest and most trusted malware intelligence databases in the world. | ||
|
|
||
| ## How the collaboration works | ||
|
|
||
| Whenever you visit a repository page or a file or directory page, the Hub will automatically retrieve VirusTotal information about the corresponding files. [Example](https://huggingface.co/Juronuim/xbraw2025/tree/main) | ||
|
|
||
| <img class="block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/virustotal.png"/> | ||
|
|
||
| Here’s what happens: | ||
| - We compare the file hash against VirusTotal’s threat-intelligence database. | ||
| - If a file hash has been previously analyzed by VirusTotal, its status (clean or malicious) is retrieved. | ||
| - No raw file contents are shared with VirusTotal maintaining user privacy and compliance with Hugging Face’s data protection principles. | ||
| - Results include metadata such as detection counts, known-bad relationships, or associated threat-campaign intelligence where relevant. | ||
|
|
||
| This provides valuable context to users and organizations before they download or integrate files from the Hub. | ||
|
|
||
| ## Benefits for the community | ||
|
|
||
| - Transparency: Users can see if files have been previously flagged or analyzed in VirusTotal’s ecosystem. | ||
| - Safety: Organizations can integrate VirusTotal checks into their CI/CD or deployment workflows to help prevent the spread of malicious assets. | ||
| - Efficiency: Leveraging existing VirusTotal intelligence reduces the need for repeated or redundant scanning. | ||
| - Trust: Together, we’re making the Hugging Face Hub a more secure, reliable place to collaborate on open-source AI. | ||
|
|
||
| ## Join us | ||
|
|
||
| If you’d like to learn more about this integration or explore ways to contribute to a safer open-source AI ecosystem, reach out to security@huggingface.co. | ||
|
|
||
| Together, we can make AI collaboration not just open but secure by design. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.