Giter Club home page Giter Club logo

dirtycommit's Introduction

DirtyCommit

Free vulnerability scanner for Linux kernel source code

DirtyCommit is the first git-based vulnerability scanner for Linux kernel source code, as far as I know, there is no project similar to DirtyCommit. DirtyCommit uses git commits list of Linux-based kernel repo. every Linux-based project could enjoy DirtyCommit, by just running this simple script, you will be able to know which vulnerabilities exist in your project.

How it Works

DirtyCommit uses Linux_kernel_cves project which tracks Linux kernel vulnerability from several different data streams and collects them all into a single repo. DirtyCommit compares all vulnerable commits and fix commits to detect which commit doesn't have been fixed yet.

Features

  • Search for any Linux-based kernel repo (e.g. Ubuntu, Debian, Yocto, etc.)
  • Lookup for known vulnerabilities
  • Show vulnerabilities detailed

Tech

DirtyCommit uses a number of open-source projects to work properly:

And of course, DirtyCommit itself is an open-source repository on GitHub.

Installation and Updateing

DirtyCommit is easy to install tool

Install the dependencies.

git clone https://github.com/dcland/DirtyCommit.git
cd DirtyCommit
pip install -r requirements.txt
git clone --recursive --jobs 8 https://github.com/nluedtke/linux_kernel_cves.git

Updateing

Updating the CVE database, is done by running the update command

python DirtyCommit.py --update

How To Use

Just run the following command on a local git repo of linux kernel

python DirtyCommit.py -f PATH_TO_FOLDER

Development

Want to contribute? Let's go!

DirtyCommit welcomes everyone who wants to collaborate and add more features

License

MIT

dirtycommit's People

Contributors

dcland avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.