Exporting data from a local Bitwarden vault without knowing the master password
Forgotten your Bitwarden master password but still have access to your vault via PIN or Biometrics? By manipulating the JavaScript of the Desktop app, you can easily bypass the credential prompt.
After changing my account master password and re-authenticating the desktop app, I tried to access an individually protected item in my vault before becoming overtaken by brain fog. I panicked, thinking all the protected credentials in my vault would be lost and I would have to export the remaining non-protected credential one by one, knowing the export function was protected by a credential prompt.
After digging around in the JavaScript, I found the following workaround, allowing for a full vault export without knowing the master password. You can then delete the account, create a new one, and import this exported file, keeping all items in the vault.
Don't panic! Your data is secure as long as an attacker doesn't have physical access to your machine. Once an attacker has physical access to a machine, virtually no software protection can mitigate access of data.
Bitwarden are aware these protections can be bypassed. They add a warning under this section.