id: figma-access-token

info:
  name: Figma Personal Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/figma.yml
    - https://www.figma.com/developers/api
  metadata:
    verified: true
  tags: file,keys,figma,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)figma.{0,20}\b([0-9a-f]{4}-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\b
# digest: 4b0a004830460221009bff1a4fe63a6879ba26f109ea379ac16c80a9ca78a1c931d56b029cd47a8317022100803e8a68255341d578ee70c9d4eea3f7b1603c2cc5ebe381db17728ac32c9d57:922c64590222798bb761d5b6d8e72950