444
submitted 2 years ago* (last edited 2 years ago) by tavu@sopuli.xyz to c/privacy@lemmy.ml

@Joe_0237@fosstodon.org wrote:

Today I found out that google docs infects html exports with spyware, no scripts, but links in your document are replaced with invisible google tracking redirects. I was using their software because a friend wanted me to work with him on a google doc, he is a pretty big fan of their software, but we were both somehow absolutely shocked that they would go that far.

all 37 comments
sorted by: hot top controversial new old
[-] NabeGewell@lemmy.world 35 points 2 years ago

Id say this is a new low, but they might have gone even lower already

[-] LilDestructiveSheep@lemmy.world 18 points 2 years ago

Definitely gone lower.

[-] Shaul@lemmy.ca 25 points 2 years ago

How are people surprised? How is this news?

The second you mentioned Google you're talking about an all-seeing totalitarian state. Nothing you said about imbedding tracking links in docs is surprised. As a corporation they are always developing new ways to pimp you out and make you turn tricks for Google without you knowing while they keep all of the pay from your actiities.

Google tries to turn every human on the planent into their personal money making whore.

[-] insomniac@sh.itjust.works 18 points 2 years ago

Of course it’s not at all surprising but it’s still particularly egregious and should be called out.

[-] p_consti@feddit.de 20 points 2 years ago

It's the same thing in emails, if you use the web application. All links are redirect links over their servers.

[-] Sotuanduso@lemm.ee 17 points 2 years ago

I was skeptical about this, but yeah, I tested it, and can confirm.

[-] mspencer712@programming.dev 12 points 2 years ago

Are there any beneficial side effects? If they discover a URL is malicious after it’s been exported, would this allow them to intercept the click and stop someone from reaching the malicious site?

[-] d0ntpan1c 31 points 2 years ago

That's how Microsoft markets their "safe links" in Outlook, which is more or less the same behavior of wrapping all links with a redirect. Whether they actually do anything with that to save you from phishing attempts or whatever... who knows. Even if there is a safety feature, it's still an easy way to mine url query params for data or learn about the user for other purposes (which they may or may not be doing)

IMO if you can't turn it off, there's a secondary motive to the feature. Especially when the feature is marketed from a place of fear rather than aid.

[-] foksmash@lemm.ee 7 points 2 years ago

The MS security feature does work quite well (at least for Enterprise).

[-] 01189998819991197253@infosec.pub 1 points 2 years ago

I'm not sure I would categorize it as working "quite well". At least not in my experience. It's better than nothing.

[-] foksmash@lemm.ee 2 points 2 years ago

Ya, I would tend to agree and left out the context. It's not our only URL filtering tool, we have a full proxy and URL rewrite in email for that but it does help fill in gaps when people click links from devices we don't manage.

[-] Linus_Torvalds@lemmy.world 3 points 2 years ago

While I would be sceptical that this is the main reason, this might be a valid argument. Google can track users and protect the stupid users at the same time, who otherwise would endanger the public image of Google Docs('i GoT sCaMmEd oN gOoGlE dOcS')

[-] library_napper@monyet.cc 10 points 2 years ago

Google would argue that this is a security feature.

Many business intentionally do this in google hosted email. It allows google to display warmings about links to malicious websites

[-] FeelzGoodMan420@eviltoast.org 6 points 2 years ago

Can someone eli5 this please? What's going on here?

[-] Sotuanduso@lemm.ee 36 points 2 years ago

I have a Google Doc that's a statblock for an RPG. It has a link to the mage armor spell, which goes directly to https://www.d20pfsrd.com/magic/all-spells/m/mage-armor/.

I just downloaded that statblock as an html. Then I opened that html file. The statblock is there and it all looks pretty much the same.

But then I hover over the mage armor link and it instead goes to https://www.google.com/url?q=https://www.d20pfsrd.com/magic/all-spells/m/mage-armor/&sa=D&source=editors&ust=1696552528610887&usg=AOvVaw1Wgq9wmajthwTbYmk1EmHx.

This page immediately redirects to the proper destination in a fraction of a second. Blink and you'll miss it. However, it does allow Google to track that I clicked the link, and probably associate it back to me and/or the original document.

[-] FeelzGoodMan420@eviltoast.org 7 points 2 years ago* (last edited 2 years ago)

Thanks. Got it. Could a pihole potentially block this?

Edit: nvm then you just simply couldn't open the links.

[-] shrugal@lemm.ee 9 points 2 years ago

Afaik there are browser extensions that find and replace these kinds of tracking links with the original ones.

[-] FeelzGoodMan420@eviltoast.org 9 points 2 years ago

Oh, right. Like clearURL and certain ublock origin lists?

[-] Sotuanduso@lemm.ee 5 points 2 years ago

It's probably easy enough to write a script that will go through the generated HTML and just scrub out the Google.

[-] someguy3@lemmy.ca 3 points 2 years ago

So if there's only a few links, you could manually replace them?

[-] Sotuanduso@lemm.ee 6 points 2 years ago

Yes. You could probably also write a simple script that scrubs the Googles out.

[-] IWantToFuckSpez@kbin.social 2 points 2 years ago

Write your own exporter in Apps Script if you have to keep using Google workspace

[-] itwasawednesday@lemmy.world 3 points 2 years ago

What's layman words for this please?

[-] Sotuanduso@lemm.ee 4 points 2 years ago

Google has a thing called Apps Script that lets you write code to run on documents. You could write one that creates an HTML file from your doc without including Google's redirects.

[-] Joe_0237@fosstodon.org 2 points 2 years ago

@IWantToFuckSpez @tavu another option would be to parse the file and urls and remove the trackers from the formal export. Or to do it by hand if you don't to it much.

[-] Joe_0237@fosstodon.org 2 points 2 years ago
[-] tavu@sopuli.xyz 2 points 2 years ago

Hi! I'm over here on lemmy, and created this post as a link to your post. I don't think there's a mutually compatible way to repost/boost a mastodon post into a lemmy community, but this seemed close enough.

this post was submitted on 05 Oct 2023
444 points (100.0% liked)

Privacy

36579 readers
562 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS