Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from source / validating existing builds, as a non-developer (or non-web-developer) #339

Open
magicgoose opened this issue Sep 8, 2024 · 2 comments

Comments

@magicgoose
Copy link

The addon is distributed via e.g. addons.mozilla.org, this is great.
However, on their page, as an uneducated user, I see "This add-on is not actively monitored for security by Mozilla. Make sure you trust it before installing." and there is no clear path to "make sure I trust it".

Scoring the "recommended" status by Mozilla (like, for example, any of these) would be fantastic, but in the meantime:

What is the easiest way, that an (almost) non-technical user can also do, to install this add-on while guaranteeing that the build will correspond to the published source code?

@rich-hansen
Copy link
Contributor

What is the easiest way, that an (almost) non-technical user can also do, to install this add-on while guaranteeing that the build will correspond to the published source code?

There is nothing you need to do to ensure the build matches the published source code. Almost any build of the extension will work, the verification that happens is not tied to the specific extension build, but the build of the website and that verification will be done by the extension for any build that we release.

The reason why I say almost any, is because we sometimes add additional verification checks, that only work on version of the extension where we add that support or subsequent releases. The only thing you should be concerned about is keeping the extension up to date. We should handle the rest.

@magicgoose
Copy link
Author

magicgoose commented Sep 12, 2024

Hmm I am not sure we are talking about the same thing. I was trying to ask about verifying the add-on itself - verifying the assumption that it is made out of the code at git@github.com:facebookincubator/meta-code-verify.git with no other concealed changes on top of it. Which is not obvious when installing it from https://addons.mozilla.org/nl/firefox/addon/code-verify
Like, for example, if the Mozilla account that uploads the addon is hacked, there will be no way for the user to notice?
Or is there some signature check in place that will prevent publishing altered code using stolen credentials of Mozilla account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants