Skip to content

How secure are clipboards on Linux? #298

Answered by wj25czxj47bu6q
jermanuts asked this question in Q&A
Discussion options

You must be logged in to vote

There is no clipboard security on desktop Linux except in two known cases:

  • Qubes OS clipboard isolation between VMs
  • virt-viewer/remote-viewer's toggle to enable and disable clipboard sharing from the host

Even on GNOME Wayland which implements security restrictions for several dangerous APIs, an app can read the clipboard simply by being in the foreground, and this allows utilities such as wl-clipboard to work without any user notification or approval.

Clipboard history is a separate issue entirely. In reality it is not any more dangerous than browser cookies, which also contain numerous secrets that can be trivially extracted by any unsandboxed app. If shoulder-surfing is a concern, th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wj25czxj47bu6q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants