Dropbox Api Token: security issue

Open
#280 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api, security

Research direction

Start by reproducing the whitespace-containing token failure in the Java Dropbox API client and inspect the resulting exception and log output. Trace where the token is parsed and where the exception message is built; done means failures no longer expose the token in cleartext while preserving useful error context.

Written by the indexing model from the issue text.

Description

When the token has whitespace the API throws an exception with the API token in it - in cleartext, thus exposing to logs.

Dominant language
Java
Stars
627
Forks
463
Avg merge
5m
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/dropbox-sdk-java

All issues in dropbox/dropbox-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.