nuclei-templates/file/keys/huggingface/huggingface-user-access.yaml

23 lines
701 B
YAML

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: 4b0a00483046022100934e5db46a96a95fbd52e60737825b1ed564ae6f42363a5843a5317f25c8b15d0221008fd6451b353118cd6c0b7a054f49e79c36d5c4222658de97e4b5fea6731da789:922c64590222798bb761d5b6d8e72950