Skip to content
 
 

Repository files navigation

NodeJsScan

Static security code scanner (SAST) for Node.js applications.

Configure & Run NodeJsScan

  1. Install Postgres and configure SQLALCHEMY_DATABASE_URI in core/settings.py
  2. Run pip install -r requirements.txt
  3. Run python createdb.py
  4. Run python app.py

This will run NodeJsScan on http://0.0.0.0:9090

If you need to debug, set DEBUG = True in core/settings.py

NodeJsScan CLI

The command line interface (CLI) allows you to integrate NodeJsScan with DevSecOps CI/CD pipelines. The results are in JSON format. When you use CLI the results are never stored with NodeJsScan backend.

virtualenv venv
source venv/bin/activate
(venv)pip install nodejsscan
(venv)nodejsscan 
usage: nodejsscan [-h] [-d DIRECTORY [DIRECTORY ...]] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -d DIRECTORY [DIRECTORY ...], --directory DIRECTORY [DIRECTORY ...]
                        Node.js source code directory to scan
  -o OUTPUT, --output OUTPUT
                        Output file to save JSON report

Learn Node.js Security: Pentesting and Exploitation

OpSecX Video Course

Docker

docker build -t nodejsscan .
docker run -it -p 9090:9090 nodejsscan

DockerHub

docker pull opensecurity/nodejsscan
docker run -it -p 9090:9090 opensecurity/nodejsscan:latest

NodeJsScan Web UI

NodeJsScan V2

Static Analysis

NodeJsScan Static Scan Results NodeJsScan Static Scan Vulnerability Details

About

NodeJsScan is a static security code scanner for Node.js applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages