Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passwords stored in clear in Chrome's local storage #8

Open
lefreud opened this issue Jan 13, 2022 · 0 comments
Open

Passwords stored in clear in Chrome's local storage #8

lefreud opened this issue Jan 13, 2022 · 0 comments
Labels

Comments

@lefreud
Copy link
Owner

lefreud commented Jan 13, 2022

As pointed out by @TrickyTroll, university credentials (IDUL & password) are stored in Chrome's local storage, which is an unencrypted storage location and can potentially be read by a malicious application which has access to Chrome's files, without privilege escalation. However, Chrome doesn't seem to provide obvious alternatives to allow for safe data storage, for example, by using an OS system call that encrypts/decrypts data safely (I might be wrong though).

Here are some ideas of potential solutions:

  • Stop storing credentials and use Chrome's already existing password manager in conjunction with an auto-click mechanism that clicks on the "login" button after the auto-fill
  • Find a Chrome API that manages encryption of data storage in a way that doesn't expose the encryption key. This could be worth looking at: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store (does it work in an extension?)

If you have any other idea, I'm all ears!

Sources:
"Confidential user information should not be stored! The storage area isn't encrypted." https://developer.chrome.com/docs/extensions/reference/storage/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant