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,vuln

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

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