I have a long-standing extension in the Chrome Store with ID
ehomdgjhgmbidokdgicgmdiedadncbgf. A few days ago I received a Red Titanium Code Obfuscation warning. The warning cited this:
- Violation reference ID: Red Titanium
- Violation: Having obfuscated code in the package.
- Violating content:
- Code snippet: gmassloader.js: var scriptstoget = ['https://' + loaderDomainCDN + '/ext2022/gmasssdk.js'
- How to rectify: Replace the obfuscated code with human-readable code and resubmit the item.
I assumed that the warning was related to the obfuscation in the remotely loaded script gmasssdk.js. That script did have some minor obfuscation -- hex variables instead of human-readable variable names. So I UN-obfuscated that, and re-submitted, but the submission was rejected for the same reason.
Note that I'm still on Manifest V2, so I still have remotely loaded scripts.
Can anyone provide any insight as to why my submission after UN-obfuscating gmasssdk.js was rejected? Could it be that THIS actual line is considered obfuscated:
var scriptstoget = 'https://' + loaderDomainCDN + '/ext2022/gmasssdk.js'
loaderDomainCDN is just a variable representing the host that the script is retrieved from. The reason it's a variable is because different endpoints are tried until the script is successfully retrieved, since some networks block certain domains.
Thanks,
Ajay Goel