Desktop Firefox has had extensions for years and I've never seen it become malware.
Firefox stable will not install add-ons from outside the Mozilla add-ons site by default
(Yes, as a developer, you can just add extensions, or as company, you can add your own certificate.