id: artifactory-api-token

info:
  name: Artifactory API Token Disclosure
  author: Ice3man
  severity: info
  reference:
    - https://jfrog.com/help/r/jfrog-rest-apis/introduction-to-the-artifactory-rest-apis
  metadata:
    max-request: 1
  tags: exposure,token,artifactory

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - '(?:\s|=|:|"|^)AKC[a-zA-Z0-9]{10,}'
# digest: 4a0a004730450221008ff4cae5c62c8799187bde62a109baab461c97542d05317b5a33ee04d5601b59022061c1c18f4ac0407502b05d0c671e1bfbbc7c88a2c1e3d11e80a9b73a1fe14df1:922c64590222798bb761d5b6d8e72950