A tool to find Dependency Confusions inside a repository or an entire organization on GitHub. Provide it name of organization or repository URL and it will run checks whether the dependencies used exist in public database or not. Dependency Checker checks for valid Python (Pypi), NPM and GoLang Packages.
Note: The tool is still in development phase. It might generate some false positives while scanning Packages.
git clone https://github.com/notmarshmllow/Dependency-Checker.git
cd Dependency-Checker
python3 dependency_checker.py -h
- Open
cred.py
file and enter your GitHub account's email address and password in respective fields.
'login': 'your-github-account@email.here',
'password': 'your-github-account-password-here',
python3 dependency_checker.py -u https://github.com/notmarshmllow/nonsense
Note: -u
scans only files in repository. If you want to scan files inside folders in a repository, provide URL of the destination where the files exists.
Note: Organization name should match the excat organization name on GitHub
python3 dependency_checker.py -org google
python3 dependency_checker.py -org google -v
Limit the amount of pages to scan while scanning an entire organization. (Default: 100 Pages)
python3 dependency_checker.py -org google -p 20
python3 dependency_checker.py -org google -v -o output.txt
All developments to the tool are welcomed and highly appreciated. Please feel free to open an issue for bug fixes and new features.
Dependency Checker - Created by @notmarshmllow