News for hackers. Stuff that matters.
Re:How LinkedIn detects browser extensions by dawnerd on Tuesday January 08, 2019 @03:27AM (#18854161)
Ignoring everything else, it seems a bit weird a page can make requests to an extension's assets without originating from that extension.
Re:How LinkedIn detects browser extensions by kiallmacinnes on Tuesday January 08, 2019 @04:03AM (#18854275)
I guess this comes down to extensions that inject code / modify the page.

Extensions can choose if their assets are public or private, and if they reference the asset from injected code - it needs to be public.

It sounds like a better solution might be to track the injected / modified code, and only allow it to read the assets. But I'll bet there is some tradeoff i've no clue about preventing that from happening.

Re:How LinkedIn detects browser extensions by tinus_hn on Tuesday January 08, 2019 @04:13AM (#18854320)
Imagine an extension modifying a page and adding an image. How would it allow the image to load if that wasn’t possible?
Re:How LinkedIn detects browser extensions by dividuum on Tuesday January 08, 2019 @09:31AM (#18855697)
I would have hoped for some shared secret approach where the extension can generate one-time use urls for their bundled resources on demand and use those instead of easily predictable urls.

It seems that extensions like ad blockers that are explicitly targeted by such detection methods have ways for work around that (see https://github.com/gorhill/uBlock/blob/master/src/web_access...). I honestly would have expected for that to be the enforced default behavior.

Re:How LinkedIn detects browser extensions by dawnerd on Tuesday January 08, 2019 @01:50PM (#18858263)
I was thinking if an image is injected, it'd be injected by a script loaded from the plugin thus trusted.
Re:How LinkedIn detects browser extensions by tinus_hn on Wednesday January 09, 2019 @06:05PM (#18869936)
It’s a logical thought but that isn’t how it works.

A script doesn’t really inject an image, it injects an image tag which contains a reference to the image. As the image gets loaded there is no check who created the tag.