2024-03-18 10:19:06 +00:00
|
|
|
id: dockerhub-pat
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Docker Hub Personal Access Token
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/dockerhub.yml
|
|
|
|
- https://docs.docker.com/security/for-developers/access-tokens/
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
tags: docker,keys,file
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2024-03-19 03:34:30 +00:00
|
|
|
- \b(dckr_pat_[a-zA-Z0-9_-]{27})(?:$|[^a-zA-Z0-9_-])
|
|
|
|
# digest: 4a0a00473045022100bc73fcf69453af6d917f363d99e57d06620e6b40f1e38b54ac72982c1aff0865022030218f700bce4f88878c34d596fcc3563ee6a6a0f233055703455751caaabd08:922c64590222798bb761d5b6d8e72950
|