Vulnerability dependency check for Maven projects
This tool will parse a pom.xml
file, extract all dependencies, and check them
against NIST’s vulnerability database.
OWASP Dependency Check requires
you to be able to build the project maven project, dirty dependency check will work
even when some dependencies are missing (ie. they are in a private repository).
This tool is not a replacement for OWASP Dependency Check,
just a hack to make my life easier during Java application security assessments.
apt-get install maven
)
python dependency-check.py --pom=~/current-project/src/pom.xml --output=vulnerabilities.json
git clone https://github.com/stevespringett/nist-data-mirror.git
cd nist-data-mirror
mvn clean package
cd target
rm -rf mirror/*
mkdir -p mirror
java -jar nist-data-mirror.jar mirror json
cp mirror/*.json.gz ../../dirty-dependency-check/data/