id: finicity-client-secret

info:
  name: Finicity Client Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/finicity-client-secret.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/finicity-client-secret.go
  metadata:
    verified: true
  tags: file,keys,finicity,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)(?:finicity)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a004630440220292664dbf514c4b5faae4b6c1e2c37f4f518f89c4d465dddb90c094278134e9b02200f16fd246ce5a2cc08e145c98a5d2e796d4a8823fcb0c1223946744fad8e06d5:922c64590222798bb761d5b6d8e72950