Skip to content

Security issue: password and private key exposed to logs on android #23

Description

@ichuan

Hi, just trying out edge.app for the first time, not sure if this is a security concern or not.

Steps to reproduce:

  1. Download and install edge.app on an android phone, which enabled USB debug mode.
  2. Register using a name and password, close app, and login again
  3. Connect the phone to an computer, by running adb logcat | grep crypto_bridge, the following logs appear:

04-17 18:11:45.494 22179 22301 D crypto_bridge-JNI: passwd=dHJ5ZWRnZWFwcDBZQ0ZtWEFET2w=, salt=iwYBA4hEeugzUoCsM2AxvrOQrgcEsu3Rrru+uSX3fQQ=, n=132082, r=8, p=1, size=32
04-17 18:11:45.495 22179 22301 D crypto_bridge-JNI: passwordBuf len=16 :121 97 110 99 53 51
04-17 18:11:45.495 22179 22301 D crypto_bridge-JNI: saltBuf len=32 :124 135 11 154 46 134
04-17 18:11:48.861 22179 22301 D crypto_bridge-JNI: buffer:188 88 158 138 22 103
04-17 18:11:48.862 22179 22301 D crypto_bridge-JNI: result szB64Encoded:hN02hRxce4zla7xYhuMSgt2ni6hcg41ubmBYhCbMG0c= len:45

The italic texts are base64 encoded username, password, and private key.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions