nodejsscan is a static security code scanner that detects vulnerabilities in Node.js applications through a web UI, CLI, and API.
nodejsscan is a static security code scanner for Node.js applications.
This tool is primarily used by developers and security professionals to identify security flaws in Node.js codebases before deployment. It integrates into DevSecOps pipelines to automate security scanning and provides alerts via Slack and email for continuous monitoring.
Windows support was dropped from version 4 onwards; users should run nodejsscan on Linux or macOS. Proper configuration of PostgreSQL and environment variables is required for smooth operation. Integrations with Slack and email require setting up respective webhook URLs and SMTP settings. Using Docker is recommended for easier deployment and isolation.
Install PostgreSQL and configure SQLALCHEMY_DATABASE_URI in nodejsscan/settings.py or as an environment variable
Clone the repository: git clone https://github.com/ajinabraham/nodejsscan.git
Navigate into the directory: cd nodejsscan
Create a Python virtual environment: python3 -m venv venv
Activate the virtual environment: source venv/bin/activate
Install dependencies: pip install -r requirements.txt
Create database schema: python3 manage.py recreate-db (run once)
Run the application: ./run.sh
Access the web UI at http://127.0.0.1:9090
Alternatively, pull and run the Docker image: docker pull opensecurity/nodejsscan:latest
docker pull opensecurity/nodejsscan:latest
Pull the latest Docker image for nodejsscan
docker run -it -p 9090:9090 opensecurity/nodejsscan:latest
Run nodejsscan Docker container exposing web UI on port 9090
git clone https://github.com/ajinabraham/nodejsscan.git
Clone the nodejsscan repository locally
python3 -m venv venv
Create a Python virtual environment
source venv/bin/activate
Activate the Python virtual environment
pip install -r requirements.txt
Install required Python dependencies
python3 manage.py recreate-db
Initialize or recreate the database schema
./run.sh
Start the nodejsscan web user interface locally