Giter Site home page Giter Site logo

moloch-- / csp-bypass Goto Github PK

View Code? Open in Web Editor NEW
158.0 14.0 40.0 140 KB

A Burp Plugin for Detecting Weaknesses in Content Security Policies

License: GNU General Public License v3.0

Python 98.76% Shell 0.83% Batchfile 0.41%
burp-plugin csp content-security-policy security

csp-bypass's Introduction

Principal Consultant & Red Team Lead at Bishop Fox. I work on mostly security related projects in Go, Python, and TypeScript.

csp-bypass's People

Contributors

moloch-- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csp-bypass's Issues

Deprecated CSPs directives

Hi,
I noticed that some CSP directives reported by this extender are obsolete, and are reported by your tool. Is it possible to update this extender accordingly?

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

This was removed from CSP2, never added to CSP3, and will not ship in any other browser. We should remove it, as it is completely redundant with X-XSS-Protection, which is never going away.

Thanks

Similar Burp extension

Hi Joe,
This is a simple notification to let you know that I have built a very similar extension. Both have passive rules to analyze CSP header(s).
I initially start the extension to have a readable View of the header in the response tab then I added some passive rules.

Anw, I not here to say that I am competing with your extension. I think that solely base on the fact that it was developed in Python could be useful for some people. I also saw that the passive rules are not exactly the same.

Finally, I am not close to exchanging information and contributions. Here are some list that am using to identify bad hosts configured (additional host to ajax.googleapis.com):

Also, I have submitted the extension just over a month ago for the Bapp Store.. I have no idea it will be accepted.

Bapp store build/Submission

Just a suggestion - it would be cool to submit this to the Bapp store so it can be seamlessly installed from within the Burp environment by just clicking on it and all that :)

Missing project license

It is currently unclear what are the permissions when it comes to this project because there is no license defined, which makes it difficult to determine how to properly make adaptive works from this project. Could it be possible to add one, @moloch--?

Lack of Support for Depreciated xhr-src

While using this library in another project I noticed it throws a ValueError when a CSP makes use of the xhr-src directive.

According to MDN:

Prior to Firefox 23, xhr-src was used in place of the connect-src directive and only restricted the use of XMLHttpRequest.

Any interest in adding support for this?

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.