928 points · by dondonleroy · 6y ago · 360 comments
https://twitter.com/eberger45/status/1278843576638570496
------ Hi @DonCubed . Appreciate you raising this. We've traced this to a code path that only does an equality check between the clipboard contents and the currently typed content in a text box. We don't store or transmit the clipboard contents.
----------
An example of this is in a library we have open sourced, and you can find the fix here [https://github.com/linkedin/Hakawai/ (https://github.com/linkedin/Hakawai/pull/161/files/3881de368...). We will follow up once the fix is live in our app.
-----------
the code and and comments are here: [0] https://github.com/linkedin/Hakawai/pull/162/commits/c3f8958...
People no longer give them the benefit of that doubt because of the reputational damage these previous violations have caused.
They should stop making "innocent" mistakes with other people's privacy and deal with this more professionally at the highest levels.
If they don't people will continue to jump to the conclusion that this sort of activity resembles criminal behaviour.
[1] http://www.pcwelt.de/news/LinkedIn_liest_Ihre_E-Mails_mit-In...
Take a step back and look at the entire forest: The outrage is over an app accessing data specifically designed to be shared across applications. That's what Copy fundamentally means- make this thing globally available to all my programs. You can poll pbpaste/xsel in your terminal and generate a log of the clipboard buffer without any privileges. Does this mean an untrustworthy app could, in theory, snoop your plaintext password copied from a password manager? Sure, but that's a separate discussion.
Ask yourself, does it make sense to implement clipboard snooping in a way that polls the pasteboard on every keystroke while an input form remains in focus? No, that's weird, there's obvious bug stench. LinkedIn may be nefarious, but defaulting to instant outrage and lack of critical thinking is the real concern here.
If you’re a shitty company (TikTok, LinkedIn) people are going to assume you’re acting shitty when it looks like you’re acting shitty.
The reaction from people in this thread is the result of occam's razor.
If site is caught doing shady things repeatedly over the years and then another shady thing is revealed. Most likely/simple explanation is that they are doing jet another shady thing.
Same goes for TikTok and Zoom for me.
Not sure what DDG saga you mean, i must have missed that.
Then on the Microsoft purchase they redid their site in some crap javascript framework that keeps reloading elements and is 3x as slow as the previous version of the site.
I didn't even assume malice when i read the article title, i assumed incompetence.
This reads for me like:
As an example of this I go to the shooting range every Friday, just for fun, as you can see it on this picture I published on FB, that's why I didn't shoot my neighbour.
He may be right, but that's not an evidence. And we are talking about a company acting like a con man since ages.
I don't have any reason to not believe their explanation. And I don't think my clipboard is useful to them for anything else. Many other apps are doing it as well and a few of them gave the same explanation.
But, that doesn't mean that copying clipboard is a good idea. I don't like any app to copy my clipboard. I also don't like it that apps/companies don't respect any boundaries unless it's forced/blocked by the OS. They just try too hard to reach where they don't need to reach.
If there wasn't enough restriction from the OS, surely someone has already came up with a "creative" idea to detect spammers using front camera or reading device storage and a lot of apps were using it. I don't like it that companies aren't sensitive about user rights and what users feel about what they are doing.
Why not? They've been engaging in very, very dark gray area things before.
> And I don't think my clipboard is useful to them for anything else.
Don't you ever copy paste anything mildly interesting, like email-addresses, phone numbers to add to your address book, form contents before submitting a form in case the site is terrible and resets the form on error etc? I'm sure they'd love to get their hand on that information, as it'll allow for data mining to better "understand you".
My preferred news reader Feedly uses the out of process embedded WebView so its a moot point.
I managed many marketing campaigns on Linkedin over the years and spent thousands each month on the platform as a corporate user. If you think that paying for the service you'd be excluded from their shitty ads and get more granular opt-out features than under a free-subscription model - but nope.
they have literally done nothing to deserve any trust from their users. People still use it because they tell themselves "I might need it one day when I look for a job". That's also wrong - if you're doing it right you build good social connections in the real world because most (if not the only things) you get from LinkedIn is scams.
The only upside where I find LinkedIn useful is for OSINT purposes. It's very easy to find all types of people there and get a rough picture how companies are run (what their employees are working on and what security problems that might imply) and build what the recruiting industry calls talent-maps (competiter analysis) which can be useful in infosec for threat & counter-intel. But it has 0 value for any legitimate purposes (that they advertise the service for).
We had to pay around ~5,00EUR for each and every click on "Apply" to our job posting, which doesn't mean they even filled out the form.
And now, where LinkedIn is full of Indian scammers (not meant in a racist way, but it is definitely perceived that way) we had costs for a "Local Area" limited job posting for hundreds of people from India because they seem to use LinkedIn via proxy.
When we had costs of over 2800EUR for an ad that was displayed less than 8 days, where literally 100% of people were not even from Europe, we decided to fuck this shit and move on to other platforms.
LinkedIn is absolutely useless. Use University job sites, local meetups (during non COVID times, of course), or open source projects to identify devs that actually care about code.
Also, stackoverflow talents is useless. Their "special startup package" of getting access to the platform for 2500EUR is only for one user, limited per email and phone number, not allowed to login in parallel. Every job posting costs additional 400EUR even if nobody applies for it.
You get nothing, as over 90% of people we have actively talked to are not even looking for a job and never clicked that on any stackexchange platform.
I didn't realize how fucked recruiting is. Srsly, somebody needs to fix this.
I've lost count of the number of devs I've spoken to, over multiple decades, who are convinced recruitment is ripe for disruption. I'm sure everyone else has the same experience.
And yet, recruitment's still here, more or less unchanged. At this point I'm pretty sure recruitment has always been terrible, and will always be terrible. There's some perverse incentive buried deep in the process that can't be shaken out. Or something.
It probably won’t be solved by tech folk as it’s a squishy people problem that’s hard to quantify (case in point: threads on HN bemoaning robotic HR processes att FAANG)
(I'm not Indian but) the non-racist way to say that is 'full of scammers', since the scammers' nationality has nothing to do with your distaste for their behaviour.
Also, there seems to be an Angular rickandmorty heroes-like tutorial somewhere available in the Indian speaking web, as literally all of the scammers had exactly the same codebase with various differing mistakes or variable names, but with identical structure in their github profile, and all uploaded it just a couple weeks ago.
(And they all claimed to have years of experience with it, of course)
That's not a LinkedIn problem, it's a "I've posted an attractive job ad" problem.
My first job was through recruiter page but my current job I got through a recruiter contacting me on LinkedIn. He even bumped my salary up by 15% from initial offer (because his cut was based on the salary and I also had another offer on the table).
It is a pretty valuable tool for a person moving countries for sure. Although I'm in Asia atm, I even got connected to a startup in SV while I were looking for jobs.
We should blame the real owner. Maybe they'll pay more attention if these practices become tied to their overall brand.
They conveniently forget your mail settings periodically, too, forcing you to opt-out of various garbage again, or to just trash all the mail. They're at least as scummy as FB, if not worse.
My (related) new rule: if your site demands a phone number for an account, I will not create an account on your site.
For email I use <site>JGM.io (my own domain). If I see that address being used elsewhere I know who's being a bad boy
Now, they have support for TOTP apps which we can use without giving LinkedIn our phone number and they claim 'Mobile phone numbers added here won't be displayed on your LinkedIn profile.'; But I'm not willing to test it, not entering my phone number in LinkedIn ever.
Probably half the interviews I’ve had over the past decade have come from LI, and I think at least 4 or so jobs (including my last and most recent) started there.
It was largely useless in the aughts for me, but not lately.
Why won't LinkedIn let me see contacts that are 2nd-degree contacts via only him? I have no idea. But this mentor specifically asked me to go through his contacts and look for people I'd like to be introduced to, and I literally can't see a single new person as a result of connecting to him.
The more people see this user-hostile practice in action, the faster we'll be rid of it.
I would agree with this one most of the time, but even their desktop web is horrible in Firefox. It wouldn't load the pages/header with buttons, wouldn't show new messages from time to time.
I might dislike the platform but it helps me keep contact with my past coworkers and keeps valuable offers come to me for basically no cost.
This is likely why LinkedIn thinks they can be shitty to their users, because their users are motivated to stay.
I have had many job discussions/offers come through my LinkedIn mailbox from competitor companies.
It also is a great place to add the colleagues when they or you depart with the same idea to "keep in touch".
Of course, the responsible part of me knows that’s a bad idea. Sigh.
I expect to see an actual clipboard permission at some point.
When I want to login I have to paste my password, when I want to paste an email address into a Linkedin chat I need the clipboard.
So everyone would just grant that permission anyway as it makes a lot of apps useless without and they'd just continue their harvesting after that. It would be a very small percentage to selectively enable/disable the clipboard permissions for certain tasks.
Being able to read the clipboard without the user knowing would.
Most people would click "accept" on the permission and never think about it. "Oh of course I need the ability to copy/paste on tiktok, how else will I paste 90sMusicChallenge in the search bar?"
Apple claims that you consented you this when you agreed to the App Store TOS.
0: https://hugotunius.se/2019/01/23/going-spelunking-with-mitmp...
E.g. a phone dialer app that asks if you want to dial the number in the clipboard when you start it, an image editor that asks if I want to create a new image size the dimensions of the clipboard, a torrenting program that when I choose to import a torrent automatically grabs it from the clipboard before I even get the choice to pick another option (though I still can).
I would be very surprised if this wasn't originally part of something like that, and maybe the feature was removed but the detection function wasn't.
Because if we put down our pitchforks for a second, LinkedIn is owned by Microsoft, which also owns a major browser and the world's most popular operating system. Microsoft sure as hell doesn't need to sniff your clipboard in LinkedIn, if it wanted to do something for nefarious purposes.
Never attribute to malice that which is adequately explained by stupidity.
The original report is a combination of iOS and MacOS so Microsoft does not have any kernel level leverage.
I don’t doubt it’s not malicious. More likely a holdover from an older or related feature.
The real story here is how easy it’s been for apps to spy on your clipboard. Seeing it in something by a large company like Microsoft just adds to the sensationalism. The TikTok version of this story is the real deal.
Well you're wrong about that.
> Nobody is ever going to touch it until something like this happens.
And that's the problem. A problem a company like Microsoft has the cash to avoid. They could hire more QA staff, but instead they've sacked tons.
Note that malice on the part of the corporation does not necessarily imply any individual at the corporation had malicious intent, although that can never be ruled out. Specifically, I am not claiming the intern who wrote the shitty code and forgot about it had malicious intent. Rather the organization itself is malicious, because it's a paperclip maximizer.
This.
Somebody had to scramble to remove the clipboard code ASAP: https://github.com/linkedin/Hakawai/commit/fa7e8497040f5c36e...
Edit: Don't do mobile, but seems like it was a hack to distinguish between text that was pasted and text added by autocorrect
[1] "How popular apps can read your phone's clipboard without permission": https://www.mysk.blog/2020/03/10/popular-iphone-and-ipad-app...
[2] "Popular iPhone and iPad Apps Snooping on the Pasteboard": https://www.telegraph.co.uk/technology/2020/03/30/popular-ap...
They didn't say it was. They're saying they're looking forward to the next major release which alerts the user when this happens. That's why all these stories are coming out right after the release of the beta.
In Chrome on Android, the flag you want is under Settings | Site Settings | Clipboard | Ask before allowing sites to read text and images from the clipboard, and I think it's on by default.
The current feature being added allows this to happen, for awareness to be raised.
To be honest, I'm surprised we haven't heard of more snoopy apps already, but, I guess that will come when the feature's out of beta.
What do you expect when the CEO holds an MBA?
Screw permissions flags. Clipboard-sniffing is never justified. Moving data out of the clipboard should only ever happen by direct user request via the OS interaction layer.
I understand the outrage over apps abusing their access to the clipboard but what I don't understand is the people acting as though the OSes they use on the daily don't have the exact same "flaw".
> 1) does not break common programming techniques (e.g. an application rolling its own GUI, or implementing its own modes/keybindings)
A callback method that you can define to do anything you want in your program when the OS hands you the result of a user initiated paste operation because your program had focus. If you want custom keybindings to initiate the paste operation, you can register that desire with the OS. Want something perpetually backgrounded that exists exclusively to steal your secrets? Make _that_ a special permission if you must. Or just don't allow it.
> * 2) is not trivially spoofable by the enterprising developer?*
Ignoring the _minor_ contradiction of mixing "trivially" and "enterprising", rolling your own GUI and defining keybindings doesn't mean that you control access to the interface. The operating system mediating the hardware does that.
Could someone root your system and blahblahblah? Sure. But let's stop making "steal my secrets" part of the fucking standard system API and start working toward a brighter tomorrow.
It's like people have either been gaslit into thinking that there's no sane alternative to the current nightmare or are so shortsighted that they don't understand the horrors lurking around every corner that wouldn't be there if they stopped to consider the consequences of [checks notes] "google maps doesn't require you to to paste the address in before it starts to route" and "dash can drop a markdown formatted link". Because saving you one click is surely _so_ important that it's worth giving up everything for.
Edit: Apparently it's Just A Thing: https://support.apple.com/guide/mac-help/copy-and-paste-betw...
But you can turn it off by turning off "Handoff", which luckily I already had. Nowhere is it mentioned in the settings UI that this extends to your clipboard.
Now how many other apps do this.
That's where we are with the market power of the big players. Google, facebook, apple, linkedin etc. Use the competition to linkedin in this space? You lose. The end.
The way we have always dealt with market power abuse in the past is via a combination of breaking up dominant players and regulation. The longer this wild abuse of market power goes on the more likely that this will be done in a bad way with pitchforks rather than a sensible, measured, outcome driven way carefully weighing the competing intrests to get what is best for the wider population in the medium and long term.
Also the fact this is legal at all is another case of everyone in law making, courts and enforcement having their brains fall out of their ears as soon as the words "using computers" are uttered. Do the exact same thing in any business where a computer is not used to do that thing and you are going to jail. It's break and enter. But "using a computer" so it's fine with the laws all no longer applicable.
Call it incompetence if you want, but there's a certain flavor of evil incompetence here.
I know it's Hacker News and it's easy to criticize LinkedIn for shady growth practices and get praise for it. They often deserve it, but assigning malicious/growth intent for every change they make is misguided.
Fixed by switching to firefox and blocking redirects.
There might be a thin guise of "security" (i.e. email isn't a secure place to send your top-secret inbound message) but I'm inclined to suspect the main motivation is to drive people back to the platform and drive up their stickiness metrics.
It's user-hostile.
I'm sure in A/B tests it increased engagement...
Some other silly shit that come to mind - having the unsubscribe link after half/full page of white space, once you click on unsubscribe "give us 24 to 48 hours to remove your email" etc. Really? they need 24 hours to delete (or change a flag) in the database?
His book is also staggering insight into how little ability he has an executive and investor (some of the stuff is intern-level mistakes, like maybe juniors who are in their first week and got the job because of daddy...but even then...rare).
Give it a few weeks and people will start posting articles about how it happens on PC / Mac platforms too.
Though some apps I trust more with how they use the clipboard data or only restrict it to certain types, eg: image data for a photo viewer, urls for a browser, tracking code for a delivery app
All the limitations I found on web pages that asks me to download the app are artificial. What is reddit doing that requires an app? What is facebook doing that requires an app? There is even less reasons now to use the YouTube app.
I'm uninstalling this app from my phone now. This isn't acceptable!
Apple's Universal Clipboard may share your clipboard across devices.
GET parameters aren't usually visible to users; with the deemphasis of the URL bar, you'd have to have an incredibly short URL for that to even be a possbility. Right now I'm looking at
https://news.ycombinator.com/reply?id=23717577&goto=item%3Fi .......
That's one visible parameter. There's PLENTY OF SPACE for firefox to show the rest of the URL, but it won't; instead, a bunch of icons are unhelpfully crammed into the same horizontal layout.In the larger sense, where users can see the parameters if they intentionally look for them, despite the fact that they are normally invisible, POST parameters are just as visible.
Right click on the "crammed" icon area, pick "customize", and then you can drag and drop the icons crammed into the space into another bar (or out of the UI entirely if they are icons for things you never use), which should then recover much of the lost space.
upsellOrderOrigin=premium_badge_profile_upsellI am curious what LinkedIn is actually doing with the data. Is it being exfilled somehow? Or is it just doing something in a really dumb way? I don't trust them at all to not be taking the data, but what purpose does it have?
They patiently read user's clipboard data and wait for a picture taken and copied to clipboard, then extract its EXIF geoloc tags and send the coordinates to the police.
if you agree with that premise, then it's no surprise that every possible source of data that can be collected upon, will be collected upon.
Every digital application that can be used for surveillance and control will be used for surveillance and control, irrespective of its originating intention.
Coined in the early 1980s, in The Age of the Smart Machine.
Apple is doing the right thing. These other companies appear to have the issue.
[+]:A sample pipe might be a good analogy for this behaviour. You cut or copy the input, send through the sample pipe, and the receiving end unpacks, receiving itself makes the sample disappear for further use. Multiple samples could be sent through the pipe, though the pipe should behave in a LIFO, no sample adding allowed after removal starts, manner if this is desired.
Seriously, has anyone complaining about this actually paid any attention to how clipboards work on their OSes before this?
GNOME has a Wayland implementation too, and what I said only applies to GNOME native apps.
It would all be a lot simpler if browsers and other operating systems just implemented an API call for obtainAllMyPrivateInformation(). That's clearly what developers like LinkedIn (and TicToc, etc.) are looking for.
We have allowed empires to be built on scummy business practices that are fundamentally user hostile. We are under no obligation to maintain them.
This shit is on literally every platform, it's inescapable, and at this point necessary to participate in society.
He's typing IN the LinkedIn app though, right? Can apps read the clipboard when running in the background too?
There are so many programs using this that it all boils down to trust.
Personally I don't trust LinkedIn so I keep away from them. But in this case they still might have a valid reason for this.
The fix: be more transparent about why the app is doing it. And the browser/OS could show a popup every time an app reads the clipboard to make the user aware of this.
Maybe the popup should not show when the user presses 'paste'. But I believe awareness is the first step.
Here I've justified the $100 yearly developer fees in that they have this rigorous checks, but apparently they're not really checking the apps?
This is apple failing us, nothing else.
Every time I paste something in iOS Mail it will inevitably get pasted as "rich" text where I have to put extra effort to clear that formatting (paste it into a plaintext-only input field, then copy from there).
The discussion around this is so strange and weirdly nontechnical to me.
The moment I draft such a feature my head turns red from all the alarm-bells going off. I sincerely fail to follow the though process here.
I wonder if they are using some tracking software and that is doing this. My guess is every tracking software does it.
I try to visit it as little as possible.
Looking forward to msft/linkedin employess minusing me into oblivion haha
* Remember kids, experience only counts if you've done it for realsies at a job, never mind how long you've actually done it.
Sounds like the OS is the root problem here.
As a hiring manager it makes looking at work history easier. I can click through to companies I don't recognize to learn more about them. Not having a LinkedIn profile wouldn't be a negative for me, it just makes my life easier.
If you're a random internet weirdo who uses a public interface in an unexpected way, you face decades in prison. [1]
[1] https://www.wsj.com/articles/SB10001424052748704312104575299...
The other day I tried to view a subreddit in Safari. It was literally impossible, it was claimed to be only available in the app.
That said, it's ridiculous that this is necessary.
Edit for those interested:
tl;dr: "asynchronous clipboard API" [0]
Overtly, it's used by shit news sites like WSJ, nytimes, and bloomberg to inject their shit into your clipboard when you copy-paste. A common thing I've noticed is selecting text, copying the text, and then pasting somewhere and seeing a link to the original article instead.
I'm not sure if they're still doing it; there has been several people complaining about this over time [1] [2] [3] [4] [5] [6]. I found this awesome article on the Security StackExchange from 2013 [8].
Also it's not just javascript. You might be forgiven to think that using a command-line interface would spare you. Unfortunately you'd be wrong; mosh, tmux, vi, emacs all support your terminal emulator's clipboard events. [7] [8]
[0]: https://www.w3.org/TR/clipboard-apis/
[1]: 4 months ago: https://news.ycombinator.com/item?id=22352674
[2]: 4 months ago: https://news.ycombinator.com/item?id=22446940
[3]: 8 months ago: https://news.ycombinator.com/item?id=21377598
[4]: March 2019: https://news.ycombinator.com/item?id=19384895
[5]: December 2017: https://news.ycombinator.com/item?id=16034854
[6]: September 2015: https://news.ycombinator.com/item?id=10301881
[7]: Three months ago: https://news.ycombinator.com/item?id=22815757
But they can copy to your clipboard for you, a lot of services use "Click to copy" features. But reading is much harder.
iOS before 14.0 appears to have allowed apps to read clipboard contents without making that clear to users. Now that you get a notification whenever an app reads the clipboard, it has become fairly clear a lot of apps are reading clipboards constantly. For what… we all wonder.
Incorrect; the API is here [0].
[0]: https://www.w3.org/TR/clipboard-apis/#dom-clipboard-read
It is at least supposed to be hidden behind a permission. What's the default for that permission though? I sure hope Google^H^H^H^H^H^HMicrosoft^H^H^H^H^H^H^H^H^Hsome evildoer doesn't find a way to override your permission setting. A reset of configuration data after an automatic update might do the trick...
> And your [8] seems to be about the user deciding to paste unsafe content — totally different issue, isn’t it?
Perhaps you are right. I won't claim to fully understand how tty programs work. However:
* `emacs` documentation describes an ability to interact with the user's system clipboard [1].
* `tmux` integrates with the user's system clipboard [2].
* `mosh` apparently caches the user's system clipboard [3].
* `vim` has special registers to represent the user's system clipboard [4] [5].
If the system is using dbus (nearly every Linux based OS), it's pretty easy to do. Here's a python script using GTK to do so [6]. A high level overview of the clipboard is described in the freedesktop specification [7].
I think it's really unfortunate that desktop and CLI software is so insecure.
[1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cl...
[2]: https://superuser.com/a/1336764
[3]: https://superuser.com/a/1336764
[4]: https://vi.stackexchange.com/a/96
[5]: https://vim.fandom.com/wiki/Accessing_the_system_clipboard
[6]: https://stackoverflow.com/a/21337063/1111557
[7]: https://specifications.freedesktop.org/clipboards-spec/clipb...
I'm not saying this is true, rather asking if I got the wrong impression.
An app doesn't need access to the clipboard unless I'm actively pasting to it while it's in focus.
https://news.ycombinator.com/item?id=23716931
right?
And people immediately jumped to the conclusion that TikTok is some evil company, controlled by the evil China government?
But yet, here, people are giving the benefit of the doubt, that LinkedIn just made some boneheaded decision without thinking things through.
On a close reading, I don't think you have actually asserted that any person is biased or inconsistent...despite your tone that the climate is biased.
What are you really saying?
It’s almost like letting the community maintain and control the software results in better user experience.
In fact, Linux literally does not have a built-in system clipboard.
These apps have access to everything and don’t abuse that access.
That kind of stuff is not beyond them.