/security-tools

security tools for docker, npm and ip checks

Primary LanguagePythonMIT LicenseMIT

Python Code style: black

This script will help you check the docker image (by calculating the manifest hash and layers) against the hash listed on the site (docker hub, quay, etc.). Example usage:

python docker_verify.py bitnami/postgresql:15.2.0 bitnami.tar

This script will help you check the npm tarball file(s) (by calculating the tarball file hash) against the hash listed on the registry.npmjs.org. Example usage:

python npm_verify.py -f chalk-5.2.0.tgz

A script for determining whether an IP address belongs to a country (based on abusepdb api)

python ip_checker.py -f ips.txt