Git Product home page Git Product logo

xss-radar's Introduction

XSS Radar is a tool that detects parameters and fuzzes them for cross-site scripting vulnerabilities.
It's also the first tool developed by the Bug Bounty Forum community!

How do I install it?

At present, we're only supporting the widely used Google Chrome. We hope to support Firefox in the future.

  1. First, git clone https://github.com/bugbountyforum/XSS-Radar
  2. Visit chrome://extensions/
  3. Enable Developer Mode via the checkbox
  4. Select "Load Unpacked Extension"
  5. Finally, locate and select the extension folder

How do I use it?

Visit a target page, open the extension and select Fuzz! Screenshot of extension Fuzz window

How do I contribute?

  • If you're a Bug Bounty Forum member, please drop @smiegles a message so you can start contributing.
  • If not, feel free to get in touch via Twitter!

Contexts and tests

We've developed contexts โ€“ and their respective tests โ€“ in a fully modular fashion. By doing so, we've made it easy to contribute new methodologies to Radar's Scanner module.

Contexts are found in contexts.js (inside extension/src/payloads/). Upon fuzzing, the Scanner searches for applicable contexts on the target and deploys the right payloads. For instance, link-based XSS bugs often rely on injection within the href attribute, so we've added a context which specifically matches against these:

{
    'type': 'a', // link/anchor type
    'matches': ['href'], // URI attribute
    'file': 'link.js' // payload file
}

Tests are found within the playground subdirectory. The XSS Playground contains a variety of cross-site scripting scenarios designed to support development and ensure Radar's effectiveness. At present, we test for classic vectors, JavaScript injection, tag breakouts, and templating vulnerabilities.

Payloads

We've integrated the following XSS payload classes. These can be found in extension/src/payloads.

  • AngularJS template injection
    • All versions with a vulnerable Expression Sandbox are supported
  • Link-based URIs
  • Script injections
  • Generic tag strings

Who made this?

This tool is a Bug Bounty Forum project with the following contributors:

  • Ibram Marzouk
  • Anshuman Bhartiya
  • Rafal Janicki
  • Jack Cable
  • Filipe Reis
  • gradius
  • Olivier beg
  • Yasin Soliman

xss-radar's People

Contributors

smiegles avatar yasins avatar cablej avatar 0xibram avatar

Watchers

 avatar

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.