id: sendinblue-api-token

info:
  name: Sendinblue API Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/sendinblue-api-token.go
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/sendinblue-api-token.yaml
  metadata:
    verified: true
    max-request: 1
  tags: sendinblue,exposure,tokens

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

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)\b(xkeysib-[a-f0-9]{64}\-(?i)[a-z0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022100c5ed399c74d21485c5489295be6ce066a6b2ff672bef668e2fe5b828b798bdb7022011959249882933e19ea75fbfe9ca8cb9df5923fc0940b7e98ec3640df59b5e89:922c64590222798bb761d5b6d8e72950