Skip to content

vuln-regex-detector

Actions
This is an action to detect vulnerable regular expressions in a pull request
v1.0.3
Latest
Star (1)

vrd

A GitHub action to detect vulnerable regex in a pull request.

Usage

Add the following to your workflow configuration:

...
      - name: Checkout repository
        uses: actions/checkout@v2
        with: 
          fetch-depth: '0'
          
      - name: Scan for redos
        uses: meekdenzo/[email protected]
...

Note that fetch-depth: '0'

Example

Your full basic workflow should look something like this:

name: vuln-regex-detector
on: [workflow_dispatch]
jobs:
  build:
    name: Scan for redos
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with: 
          fetch-depth: '0'
 
      - name: Scan for redos
        uses: meekdenzo/[email protected]

vuln-regex-detector is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This is an action to detect vulnerable regular expressions in a pull request
v1.0.3
Latest

vuln-regex-detector is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.