logoalt Hacker News

ryandrake • yesterday at 7:55 PM • 7 replies • view on HN

I feel like the clipboard is something that is on computers today only because it was invented back when dinosaurs roamed the earth, and we can't get rid of it as a concept because it's so ingrained in computing.

If we never had the clipboard (on any computer, not just Android) and it was suddenly invented today, it would never pass any major company's privacy or security review. Here we have something that allows the user to share any data instantly with any process that happens to be listening, including sensitive things like credentials, personal information, the works. It's a security nightmare! In today's paranoid times, no OS would say yes to a new feature like this, but we keep it because it's legacy and it can't be gotten rid of at this point.


Replies

simonra • yesterday at 8:21 PM

It works moderately well in securing against a program going rogue and trying to prevent the user from moving the data on their device to another program serving them better. (Or underrated but important, making it less painful to enter and re-enter information in say a dark pattern subscription cancellation form.) Unfortunately it's easily defeated as a security mechanism, but it's still way better than nothing.

david422 • yesterday at 8:07 PM

What would you do instead?

➕ show 1 reply
afzalive • yesterday at 8:08 PM

One simple solution is just to gate the programmatic access by confirming with the user when the app wants to read the clipboard.

➕ show 1 reply
pluralmonad • yesterday at 8:07 PM

Your comment is bordlerine absurd given the utility of such a thing as copy and paste. If it is satire, then you got me.

krapp • yesterday at 8:15 PM

Today's paranoid times?

The current status quo for software architecture is giving a swarm of LLM agents root and full access to user data and letting them run amok, unsupervised, connected to a proprietary remote black box service either being monitored by Palantir or the CCP. What is this "paranoia" you speak of?

dzaima • yesterday at 8:35 PM

Could make a copypasta out of that (ha, ha.).

But like that genuinely applies to a quite large amount of things. Screenshots, screen recordings, actual regular physical cameras, unencrypted physical cables, publically-usable GPS, microphones, etc. (these are even reasonably-realistic - Wayland & phones have restrictions for screen(shots| recording), backslash on cameraful glasses, DRM, criticism of airtags, leaking typed text through the typing sounds)

Could even go broader and count in people being non-anonymous online, and people being anonymous online, as both being bad for security; were the world to have settled on one, the other would be utterly crazy.

Giving semi-arbitrary anything to LLMs should absolutely very-trivially count in this too, except that for whatever reason it's very often just not? Clipboards would get a pass just fine.

➕ show 1 reply