id: flutterwave-publickey

info:
  name: Flutterwave Public Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/flutterwave-public-key.go
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/flutterwave-public-key.yaml
  metadata:
    verified: true
    max-request: 1
  tags: flutterwave,exposure,tokens,publickey,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - FLWPUBK_TEST-(?i)[a-h0-9]{32}-X
# digest: 490a0046304402207d649de245b73909d3b9ba59a26ca752b18ef4329f3fd2dfbd26d1cd5ed31c4402203870317210457f89579a9a7111ea039faec4dab976378a861b110ebbda0a121a:922c64590222798bb761d5b6d8e72950