id: flutterwave-secretkey

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

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

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