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:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
tags: pypi,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- "(pypi-AgEIcHlwaS5vcmc[a-zA-Z0-9_-]{50,})"
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022074388264b516ead365eea86415bb651d76ef7c40c808d96a4f8d88eafacc23c3022100fcdcb231ebc90123d719d48ead1446a7f206fb6756555045dcc30dd355ac5e2b:922c64590222798bb761d5b6d8e72950
|