Giter Site home page Giter Site logo

srcclr / security-headers Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 4.31 MB

This is a plugin to https://discourse.org that allows you to grade your websites HTTP security headers and collects data about how the the top 10,000 sites implement them.

License: MIT License

Ruby 58.05% HTML 24.71% JavaScript 11.60% CSS 4.47% Shell 1.16%
alexa grade scans

security-headers's People

Contributors

arthurzaharov avatar calebfenton avatar codelion avatar malnick avatar ramil350 avatar steve-ng avatar yeremeyev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fs pombredanne

security-headers's Issues

Add the following headers

Refer to the disc here

Can we see how we can add the following HTTP headers to the tool as well. @CalebFenton will provide with the scoring guide for them.

  • Access-Control-Allow-Origin
  • X-Powered-By
  • Content-Type: text/html; charset=utf-8
  • Server

Add ability to get email reports

Refer to the disc here

We need to add the ability for users to be able to register a domain of their choice and receive daily/weekly/monthly emails for reports with grade.

Should reject invalid CSP headers

We need to parse and check if the CSP header set on the site is valid, if it is not valid then we cannot score the individual directives.

Handle SSL enabled sites differently

Refer to the disc here

We should scan the domains in the following way

  • First try to access http://domain.com, if that redirects to https then scan and grade as we do now
  • If that doesn't redirect to https then instead of reporting Missing Strict-Transport-Security we can report TLS/SSL is not enabled (The connection to this web server is vulnerable to man-in-the-middle and eavesdropping attacks.). And still score it the same way as a missing HSTS header.
  • If the user enters the full URL with https then we just scan that directly, if the user enters the full URL as http we do the same as above.

https://open.srcclr.com — 503 Service Unavailable

https://open.srcclr.com returns a 503 Service Unavailable error:

Python Error:

ProxyError: HTTPSConnectionPool(host='open.srcclr.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 503 Service Unavailable',))) (file "/usr/lib/python2.7/site-packages/requests/adapters.py", line 465, in send)

Chrome Error:

This site can’t be reached

The webpage at https://open.srcclr.com/ might be temporarily down or it may have moved permanently to a new web address.
ERR_TUNNEL_CONNECTION_FAILED

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.