id: dropbox-access

info:
  name: Dropbox Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/dropbox.yml
    - https://developers.dropbox.com/oauth-guide
    - https://www.dropbox.com/developers/
    - https://www.dropbox.com/developers/documentation/http/documentation
  metadata:
    verified: true
  tags: dropbox,keys,file

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - \b(sl\.[a-zA-Z0-9_-]{130,152})(?:$|[^a-zA-Z0-9_-])
# digest: 4a0a0047304502203ebb2e9cd22d0111be9a6cf81a16bba03b592bea6b7255d7d82ca626ce3ed495022100af24dd89257ce2e9575b173942bcc016da95567aca975af12eaa232ae4738dcb:922c64590222798bb761d5b6d8e72950