id: facebook-secret-key

info:
  name: Facebook Secret Key - Detect
  author: gaurang
  severity: low
  description: Facebook secret key token was detected.
  tags: keys,file,token,facebook

file:
  - extensions:
      - all

    extractors:
      - type: regex
        regex:
          - "(?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"]"
# digest: 4b0a004830460221008d179fbb0ec3d35927325a1e0cc836d0797bc7e334630c2245bcc3fdda453ed9022100feb9f6e5ba171b6fe823d907374c0f5ada50567491f4aa25081fbf9f65a55809:922c64590222798bb761d5b6d8e72950