
CERTITUDE - A python package to classify URLs as malicious or benign
All COSSAS projects are hosted on GitLab with a push mirror to GitHub. For issues/contributions check CONTRIBUTING.md
Getting StartedCertitude requires whois, which may not be available on some systems, and is thus distributed as a docker image.
If whois is available it can also be installed as a python package, see the development section below.
# pull image from registry
docker pull registry.gitlab.com/cossas/certitude:latest
# print help
docker run -it registry.gitlab.com/cossas/certitude:latest
# example perform training from data in local directory
docker run -it -v $(pwd)/tests/data:/data registry.gitlab.com/cossas/certitude:latest --train /data/newmodel -d /data/testset_labeled.csv
# example performing classification of a url with the trained model
docker run -it -v $(pwd)/tests/data:/data registry.gitlab.com/cossas/certitude:latest --model /data/newmodel --url https://www.tno.nl
DevelopmentTo start developing this package, follow these steps:
git clone this project, ensuring you do that in the WSL filesystem. Run cd to
ensure you're in the WSL home directorycd into the just cloned directorycode . to start VS Codepoetry install, poetry shell and finally
poetry run pre-commit installCheckout the code flow here
To see some useful commands and to test the code you can check the makefile:
make demo
ContributingContributions to CERTITUDE are highly appreciated and more than welcome. Please read CONTRIBUTING.md for more information about our contributions process.
Maintainance statusThis project has been developed until TRL4 and is currently not actively maintained. We envision the following steps to raise the TRL from 4 to 6: