id: newrelic-pixie-deploy-key

info:
  name: New Relic Pixie Deploy Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/newrelic.yml
    - https://docs.px.dev/reference/admin/deploy-keys/
  metadata:
    verified: true
    max-request: 1
  tags: newrelic,pixie,token,exposure,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - "(px-dep-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})"
# digest: 4a0a00473045022100cce939a991fed10d634420f706192274c8041b7c91ee400c0d9b4bf63e33b11a022077e7c1dd6760cd7b36fdec65ea0b37d094316e26bcff21183ca5f8dce739b845:922c64590222798bb761d5b6d8e72950