id: dropbox-token info: name: Dropbox API Token author: DhiyaneshDK severity: info reference: - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/dropbox-api-token.yaml - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/dropbox-api-token.go metadata: verified: true max-request: 1 tags: dropbox,exposure,tokens http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex part: body regex: - (?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{15})(?:['|\"|\n|\r|\s|\x60|;]|$) # digest: 4b0a00483046022100d76f52b933777600535ec98d5d6afbf412a962f7eccf0352b85c08c41899834b022100a5fa3cdfe023f5a581a940b06f2a020dad24fc079d949e88b1ae26dfa350a6c3:922c64590222798bb761d5b6d8e72950