Git Product home page Git Product logo

dependency-checker's Introduction

Dependency-Checker

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.

alt image


Installation:

git clone https://github.com/notmarshmllow/Dependency-Checker.git
cd Dependency-Checker
python3 dependency_checker.py -h

Configuration

  1. Open cred.py file and enter your GitHub account's email address and password in respective fields.
'login': '[email protected]',                      
'password': 'your-github-account-password-here', 

Commands

Scan files in single Repository

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.

Scan an entire Organization

Note: Organization name should match the excat organization name on GitHub

python3 dependency_checker.py -org google

Verbose Mode

python3 dependency_checker.py -org google -v

Limit Pages to Scan

Limit the amount of pages to scan while scanning an entire organization. (Default: 100 Pages)

python3 dependency_checker.py -org google -p 20

Output to a file

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.