id: stackhawk-api

info:
  name: StackHawk API Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/stackhawk.yml
  metadata:
    verified: true
    max-request: 1
  tags: stackhawk,token,exposure

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

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(hawk\.[0-9A-Za-z_-]{20}\.[0-9A-Za-z_-]{20})\b'

# digest: 4a0a0047304502210088701eb7a19bc39a07e47ec68831b244e7b00e43a20f34e3091272796b4c639602207ed379c867acf2e28d187e8fd9a47a31ac95869f9cd42ff750405a0e08973b3f:922c64590222798bb761d5b6d8e72950
