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: 4a0a0047304502200fb01105ec0c81ed8915e5be2e9a0f54f7cd7df33715fb3b8ed42a10393d271f022100a0386d57d99159aae1e5d31e549112714d722d3d95c10a07b0ce63e7d71cc635:922c64590222798bb761d5b6d8e72950
