nuclei-templates/http/exposures/tokens/huggingface/huggingface-user-access-tok...

25 lines
752 B
YAML

id: huggingface-user-access-token
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
max-request: 1
tags: huggingface,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '\b(hf_[a-zA-Z]{34})\b'
# digest: 4b0a00483046022100dbce900c0c7b668bca2fd15cb1dc47be0c73a76de5cec1e61d30a998687b2e6d022100cd89a4fc8a3a5fafa7a9ce58861629c507dd9f2763dcedf6088c773e6b6ba521:922c64590222798bb761d5b6d8e72950