id: flickr-access-token

info:
  name: Flickr Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/flickr-access-token.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/flickr-access-token.go
  metadata:
    verified: true
  tags: flickr,file,keys
file:
  - extensions:
      - all

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