Re:The Great Suspender: New maintainer is probably malicious
by megous on Sunday January 03, 2021 @10:38AM
(#25622323)
I've found extensions doing malicious things that were not obfuscated, by inspecting the code. Obfuscated code is just not worth installing at all. Too much work, for little benefit, to review it, when alternatives exist.
Re:The Great Suspender: New maintainer is probably malicious
by blindm on Sunday January 03, 2021 @10:38AM
(#25622327)
> And why is this?
I'm not saying all obfuscation is necessarily bad, just something to look out for if you're trying to sleuth around for malicious intent by the addon's author.
Typically if you want to hide the fact you are collecting the browsing secrets of the addon's user, you would use some form of obfuscation (in order to have the addon in good standing by Mozilla and to stop a simple sweep by people like myself who first look for things like http:/https: in the source).
Note: Obfuscation is NOT the same as minification, and I don't mean minification when using the word obfuscation!
Re:The Great Suspender: New maintainer is probably malicious
by unethical_ban on Sunday January 03, 2021 @06:23PM
(#25626265)
There is no reason /to/ use obfuscation in good faith if the code is open source.
Re:The Great Suspender: New maintainer is probably malicious
by tobylane on Sunday January 03, 2021 @10:38AM
(#25622324)
Then it’s a sign that they haven’t open sourced their extension, which is a red flag. Minification may be acceptable though pointless.
Re:The Great Suspender: New maintainer is probably malicious
by eyelidlessness on Sunday January 03, 2021 @11:47AM
(#25622857)
Minification isn’t necessarily pointless, depending on the tooling used. While the JS doesn’t have a wire cost, it does have a parsing and execution cost. Optimizing compilers like (say) Google Closure Compiler can significantly improve runtime cost, which is definitely a benefit for extension users.
That said, any extension using those tools without source code available and build verification should definitely be viewed with suspicion.
And why is this? Unless the extension source is already public, I don't see any reason why anyone would not use obfuscation