• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    JavaScript
  • License
    Mozilla Public Li...
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Because good website security shouldn't only be available to mad scientists!

Laboratory

Laboratory is a Firefox and Chrome WebExtension that helps you generate a proper Content Security Policy (CSP) header for your website. Simply start recording, browse your site, and enjoy the CSP header that it produces:

Preview Image

Laboratory requires Firefox 57 (Quantum) to function properly.

Developing and Installing Locally

It is recommend that developers use web-ext for installation and testing. It provides a number of useful features, such as automated installation and autoreload upon source changes. For testing and development, run npm install and then run the following commands in two separate terminal windows:

$ npm run watch
$ npm run start

This will launch it in both Firefox and Chrome simultaneously. You can run npm run start:firefox or npm run start:chromium if you wish to launch it only in a single browser.

Lastly, for a "production" release, run:

$ npm install
$ NODE_ENV=production npm run build
$ zip dist/laboratory.src.zip *.md config package* src

More Repositories

1

certainly-something

WebExtension that shows certificate chains in an aesthetically pleasing manner.
JavaScript
91
star
2

cryptonom-icon

Freely available cryptographic iconography
HTML
66
star
3

decklist

The code behind decklist.org, which generates DCI Registration Sheets.
JavaScript
45
star
4

picoca

PicoCA is a simple CA intended for use for educational and self-hosting purposes.
Python
24
star
5

tls-table

Generates mappings between IANA TLS hex values and their corresponding cipher names in GnuTLS, NSS, and OpenSSL
Python
23
star
6

badsite.io

badsite.io is intended for manual testing of web security in clients and test tolos
HTML
18
star
7

crypto-presentation

Crypto presentation to be used at Mozilla and elsewhere
JavaScript
15
star
8

codelesscode-recipe

Calibre recipe for thecodelesscode.com
Python
7
star
9

security-report-card

WebExtension that the Mozilla Observatory to scan sites and determine how secure they are.
JavaScript
6
star
10

textual-theme-Equinox

A series of updates to the nox theme from Textual 5
JavaScript
6
star
11

mtg-counters

Python
4
star
12

websec-presentation

Presentation on the History of Web Security at Paris-Web 2018 (and maybe others)
JavaScript
4
star
13

alexcam

A little HTML5-based webcam system, with delays and other nifty effects.
JavaScript
4
star
14

pyinfo

Python version of phpinfo(). If there's any evil I'll be remembered for, it's this.
Python
3
star
15

mtgspoilerbot

The code behind @MTGSpoilerBot
Python
2
star
16

revorb

Remake of the ancient revorb for ww2ogg
C++
1
star
17

pubconf-presentation

Presentation for pubconf.io in Minneapolis
CSS
1
star