> But the attacker website can itself hook the XHR made from inside the no-fetch-if hook to extract the random extension UUID.
Oh great. I recently learned[0] that some Firefox extensions can be tricked into leaking their install-unique UUID, which can then be used as a tracking identifier. Today I learn that any site can get my unique uBO UUID by hooking fetch('/adsbygoogle.js').
That is... an ironic disaster.
Chromium used static IDs for web accessible resources until very recently, and even now it's only optional for extensions to use dynamic IDs. This page enumerates extensions with non-dynamic URLs in Chromium: https://browserleaks.com/chrome