Dropbox Key

ID

dropbox_token

Severity

high

Vendor

Dropbox

Family

API Token

Description

Dropbox is a file hosting service that offers cloud storage, file synchronization, personal cloud, and client software.

They provide an API to allow to third party developers to integrate with Dropbox.

Security

Any hardcoded Dropbox Key is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise your Dropbox account.

Suspicious activity could be detected by checking the analytics at your Developer Console.

Examples

dropbox = "yLsZRbSKR5pAAAAAAA--3c0c3965368a6b10f7640dbda46abfd23a4d1c245ea1"

Mitigation / Fix

  1. Remove the Keys from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). API Key revocation can be handled from your Developer Console.

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.