Skip to content

HuggingFace User Access Token

ID: huggingface-user-access

Severity: info

Author: DhiyaneshDK

Tags: huggingface,keys,file

id: huggingface-user-access
info:
name: HuggingFace User Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/huggingface.yml
- https://huggingface.co/docs/hub/security-tokens
metadata:
verified: true
tags: huggingface,keys,file
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- '\b(hf_[a-zA-Z]{34})\b'
# digest: 4a0a00473045022100c17954f822038db08097d3c23aeccee17b9449ced129e2ecb585f5cf8eed1c2102205d1d7be5be3a4f4bb08386167bb35dcbcc0918f747ec9a4152c5dd1d99de95f5:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "file/keys/huggingface/huggingface-user-access.yaml"

View on Github