News for hackers. Stuff that matters.
Re:Google no longer providing original URL in AMP for image ... by joshuamorton on Wednesday May 27, 2020 @03:25PM (#23328570)
> When you perform a GET request for these assets you are being monitored.

You'll only ever retrieve Google AMP cache results from the Google search page, where they were already able to track if you made such a request, since the link you clicked has trackers in it.

So from that perspective, nothing changes.

> PS: You work for Google. Do you work on this project?

No, I work on mostly internal infrastructure. My interest in AMP is simply that I don't dislike the AMP "experience", it's fine. But more importantly, I legitimately don't get the HN hysteria around AMP. Returning to your concern, literally nothing changes with AMP vs non-AMP.

I don't get it. The most compelling concern I've heard is that it's annoying to have to couple parts of your infra to AMP-standard stuff. And I sort of understand that. But even that isn't different than previous SEO/ranking changes that required changes to the page.

Re:Google no longer providing original URL in AMP for image ... by zwaps on Wednesday May 27, 2020 @05:12PM (#23330053)
Assume every website would use AMP. Like on mobile. How often do you get redirected to AMP already when you just click a random link? I sure do!

From then on, every asset it loaded via Google servers. Google now controls the entire internet. Google does this so it can serve its ads and track all users. It's as if I would only use Google for my internet surfing.

I don't use Google because I strongly believe it is an evil company, but if websites use AMP, then I am forced to hand over my data to Google even though I don't want to. Right now, I can block Google servers entirely. But if the entire web is served via AMP, I can't do it. And that's the whole reason AMP exists. So everything I do (or at least as much as possible) goes through Google servers.

You really do not see our concern? Really?

Re:Google no longer providing original URL in AMP for image ... by DevKoala on Wednesday May 27, 2020 @04:01PM (#23329150)
> You'll only ever retrieve Google AMP cache results from the Google search page, where they were already able to track if you made such a request, since the link you clicked has trackers in it. So from that perspective, nothing changes.

I am not affected, I don’t use Google search. The problem is for individuals who use Google search and now don’t have an option to avoid in deep tracking. The difference between regular pixel trackers and multiple data points associated with every resource a site serves is immense. I work in ad-tech, not particularly in the identification side, but I started multiple projects in that end. From experience, a regular tracker can be fooled, but you cannot fool every resource request. One of the things I did to identify ad fraud bots was actually drive them to a site in which I controlled every resource. The resource request fingerprint for bots was easily distinguishable from real people. Moreover, some humans exhibited navigation patterns that were distinguishable from other humans. I remember I caught a QA person doing a shoddy job of testing the front end once due to it. That is the kind of power that Google is acquiring as more and more sites choose to use AMPs. It is scary to think that a single identity has that power.

Re:Google no longer providing original URL in AMP for image ... by joshuamorton on Wednesday May 27, 2020 @04:37PM (#23329633)
Nothing beyond the initial page load is served by the AMP cache. If you request additional dynamic resources or navigate to other pages, you'll go to the originating site.

I'm confused.

Re:Google no longer providing original URL in AMP for image ... by DevKoala on Wednesday May 27, 2020 @05:20PM (#23330150)
In the example I saw, you could go through a mini site experience; you can “visit” the site without leaving the AMP. I don’t believe this one change, serving images from the AMP cache, is the issue. My concern is with the proliferation of AMPs. A lot of individuals will browse AMPs thinking their browsing is between them and the site publisher without realizing Google is in the middle. Honestly, Google has an okay track record of respecting people’s data. In their AdExchange, they are one of the few that obfuscates the IP address. However it is still concerning that a single entity continues amassing all those browsing patterns from billions of individuals. It can be abused easily, with intent or not.
Re:Google no longer providing original URL in AMP for image ... by gregable on Wednesday May 27, 2020 @05:22PM (#23330183)
@DevKoala, do you have an example where you encountered the "mini-site" experience? I haven't seen it, but it could be a bug that would be worth fixing.
Re:Google no longer providing original URL in AMP for image ... by monadic2 on Wednesday May 27, 2020 @05:41PM (#23330419)
AMP also offers traffic after the load, so this is in no way comparable to a click tracker (which is also none of their business, btw). This will also offer in-band ad obfuscation eventually.

I’m curious, what do you value about the services you consume? I like transactions where I know what I am giving to the service provider. Do you really want to push away from this reality for the benefit of a few MS load time leaving a search page? That’s essentially what you’re arguing for.

Re:Google no longer providing original URL in AMP for image ... by 0x0 on Wednesday May 27, 2020 @04:24PM (#23329457)
> You'll only ever retrieve Google AMP cache results from the Google search page

Uh, I keep seeing Google AMP URLs shared on social media, emails, etc etc. Which is quite annoying :(

Re:Google no longer providing original URL in AMP for image ... by gregable on Wednesday May 27, 2020 @05:19PM (#23330137)
The AMP team doesn't prefer these URLs shared either:

If you click the browser share icon, or trigger the browser native share intent, the origin URL will be shared, not the AMP Cache URL. Only if you explicitly copy the URL bar will the AMP Cache URL be shared.

The Signed Exchange spec that AMP has offered sites for a year now allows them to have their own URLs displayed in browsers that support it. In that case, the google.com URL will never be displayed and thus can't be accidentally shared.

All AMP documents on the AMP Cache contain `<link rel=canonical href={origin url}>` and Google recommends that social media prefers the canonical URL. This is useful outside of AMP as there are often multiple URL variants for any article. The sharer and sharee may not ideally get the same version. As an example, a mobile vs. desktop article.

Re:Google no longer providing original URL in AMP for image ... by 0x0 on Thursday May 28, 2020 @02:33AM (#23334144)
That's really quite useless. I rarely share links by clicking weird "share link" buttons. I usually have half a message already composed in mail/messages/slack, and I just want to cmd-L cmd-C in the browser and cmd-V in the message I'm writing.

Also, "the google.com URL will never be displayed" is a world with an internet I don't want to be a part of.

Re:Google no longer providing original URL in AMP for image ... by gregable on Thursday May 28, 2020 @04:54PM (#23342453)
Google never displays AMP documents on desktop (sans mobile emulation), this won't be an issue.
Re:Google no longer providing original URL in AMP for image ... by 0x0 on Thursday May 28, 2020 @06:44PM (#23343867)
The workflow I described goes for mobile and tablets just as much as desktop; for the cases where a keyboard is not connected please mentally replace "cmd-l cmd-c" with "tap in address bar to select, tap copy".

Also, others might share an amp link from their mobile devices, which I then end up clicking in a desktop slack/mail/messages app, and there we go again with the amp virus even on desktops.

Re:Google no longer providing original URL in AMP for image ... by taveras on Wednesday May 27, 2020 @07:11PM (#23331309)
Exactly this. As a feature, social media platforms should automatically look up the canonical URL for a linked page.
Re:Google no longer providing original URL in AMP for image ... by labster on Wednesday May 27, 2020 @09:38PM (#23332446)
I’m sure IRC v3 will get right on that. /s
Re:Google no longer providing original URL in AMP for image ... by searchableguy on Wednesday May 27, 2020 @09:29PM (#23332357)
If someone wants to detect whether a website is using amp, what would be a good way to do it?
Re:Google no longer providing original URL in AMP for image ... by gregable on Thursday May 28, 2020 @04:57PM (#23342500)
It's more of a question of if a specific document is using AMP, the site can be a mix. Just like a site using jquery as an example.

An AMP page can be identified by examining only the first few bytes of the HTML. The `<html>` tag will contain either the `amp` or lighting-bolt emoji attribute, ie: `<html amp>`.

Technically an AMP document must pass AMP Validation to be truly AMP, so there are documents that match the above condition which aren't valid AMP. There are multiple ways to validate. A starting place is https://validator.amp.dev/

Re:Google no longer providing original URL in AMP for image ... by robin_reala on Friday May 29, 2020 @09:53AM (#23349974)
If you turn off Javascript the site won’t render for 8 seconds if it’s an AMP.
Re:Google no longer providing original URL in AMP for image ... by yyyk on Wednesday May 27, 2020 @04:28PM (#23329503)
>You'll only ever retrieve Google AMP cache results from the Google search page

I see quite a few AMP cache results being shared on twitter (for example).

>where they were already able to track if you made such a request..

It's still possible to get raw Google results (with the right extensions/browsers), though I wonder for how long.

Re:Google no longer providing original URL in AMP for image ... by kohtatsu on Wednesday May 27, 2020 @04:03PM (#23329184)
Would you bat an eye at Google acquiring CloudFlare?

What they're pushing with Amp and the related technologies grants them a near-unavoidable man-in-the-middle position.

(FWIW I am careful to avoid Google properties at a pretty high cost.)

Re:Google no longer providing original URL in AMP for image ... by joshuamorton on Wednesday May 27, 2020 @05:13PM (#23330058)
> Would you bat an eye at Google acquiring CloudFlare?

Not anymore than I already do bat an eye at cloudflare.

(It's probably worth noting here specifically that I do work at Google, so my risk profile is probably different than yours, for me personally and speaking solely from a trust perspective, I'd probably prefer it if Google acquired CloudFlare since I would get a net increase in transparency, but I can understand why that isn't a general position, and there are other reasons I don't think Google acquiring cloudflare would be good).

Re:Google no longer providing original URL in AMP for image ... by kohtatsu on Saturday May 30, 2020 @06:38AM (#23360123)
Thank you for taking the time to engage. Google is a scary beast at the end of the day, and I firmly believe it's an organism that should not remotely resemble what it is right now. Splitting it has potential to go a long way thinking about it.

I share these fears to a lesser degree with Microsoft and of course Facebook. Apple seems to do a great job of safeguarding, but they could become sour if they don't remain careful. Stuff like Clearview crosses the line into directly-dangerous. CloudFlare is currently innocent in my eyes, but they've managed to centralize a lot more channels than I'd like to think about.