17

Node.jsScan: A semantic aware static code analysis tool for Node.js applications

 4 years ago
source link: https://github.com/ajinabraham/nodejsscan
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

nodejsscan

Static security code scanner (SAST) for Node.js applications powered by njsscan and semgrep .

Made with 82e3a63c-4813-11e6-9430-6015d98aeaab.png in India

e-Learning Courses & Certifications

B7baI3m.png!webOpSecX Node.js Security: Pentesting and Exploitation - NJS

Run nodejsscan

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

Try nodejsscan online:

Setup nodejsscan locally

Install Postgres and configure SQLALCHEMY_DATABASE_URI in nodejsscan/settings.py or as environment variable.

From version 4 onwards, windows support is dropped.

git clone https://github.com/ajinabraham/nodejsscan.git
cd nodejsscan
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py recreate_db # Run once to create database entries

To run nodejsscan

./run.sh

This will run nodejsscan web user interface at http://127.0.0.1:9090

Command Line Interface(CLI) and Python API

Vfuq2am.gif

Integrations

Slack Alerts

Create your slack app Slack App and set SLACK_WEBHOOK_URL in nodejsscan/settings.py or as environment variable.

ieY77bn.png!web

Email Alerts

Configure SMTP settings in nodejsscan/settings.py or as environment variable.

Github Action

Build Docker image

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

nodejsscan screenshots

J3aAnmN.png!webmMf67vB.png!webe6rMV3Y.png!webUJBNVra.png!webB3Mb6fV.png!web


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK