Skip to main content

Hugging Face user access token

Description

General

  • Documentation: https://huggingface.co/docs/hub/api
  • Summary: Hugging Face is a company that creates machine learning tools. The Hub API provides endpoints for retrieving information and performing actions like model and dataset creation.
  • IPs allowlist: This feature is not mentioned in the documentation.
  • Scopes: Hugging Face offers three types of tokens (read, write and fine-grained). Read this documentation for more details.

Revoke the secret

Tokens can be revoked from the Hugging Face dashboard.

Check for suspicious activity

This feature is not mentioned in the documentation.

Details for Hugging face user access token

  • Family: token

  • Category: ai

  • Company: Hugging Face

  • High recall: False

  • Validity check available: True

  • Analyzer available: True

  • On-premise instances exist: False

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 114.19

  • Prefixed: False

  • PreValidators:

- type: ContentWhitelistPreValidator
patterns:
- hf_

Examples

- text: |
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
token: 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

Secret Analyzer

Analysis Method

  • Provider allows scopes enumeration: True
  • Total network call count: 1
  • Total call count may vary: False

HTTP Calls

Requests are designed to capture metadata and not to function effectively.

  • GET: /api/whoami-v2

Other Calls

No other calls for this analyzer.