-
Notifications
You must be signed in to change notification settings - Fork 170
Description
follow-up to #1394
that issue is very long already so I want to have a little more space to breathe for what is a separate problem that will have a different solution
see #1394 (comment) from @oliverdunk
his comment carried here:
I took a quick look and didn't see this code present anymore, We had a lot of discussion about this internally, which is why your review took longer than normal - apologies for that. In summary:
Creating a worker using a blob URL (this is what the base64 string in your rejection email is used for) violates the script-src policy we intend to apply to MV3 extensions. Due to a Chrome bug, this currently works and would only be caught during review. However, we would like to change that in the future.
Once that bug is fixed, this would be dead code in violation of our policies. Our usual rule is to still enforce on this code as (while it may be less likely in this case) we have definitely seen code that looks like dead code become active across updates and used maliciously.
Given the above, and that understanding this code is quite hard during review, we have decided that this does violate our policies.
see also
from #1394 (comment)
other context
- "(ultimately a dependency of PostHog seems to be using npmjs.com/package/rollup-plugin-web-worker-loader)" Unable to use with Manifest v3 due to remote code execution #1394 (comment)
- rrweb code has [Bug]: roll up plugin web worker doesn't create inline worker rrweb-io/rrweb#1377