Update: some of the details in the plan (particularly the timeline) have changed since this post was published. Please refer to this documentation page for the latest information.
This year will bring big changes for add-on development, changes that we believe are essential to safety and performance, but will require most add-ons to be updated to support them. I’ll start with extension signing, which will ship earlier, and cover other changes in an upcoming post.
The Mozilla add-ons platform has traditionally been very open to developers. Not only are extensions capable of changing Firefox in radical and innovative ways, but developers are entirely free to distribute them on their own sites, not necessarily through AMO, Mozilla’s add-ons site. This gives developers great power and flexibility, but it also gives bad actors too much freedom to take advantage of our users.
Extensions that change the homepage and search settings without user consent have become very common, just like extensions that inject advertisements into Web pages or even inject malicious scripts into social media sites. To combat this, we created a set of add-on guidelines all add-on makers must follow, and we have been enforcing them via blocklisting (remote disabling of misbehaving extensions). However, extensions that violate these guidelines are distributed almost exclusively outside of AMO and tracking them all down has become increasingly impractical. Furthermore, malicious developers have devised ways to make their extensions harder to discover and harder to blocklist, making our jobs more difficult.
We’re responsible for our add-ons ecosystem and we can’t sit idle as our users suffer due to bad add-ons. An easy solution would be to force all developers to distribute their extensions through AMO, like what Google does for Chrome extensions. However, we believe that forcing all installs through our distribution channel is an unnecessary constraint. To keep this balance, we have come up with extension signing, which will give us better oversight on the add-ons ecosystem while not forcing AMO to be the only add-on distribution channel.
Here’s how it will work:
- Extensions that are submitted for hosting on AMO and pass review will be automatically signed. We will also automatically sign the latest reviewed version of all currently listed extensions.
- Extension files that aren’t hosted on AMO will have to be submitted to AMO for signing. Developers will need to create accounts and a listing for their extension, which will not be public. These files will go through an automated review process and sent back signed if all checks pass. If an add-on doesn’t pass the automated tests, the developer will have the option to request the add-on to be manually checked by our review team. A full review option will also be available for non-AMO add-ons, explained further ahead.
- For extensions that will never be publicly distributed and will never leave an internal network, there will be a third option. We’ll have more details available on this in the near future.
- There will be a transition period of two release cycles (12 weeks total) during which unsigned extensions will only generate a warning in Firefox.
- After the transition period, it will not be possible to install unsigned extensions in Release or Beta versions of Firefox. There won’t be any preferences or command line options to disable this.
- Installation of unsigned extensions will still be possible on Nightly and Developer Edition, as well as special, unbranded builds of Release and Beta that will be available mainly for developers testing their extensions.
All Firefox extensions are affected by this change, including extensions built with the Add-ons SDK. Other add-on types like themes and dictionaries will not require signing and continue to install and work normally. Signature verification will be limited to Firefox, and there are no plans to implement this in Thunderbird or SeaMonkey at the moment.
What this means for developers
For developers hosting their add-ons on AMO, this means that they will have to either test on Developer Edition, Nightly, or one of the unbranded builds. The rest of the submission and review process will remain unchanged, except that extensions will be automatically signed once they pass review.
For other developers, this is a larger change. For testing development versions, they’ll have the same options available as AMO add-on developers. For release versions, however, we’re introducing the required step of uploading the extension file to AMO for signing. For most cases, this step will be automatic, but in cases where the extension doesn’t pass these tests, there will be the option to request a manual code review.
In the case of developers who want their extensions to be side loaded (installed via an application installer rather than using the usual Web install method) the review bar will be higher, equal to fully reviewed add-ons on AMO (with the exception of AMO content restrictions). This is a convenient installation avenue for software that comes bundled with an extension, for example an antivirus application that includes a Firefox extension that interacts with it.
One important improvement that signing brings about is that the extension install experience will be renewed and improved. Extensions that meet the full review standard will have a smoother and friendlier install experience, regardless of where they’re hosted. Here’s an early mockup of how this will work:
The plan is to have this system working, at least in the transition stage, in Q2 this year. So, we will probably introduce extension signing warnings on Firefox 39.
Discussion
We welcome comments on this post, but if you want to debate the merits of this plan, please do so in the add-ons user experience list. That’s where the people driving the project will read and respond to your concerns.
Onno Ekker wrote on
Jorge Villalobos wrote on
Monica wrote on
Perfect Slayer wrote on
Jorge Villalobos wrote on
Mathieu wrote on
Jorge Villalobos wrote on
Mathieu wrote on
Mindaugas J wrote on
Jorge Villalobos wrote on
Wolfgang Marcos wrote on
R Kent James wrote on
Gary5 wrote on
Tyler wrote on
Mathieu wrote on
tomitu wrote on
ShEsHy wrote on
Jice wrote on
Dan Veditz wrote on
Viktor wrote on
Gary5 wrote on
Michael Kaply wrote on
Mathieu wrote on
Jorge Villalobos wrote on
Will wrote on
James Edward Lewis II wrote on
Jorge Villalobos wrote on
Mikhoul wrote on
Jorge Villalobos wrote on
ShEsHy wrote on
Jorge Villalobos wrote on
Mike wrote on
Frederic Bezies wrote on
Ryan Nematz wrote on
Jorge Villalobos wrote on
Mike Harris wrote on
Dan Veditz wrote on
st wrote on
Frederic Bezies wrote on
Daniel Miranda wrote on
Adam Novak wrote on
Joshua Rodman wrote on
Alexander wrote on
Mikhoul wrote on
ANDY wrote on
Jorge Villalobos wrote on
Viktor wrote on
Jorge Villalobos wrote on
Mathieu wrote on
Ronnie wrote on
Jorge Villalobos wrote on
greg wrote on
Frederic Bezies wrote on
Mikhoul wrote on
Mikhoul wrote on
Alex wrote on
Erik Harris wrote on
Jorge Villalobos wrote on
puck wrote on
Jorge Villalobos wrote on
st wrote on
Adam Novak wrote on
Daniel Miranda wrote on
Adam Novak wrote on
Michael Kovarik wrote on
Frederic Bezies wrote on
Vladmir wrote on
Jorge Villalobos wrote on
Gary5 wrote on
Jean wrote on
Anon wrote on
Mike wrote on
Kohei Yoshino wrote on
Jorge Villalobos wrote on
mcdavis wrote on
Jorge Villalobos wrote on
Anonymous wrote on
Jorge Villalobos wrote on
Boris Gjenero wrote on
Patrick Huy wrote on
Jorge Villalobos wrote on
Disappointed wrote on
Jörg Behrmann wrote on
Adam Bolte wrote on
nik wrote on
Jorge Villalobos wrote on
someone wrote on
Jorge Villalobos wrote on
Joshua Rodman wrote on
Jorge Villalobos wrote on
Joshua Rodman wrote on
Jorge Villalobos wrote on
finger wrote on
mcdavis wrote on
Jorge Villalobos wrote on
Dwyn wrote on
Jorge Villalobos wrote on
Dwyn wrote on
Jorge Villalobos wrote on
Dwyn wrote on
Mikhoul wrote on
Jorge Villalobos wrote on
SammysHP wrote on
Jorge Villalobos wrote on
SammysHP wrote on
Jorge Villalobos wrote on
Minh Nguyễn wrote on
Jorge Villalobos wrote on
Yaqoob Jamil wrote on
Mathieu wrote on
toady wrote on
Jorge Villalobos wrote on
toady wrote on
Jorge Villalobos wrote on
toady wrote on
Michael Kaply wrote on
Jim wrote on
st wrote on
bobby wrote on
Mathieu wrote on
st wrote on
Piro wrote on
Jorge Villalobos wrote on
Piro wrote on
Jorge Villalobos wrote on
Piro wrote on
Michael Kaply wrote on
Piro wrote on
Michael Kaply wrote on
mw wrote on
Will wrote on
nicu wrote on
AnonCoward wrote on
Emiliano Heyns wrote on
AnonCoward wrote on
AnonCoward wrote on
Nils Maier wrote on
Jorge Villalobos wrote on
Nils Maier wrote on
Jorge Villalobos wrote on
Anonymous wrote on
Jorge Villalobos wrote on
lee wrote on
Samuel Bronson wrote on
Daniel Miranda wrote on
Daniel Miranda wrote on
Jice wrote on
peha wrote on
Capt wrote on
blah wrote on
Bohwaz wrote on
Jorge Villalobos wrote on
anonymous wrote on
Jorge Villalobos wrote on
Richard Neill wrote on
Anonymous wrote on
Robert wrote on