Skip to content

DuarteSJ/js_vulnerability_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Analyzer

A tool made in Python for finding vulnerabilities in JavaScript code.

Quick Start

  1. Set up the virtual environment:

    python -m venv analyser_env
    source analyser_env/bin/activate  # Unix/macOS
    # or
    .\analyser_env\Scripts\activate   # Windows
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the analyzer:

    cd js_analyzer
    python js_analyser.py <program>.js <program>.patterns.json

The output will be in js_analyzer/output/<program>.output.json

Running Tests

Execute tests with:

cd js_analyzer
python run_test.py

Test cases are located in the tests/ directory (T58-01 through T58-12). These are the tests added to test additional features beyond the project's requirements.

About

A tool made in Python for finding vulnerabilities in JavaScript code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •