id: fb-access-token

info:
  name: Facebook Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/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: 4a0a00473045022100dedd8946f0c64c70608ed52d3f27309e0b98961c3638d916d70eeaed90ee712902203e1db4aa3b20456bb7daab5f59737a37654a1fe96100a6b2b627c974ba7ada26:922c64590222798bb761d5b6d8e72950