id: fb-access-token

info:
  name: Facebook Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/facebook.yml
    - https://developers.facebook.com/docs/facebook-login/access-tokens/
  metadata:
    verified: true
  tags: file,keys,facebook,token

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(EAACEdEose0cBA[a-zA-Z0-9]+)\b'
# digest: 490a00463044022067dd517ff9475f2ad235b6b33b7639be9e2eedb4429606b7cef447e9b91909760220344184f684a82dcd6e6e5aa4760ccb0df1601739e2609a82f47049b77ed2a180:922c64590222798bb761d5b6d8e72950