nuclei-templates/http/exposures/tokens/pypi/pypi-upload-token.yaml

25 lines
549 B
YAML
Raw Normal View History

2023-03-07 09:40:29 +00:00
id: pypi-upload-token
info:
name: PyPI Upload Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/pypi.yml
- https://github.com/pypa/warehouse/issues/6051
- https://pypi.org/project/pypitoken/
metadata:
max-request: 1
2023-06-04 08:13:42 +00:00
verified: true
2023-03-07 09:40:29 +00:00
tags: pypi,token,exposure
http:
2023-03-07 09:40:29 +00:00
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- "(pypi-AgEIcHlwaS5vcmc[a-zA-Z0-9_-]{50,})"