Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    OpenAI Employee Who Secretly Recorded Meetings Allegedly Affiliated With The Saudi Government

    November 24, 2026

    [2611.18511] On numerical issues of divergences between nearly equal distributions

    November 24, 2026

    SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation

    November 24, 2026
    Facebook X (Twitter) Instagram
    Trending
    • OpenAI Employee Who Secretly Recorded Meetings Allegedly Affiliated With The Saudi Government
    • [2611.18511] On numerical issues of divergences between nearly equal distributions
    • SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation
    • Honor Teams Up With Cinema Camera-Maker Arri On The Magic 9 Pro Max
    • [2611.24792] Self-supervised behavior encoders rarely beat a training-free baseline
    • Layla Sleep Coupon: Save Up to $600 in November 2026
    • [2512.14190] Random-Bridges as Stochastic Transports for Generative Models
    • Hoka Coupon Codes: 30% Off in November 2026
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Tuesday, November 24
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»AI Tools & Software»Hugging Face partners with TruffleHog to Scan for Secrets
    AI Tools & Software

    Hugging Face partners with TruffleHog to Scan for Secrets

    adminBy adminNovember 11, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Hugging Face partners with TruffleHog to Scan for Secrets
    Share
    Facebook Twitter LinkedIn Pinterest Email

    We’re excited to announce our partnership and integration with Truffle Security, bringing TruffleHog’s powerful secret scanning features to our platform as part of our ongoing commitment to security.

    TruffleHog is an open-source tool that detects and verifies secret leaks in code. With a wide range of detectors for popular SaaS and cloud providers, it scans files and repositories for sensitive information like credentials, tokens, and encryption keys.

    Accidentally committing secrets to code repositories can have serious consequences. By scanning repositories for secrets, TruffleHog helps developers catch and remove this sensitive information before it becomes a problem, protecting data and preventing costly security incidents.

    To combat secret leakage in public and private repositories, we worked with the TruffleHog team on two different initiatives:
    Enhancing our automated scanning pipeline with TruffleHog
    Creating a native Hugging Face scanner in TruffleHog



    Enhancing our automated scanning pipeline with TruffleHog

    At Hugging Face, we are committed to protecting our users’ sensitive information. This is why we’ve implemented an automated security scanning pipeline that scans all repos and commits. We have extended our automated scanning pipeline to include TruffleHog, which means there are now three types of scans:

    • malware scanning: scans for known malware signatures with ClamAV
    • pickle scanning: scans pickle files for malicious executable code with picklescan
    • secret scanning: scans for passwords, tokens and API keys with TruffleHog

    We run the trufflehog filesystem command on every new or modified file on each push to a repository, scanning for potential secrets. If and when a verified secret is detected, we notify the user via email, empowering them to take corrective action.

    Verified secrets are the ones that have been confirmed to work for authentication against their respective providers. Note, however, that unverified secrets are not necessarily harmless or invalid: verification can fail due to technical reasons, such as in the case of down time from the provider.

    It will always be valuable to run trufflehog on your repositories yourself, even when we do it for you. For instance, you could have rotated the secrets that were leaked and want to make sure they come up as “unverified”, or you’d like to manually check if unverified secrets still pose a threat.

    We will eventually migrate to the trufflehog huggingface command, the native Hugging Face scanner, once support for LFS lands.



    TruffleHog Native Hugging Face Scanner

    The goal for creating a native Hugging Face scanner in TruffleHog is to empower our users (and the security teams protecting them) to proactively scan their own account data for leaked secrets.

    TruffleHog’s new open-source Hugging Face integration can scan models, datasets and Spaces, as well as any relevant PRs or Discussions. The only limitation is TruffleHog will not currently scan files stored in LFS. Their team is looking to address this for all of their git sources soon.

    To scan all of your, or your organization’s Hugging Face models, datasets, and Spaces for secrets using TruffleHog, run the following command(s):

    
    trufflehog huggingface --user 
    
    
    trufflehog huggingface --org 
    
    
    trufflehog huggingface --user  --org 
    

    You can optionally include the (--include-discussions) and PRs (--include-prs) flags to scan Hugging Face discussion and PR comments.

    If you’d like to scan just one model, dataset or Space, TruffleHog has specific flags for each of those.

    
    trufflehog huggingface --model 
    
    
    trufflehog huggingface --dataset 
    
    
    trufflehog huggingface --space 
    

    If you need to pass in an authentication token, you can do so using the –token flag or by setting a HUGGINGFACE_TOKEN environment variable.

    Here is an example of TruffleHog’s output when run on mcpotato/42-eicar-street:

    trufflehog huggingface --model mcpotato/42-eicar-street
    🐷🔑🐷  TruffleHog. Unearth your secrets. 🐷🔑🐷
    
    2024-09-02T16:39:30+02:00	info-0	trufflehog	running source	{"source_manager_worker_id": "3KRwu", "with_units": false, "target_count": 0, "source_manager_units_configurable": true}
    2024-09-02T16:39:30+02:00	info-0	trufflehog	Completed enumeration	{"num_models": 1, "num_spaces": 0, "num_datasets": 0}
    2024-09-02T16:39:32+02:00	info-0	trufflehog	scanning repo	{"source_manager_worker_id": "3KRwu", "model": "https://huggingface.co/mcpotato/42-eicar-street.git", "repo": "https://huggingface.co/mcpotato/42-eicar-street.git"}
    Found unverified result 🐷🔑❓
    Detector Type: HuggingFace
    Decoder Type: PLAIN
    Raw result: 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
    Commit: 9cb322a7c2b4ec7c9f18045f0fa05015b831f256
    Email: Luc Georges 
    File: token_leak.yml
    Line: 1
    Link: https://huggingface.co/mcpotato/42-eicar-street/blob/9cb322a7c2b4ec7c9f18045f0fa05015b831f256/token_leak.yml#L1
    Repository: https://huggingface.co/mcpotato/42-eicar-street.git
    Resource_type: model
    Timestamp: 2024-06-17 13:11:50 +0000
    2024-09-02T16:39:32+02:00	info-0	trufflehog	finished scanning	{"chunks": 19, "bytes": 2933, "verified_secrets": 0, "unverified_secrets": 1, "scan_duration": "2.176551292s", "trufflehog_version": "3.81.10"}
    

    Kudos to the TruffleHog team for offering such a great tool to make our community safe! Stay tuned for more features as we continue to collaborate to make the Hub more secure for everyone.

    Face Hugging partners Scan secrets TruffleHog
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation

    November 24, 2026

    OpenAI and Cisco introduce Shirudo

    November 23, 2026

    Richpanel helps companies automate 50% of support in 30 days

    November 23, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202619 Views

    ADIndex: Layer-Adaptive Sparse Attention Indexing via Group-Level Distillation

    November 11, 20266 Views

    Anthropic releases new Mythos and Fable models amid RSI concerns

    November 9, 20266 Views

    If AGI is so close, why is everyone leaving? The neolabs and their bets

    November 6, 20266 Views
    Don't Miss
    Gadgets & Smart Devices

    OpenAI Employee Who Secretly Recorded Meetings Allegedly Affiliated With The Saudi Government

    By adminNovember 24, 20260

    He uploaded recordings to Dropbox and took photos of confidential documents, prosecutors say. …

    [2611.18511] On numerical issues of divergences between nearly equal distributions

    November 24, 2026

    SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation

    November 24, 2026

    Honor Teams Up With Cinema Camera-Maker Arri On The Magic 9 Pro Max

    November 24, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    OpenAI Employee Who Secretly Recorded Meetings Allegedly Affiliated With The Saudi Government

    November 24, 2026

    [2611.18511] On numerical issues of divergences between nearly equal distributions

    November 24, 2026

    SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation

    November 24, 2026
    Most Popular

    Ads in Chatbots Have Arrived. Here’s What’s Working—and What’s Not

    November 6, 20260 Views

    The General Purpose Pendulum – O’Reilly

    November 6, 20260 Views

    Robot Videos: Home Cable Robot, JPL turns 90, and More

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.