Skip to content

viralvaghela/dependency_confusion_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dependency_confusion_checker

A tool to check dependency confusion vulnerability.

What is Dependency Confustion? A Dependency Confusion attack or supply chain substitution attack occurs when a software installer script is tricked into pulling a malicious code file from a public repository instead of the intended file of the same name from an internal repository.

For more info read this article

usage: dependency_confusion_checker.py [-h] [-w WRITE] [-t {outdated,updated,phantom}] [-q] [-cv] url

Dependency Confusion Checker

positional arguments:
  url                   URL of package.json file.

optional arguments:
  -h, --help            show this help message and exit
  -w WRITE, --write WRITE
                        Write output to a file. (default = stdout)
  -t {outdated,updated,phantom}, --type {outdated,updated,phantom}
                        Write only certain type of packages to file. (default = all)
  -q, --quiet           Suppress output
  -cv, --check-vulns    Check packages for known vulnerabilities (default = off)

Releases

No releases published

Packages

No packages published

Languages