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

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

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