Live data from Hacker News

Who keeps an eye on clipboard access?

blog.ovalerio.net

1–10 of 147 posts

Re: Who keeps an eye on clipboard access?

#4
post #2

To what degree does Wayland solve this compared to X?

I believe in Wayland, only foreground applications can access the clipboard. I can’t recall how poorly XWayland fares; I suspect it just bypasses the security boundary. Nonetheless, still useful, especially e.g. for sandboxed apps.

I don’t think clients can, without extensions, watch for who’s snooping the clipboard. However… it probably wouldn’t be difficult to integrate this into the compositor. You could even imagine a Wayland protocol for watching clipboard accesses, or god forbid, a dbus service for doing so.

Re: Who keeps an eye on clipboard access?

#5
On recent Android versions you get a pop-up notification whenever an app accesses the clipboard. (I think it doesn't notify for the active app, or maybe it doesn't notify for explicit user-initiated clipboard interactions, I'm not sure exactly what the rules are.) If I saw any app repeatedly accessing the clipboard for no discernible reason, I would definitely uninstall it.

Re: Who keeps an eye on clipboard access?

#9
post #8

Is it possible to deny clipboard access to every application and only pass the info through stdin through the explicit ctrl-v or pbpaste/xclip/whatever?

Yes, on Qubes OS, https://qubes-os.org. It's based on VMs for secure and transparent compartmentalization.
Post reply on HN