njsscan

0.4.3 · active · verified Fri Apr 17

njsscan is a Static Application Security Testing (SAST) tool designed to identify insecure code patterns within Node.js applications. It leverages the `semgrep` engine for its scanning capabilities. The library is actively maintained, currently at version 0.4.3, with frequent minor updates focusing on rule improvements, performance, and bug fixes.

Common errors

Warnings

Install

Imports

Quickstart

njsscan is primarily used as a command-line tool. This example demonstrates how to scan a Node.js project located at `./my_nodejs_project` and output the results to a JSON file.

njsscan -p ./my_nodejs_project -o results.json -f json
cat results.json

view raw JSON →