id: flutterwave-encryptionkey

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

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

    extractors:
      - type: regex
        part: body
        regex:
          - FLWSECK_TEST-(?i)[a-h0-9]{12}
# digest: 4a0a004730450220019394165089dd558a0f1668483329aff0be60a0805de5ee7d5d78f3512e0c76022100bd997bd1611af835180c19476ad4e50cde18c13e6e463021f4e753036ea63994:922c64590222798bb761d5b6d8e72950