I think they also offer scanning for repositories on https://hub.docker.com/account/billing-plans/ but only if you pay.
> Docker Cloud and Docker Hub can scan images in private repositories to verify that they are free from known security vulnerabilities or exposures, and report the results of the scan for each image tag https://docs.docker.com/docker-cloud/builds/image-scan/