Skip to content

An extension to use Semgrep inside Burp Suite.

License

Notifications You must be signed in to change notification settings

PortSwigger/semgrepper

 
 

Repository files navigation

▶️ Semgrepper

The current project provides a Burp Suite extension to allow users to include Semgrep results to extend the checks in use by the passive scanner. By visiting repositories that collect Semgrep rules, it is possible to verify the large number of rules related to the front-end environment written by the community, such as: https://github.com/returntocorp/semgrep-rules/tree/develop/javascript.

By using this plugin, Burp Suite users can include the Semgrep rules YAML files and define the scope of the analysis, as shown in the following screenshot:

semgrepper2

Main features

This is what Semgrepper implements:
   ✔️ multiple tabs to use different Semgrep rules with different scopes
   ✔️ select files or directories containing Semgrep rules in YAML format
   ✔️ define a scope by specifing what can be or not be present in the response header/body
   ✔️ deactivate the checks without unloading the plugin

Prerequisites

The plugin needs that Semgrep CLI is installed in your machine.
Please, follow these instructions to install Semgrep:

  • For Ubuntu, Windows through Windows Subsystem for Linux (WSL), Linux, macOS

    python3 -m pip install semgrep

  • For macOS

    brew install semgrep

Special thanks

Current status

License Compatibility
GNU v3 Python 3

About

An extension to use Semgrep inside Burp Suite.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.8%
  • HTML 2.2%