id: pypi-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:
    verified: true
  tags: file,keys,pypi,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - "(pypi-AgEIcHlwaS5vcmc[a-zA-Z0-9_-]{50,})"
# digest: 4b0a00483046022100af955c6bca83c83b12663fd0c0555e71239427c218efaa157e9b6d6f443fc690022100c8a81ef48a34f32254590bb21da95db3a30bdbb8f4b248fde538a40a6089fde0:922c64590222798bb761d5b6d8e72950