Change Clipboard Default from Never to ~1 minute

The Clear Clipboard default is set to ‘Never’ under Options in Bitwarden. This is an unnecessary security risk and easy to resolve by changing the default.

Risk: your last copy or full history of copies (OS dependent) from Bitwarden is left sitting in your OS clipboard after you paste them. This would be passwords, for example.

Recommendation: change default from ‘Never’ to a length that most users will never need to store a copy before they paste, such as 2 or 5 minutes, dramatically reducing this risk.

Benefit: This improves the base level of security for all users. This would especially benefit new password manager users who may not be aware of the security implications of the current default setting of ‘Never’ clearing their clipboard.

Update: changed recommended time to 1 minute as I didn’t intend to suggest adding a new, longer value. Rather, the intent is to simply not have Never be the default. So, I have changed it to the highest existing value other than Never, which is 1 minute. This will likely be more than enough for the vast majority of users. I don’t personally care what Bitwarden sets it to as long as it’s not Never and that it mitigates the described risk.

You can set it to a value that you prefer.

I understand. It’s a design question as never clearing the clipboard appears to be an unnecessary security risk and I wonder if I am misunderstanding its implementation.

1 Like

Why that design decision was made in that way is something we can’t know, unless somebody who was present in that decision-making process chimes in, or perhaps if you get lucky and find some clue in an old discussion on GitHub.

Suffice it to say that there appears to be no fundamental reason why choosing this default value would be preferable to all other options. Perhaps the next option (5 min) would still not be long enough to prevent a user who is unaware of the existence of this option from losing data (e.g., they copy their current password, spend 5 minutes setting up the password generator options, selecting a new password and filling out the update password form on some website, then are surprised when they can’t paste their old password anymore). Perhaps the fact that many users have enabled clipboard history or other clipboard managers, in which case the automatic clipboard clearing mechanism is not effective, was a factor in deciding to effectively disable this feature by default.

You are of course right, that enabling the clipboard clearing functionality (by setting a value other than “Never”) is more secure, unless you have enabled some form of clipboard history.

1 Like

There used to be an old request (which has now been archived) specifying having this enabled by default, but it seems not to have had much traction.

You can feel free to create a new feature request for this and hopefully more people from the community will pick this up.

1 Like

In Windows 10/11, you can easily see and/or delete the contents of the Clipboard. This can be enabled here:

1 Like

Just as a PSA for current and future readers of this thread — several of the comments above allude to the existence of this feature, but none have explicitly shown it. Thus, in case anybody wasn’t aware, it is possible to enable automatic clearing of the clipboard in Bitwarden, by changing the default value of the timeout parameter from “Never” to something else. For example, in the browser extension, go to Settings > Options, where you will find the Clear Clipboard timeout setting:

image

 

The default value for a new installation is “Never”, and @222 has created this thread to ask about or discuss this decision to have the setting default to “Never”.

1 Like

Thanks. That archived feature request correctly describes an issue. I may add a new feature request since I can’t add to that one to bring it back to life. I appreciate you pointing this out. Thanks.

I am researching re: Apple and am seeing that iOS and Macs only hold the last item in their clipboards, not a history. So, that limits the risk. But, it will be held a long time if the Bitwarden is set to Never clear.

Thanks, @grb. I should have attached a screenshot.

If Bitwarden goes to the trouble of clearing an unencrypted vault from memory in a pretty meticulous way, as I have read, it is an odd choice to default the clipboard to Never clear, potentially exposing a user’s password(s). The users who don’t touch this at all are more likely to be users who are less security conscious or simply unaware. I would think that Bitwarden would want to be doing its best to protect this group of users from themselves and set a base level of default security for all users that doesn’t introduce unnecessary risk such as this.
Even defaulting it to 2 minutes, more than most users would ever need, would dramatically reduce the risk.

My point was that it’s very easy to manually clear the clipboard in modern versions of Windows. It’s probably in my top five favorite features of Windows 10/11.

Based on suggestions and confirmations, above, I have changed this thread to a feature request and reframed the original post. Thanks.

Recent article discussing this

https://www.techspot.com/news/97320-you-change-password-manager-clipboard-settings-now.html

1 Like

It would be nice to see Bitwarden do a series of security-focused updates like this.

Bitwarden devs should pay attention to articles like this. Such low hanging fruit. It’s like LastPass not setting a strong minimum KDF for everyone’s account: once the risk is realized, it doesn’t look good in hindsight.

Thanks for the feedback everyone, it has been passed along to the team!

1 Like

I brought this up on GitHub almost a year ago, and there were threads way before that. It really is a security hole that not just needs to be reported to the team, but acted on.

Not only does the default need to change for new installations, any existing user should be forced to change the value unless they actively say otherwise. Not that I can think of any reason why that should be so. If a user has Windows password history invoked, then it is doubly important that the clipboard should be cleared. Note that if the default is changed to clear after x minutes, it will not clear existing entries in clipboard history. This should be brought to the users attention.

Thanks all, the team is reviewing this one :+1:

I only found out by accident that this was set to Never. I was installing Android apps remotely with my recently installed Win11 PC (you have paste Google PW for every Google Play app installation).
When I found the default was off all I could think it was an error.

If you don’t want to change default to something that’s somewhat secure, the least you can do is when the Bitwarden extension/app is installed prompt the user that the setting is OFF/Never by default.

I would like to remind you on this subject, which appears to be a significant security flaw. If the default clipboard cleanup value is not changed would it at least be possible to push a value through the registry or some other way?