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

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

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