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.
Tom Schuster
wrote on
Jorge Villalobos
wrote on
Daniel Miranda
wrote on
Tom Schuster
wrote on
Jorge Villalobos
wrote on
Tom Schuster
wrote on
Jorge Villalobos
wrote on
michaelw
wrote on
Anon
wrote on
Jorge Villalobos
wrote on
Daniel Miranda
wrote on
Denis Kasak
wrote on
mx
wrote on
mvario
wrote on
Mark A. Ziesemer
wrote on
DegenarateSpyInfestation
wrote on
Adam Novak
wrote on
Jorge Villalobos
wrote on
CH
wrote on
Axel Grude
wrote on
haha
wrote on
Daniel Miranda
wrote on
Another User
wrote on
Carlos
wrote on
Josef
wrote on
Jorge Villalobos
wrote on
Daniel Miranda
wrote on
Rintoul
wrote on
Anon
wrote on
Jorge Villalobos
wrote on
Anon
wrote on
tastic
wrote on
Anonymous
wrote on
catdog2
wrote on
oiaohm
wrote on
Rory O’Kane
wrote on
Daniel Miranda
wrote on
Chris
wrote on
Adrien
wrote on
Anon
wrote on
Andrew McGlashan
wrote on
Paolo Inaudi
wrote on
tomitu
wrote on
Elessar
wrote on
Feng
wrote on
Jorge Villalobos
wrote on
Jean
wrote on
Jorge Villalobos
wrote on
Mikhoul
wrote on
Jorge Villalobos
wrote on
Andrew McGlashan
wrote on
Samuel J. Sanchez
wrote on
Jorge Villalobos
wrote on
Samuel J. Sanchez
wrote on
Derry Shribman
wrote on
Jorge Villalobos
wrote on
Daniel Miranda
wrote on
Jorge Villalobos
wrote on
Viktor
wrote on
Jorge Villalobos
wrote on
Daniel Miranda
wrote on
Daniel Miranda
wrote on
Project LibX
wrote on
Mikhoul
wrote on
Jaroslav Škarvada
wrote on
Firwen
wrote on
Vadim
wrote on
Jorge Villalobos
wrote on
heilage
wrote on
Jorge Villalobos
wrote on
Anonymous
wrote on
Jorge Villalobos
wrote on
Anonymous
wrote on
Jorge Villalobos
wrote on
Some Name
wrote on
Jorge Villalobos
wrote on
oiaohm
wrote on
Aris
wrote on
Jorge Villalobos
wrote on
Aris
wrote on
Dan
wrote on
Dan
wrote on
Jorge Villalobos
wrote on
Dan
wrote on
Jorge Villalobos
wrote on
Jorge Villalobos
wrote on
Dan
wrote on
Noitidart
wrote on
Dan
wrote on
Aris
wrote on
SPACED
wrote on
Priscilla
wrote on
Alsee
wrote on
someone
wrote on
someone
wrote on
Jorge Villalobos
wrote on
Gerrit
wrote on
Jorge Villalobos
wrote on
Michaela Merz
wrote on
Jay
wrote on
Petr
wrote on
TheWrongThing
wrote on
Jean
wrote on
Pavel Cvrček
wrote on
Jorge Villalobos
wrote on
nope
wrote on
Noitidart
wrote on
Jorge Villalobos
wrote on
j
wrote on
Noitidart
wrote on
Anonymous
wrote on
LJean
wrote on
Jehan
wrote on
Axel Grude
wrote on
Jorge Villalobos
wrote on
j.
wrote on
Angly Cat
wrote on
Jorge Villalobos
wrote on
Angly Cat
wrote on
Michael Kaply
wrote on
Angly Cat
wrote on
Jorge Villalobos
wrote on
Michael Kaply
wrote on
Angly Cat
wrote on
Jorge Villalobos
wrote on