mozilla / extension-workshop

Firefox Extension Workshop
https://extensionworkshop.com
96 stars 129 forks source link

Security Checklist #31

Closed jvehent closed 5 years ago

jvehent commented 5 years ago

Risk Management

Infrastructure

Development

Dual Sign Off

Logging

Web Applications

Security Features

Databases

Common issues

caitmuenster commented 5 years ago

@psiinon, I think we're good to close this out. Can you confirm? :)

psiinon commented 5 years ago

@caitmuenster its looking pretty good :) Just a couple of outstanding issues:

Updated to ping the right person, sorry about that Bob :/

bqbn commented 5 years ago

no CSP report-uri set - is this something you can add?

@psiinon does static sites must have "report-uri" per secops standard?

Current Ops model for hosting a static website only contains cloudfront, edge lambda and s3 components. "report-uri" means that we very likely need to introduce an ELB and EC2 instances just to host the "report-uri" endpoint. It then requires logging, monitoring and etc.

That said, we can add it if it's a hard requirement, and we'd like to skip setting it if it's not mandatory.

none of the release tags seem to be signed - can you sign future ones?

We haven't cut any official release tags yet. Existing ones are for testing deployments only and can be removed in a later time.

Future official releases should be signed by whoever releases them.

muffinresearch commented 5 years ago

@psiinon I don't know that we're signing releases for libs elsewhere in every case - is that a hard requirement?

I'd expect most releases will be done by cutting tags via the github UI. Even if that means it's signed because github creates that tag it does also mean anyone with write perms can release.

psiinon commented 5 years ago

@bqbn I'd have thought we'd want a report-uri defined in case the CSP breaks something. Tbh thats more of a development concern than a security one.

@hwine how hard a requirement is signing releases on github?

bqbn commented 5 years ago

@psiinon thx for the clarification. I'm OK without report-uri then (from Ops perspective). @muffinresearch let me know if you think we need one from dev perspective.

Nevertheless, it doesn't sound like "report-uri" is a blocking factor for the release, e.g. we can file a bugzilla to add it if we decide to have it in the future. Also our other static site extensionschallenge.com doesn't have it.

hwine commented 5 years ago

@psiinon signing (commit, tag, release) is only a recommended action at this time. There are a number of pitfalls in using signing, and extra tooling needed to support it.

I'm happy to take suggestions on how to better reflect that in the "docs".

muffinresearch commented 5 years ago

@psiinon is there anything else from a security perspective that needs addressing before this issue can be closed out?

psiinon commented 5 years ago

@muffinresearch I'm good with closing this out now :)

caitmuenster commented 5 years ago

Thanks, @psiinon!