id: salesforce-access-token

info:
  name: Salesforce Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/salesforce.yml
  metadata:
    verified: true
    max-request: 1
  tags: salesforce,exposure,tokens

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

    extractors:
      - type: regex
        part: body
        regex:
          - \b(00[a-zA-Z0-9]{13}![a-zA-Z0-9._]{96})(?:\b|$|[^a-zA-Z0-9._])
# digest: 4a0a0047304502200afecff134858cb4e07737e26feb345d0445ba4f042b0419356a8889e7d30b58022100d0c42e9ae23d9962ec671772d4c5f60c7c5de25cd3921cd7613aad18e5b0b9f1:922c64590222798bb761d5b6d8e72950