Skip to content

Chrome Manifest v3 extensions may be rejected due to "obfuscated code" #1464

@pauldambra

Description

@pauldambra

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
image
from #1394 (comment)

other context

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDK SupportGeneral SDK issues rather than being related to a feature team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions