Prevent passwords copied from browser extension from being saved in macOS clipboard history

This is a request for preventing data copied from the Bitwarden browser extension from being accessible in clipboard manager apps on MacOS (and potentially other OS’s?).

Currently, the BW MacOS app uses org.nspasteboard.ConcealedType (see this merged PR) to prevent copied data from the app from being added to clipboard history.

But the BW browser extension does not do offer this behavior. There was discussion about this in this github issue and comments like this one suggest that there isn’t a browser API that allows it. Or that, at least as of four years ago in 2021, the API’s were experimental (see this comment).

I think it’s worth noting that the browser extension for password manager Strongbox browser extension does not keep copied data in the clipboard history.

If there’s a way to replicate this behavior in BW’s browser extension, that would be valuable and prevent copied private data from being kept indefinitely in an insecure clipboard history.

4 Likes

Can’t vote yet, but +1 from me. I’m using Maccy as a clipboard manager, and this would really be an improvement!

1 Like

@paulrudy A belated welcome to the forum!

I modified the title of your feature request topic to specify that this is for macOS (old title: “Prevent passwords copied from browser extension from being saved in clipboard history”), and added the topic tag os:macos.

For anybody interested, please note that there is already a parallel feature request for Windows, here:

1 Like