Why it matters
Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.
How to fix it
Revoke this Dropbox short lived API token at Dropbox and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.
How it recognises a value
- A line is only looked at when it contains the keyword
dropbox(ignoring case). - Adopted with attribution from the gitleaks rule
dropbox-short-lived-api-token(MIT License).
(?i)[\w.-]{0,50}?(?:dropbox)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(sl\.[a-z0-9\-=_]{135})(?:[\x60'"\s;]|\\[nr]|$)What TrustIvan reads
Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it.
TrustIvan can ask Dropbox whether a found value still works, once an owner or admin turns validity checking on, with the request POST https://api.dropboxapi.com/2/users/get_current_account. That check is tested against the provider's documented responses, not a live account.
Related checks
- Dropbox long lived API token
DropboxSeverity: High
secrets.dropbox.long-lived-api-token - Dropbox API token
DropboxSeverity: High
secrets.dropbox.api-token
Terms: Secret scanning, Secret sprawl, Credential rotation
All secret detection checks · The whole catalogue · How this works in TrustIvan · Documentation